xpcom/tests/unit/data/bug121341.properties

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # simple check
michael@0 2 1=abc
michael@0 3 # test whitespace trimming in key and value
michael@0 4 2 = xy
michael@0 5 # test parsing of escaped values
michael@0 6 3 = \u1234\t\r\n\uAB\
michael@0 7 \u1\n
michael@0 8 # test multiline properties
michael@0 9 4 = this is \
michael@0 10 multiline property
michael@0 11 5 = this is \
michael@0 12 another multiline property
michael@0 13 # property with DOS EOL
michael@0 14 6 = test\u0036
michael@0 15 # test multiline property with with DOS EOL
michael@0 16 7 = yet another multi\
michael@0 17 line propery
michael@0 18 # trimming should not trim escaped whitespaces
michael@0 19 8 = \ttest5\u0020
michael@0 20 # another variant of #8
michael@0 21 9 = \ test6\t
michael@0 22 # test UTF-8 encoded property/value
michael@0 23 10aሴb = c췯d
michael@0 24 # next property should test unicode escaping at the boundary of parsing buffer
michael@0 25 # buffer size is expected to be 4096 so add comments to get to this offset
michael@0 26 ################################################################################
michael@0 27 ################################################################################
michael@0 28 ################################################################################
michael@0 29 ################################################################################
michael@0 30 ################################################################################
michael@0 31 ################################################################################
michael@0 32 ################################################################################
michael@0 33 ################################################################################
michael@0 34 ################################################################################
michael@0 35 ################################################################################
michael@0 36 ################################################################################
michael@0 37 ################################################################################
michael@0 38 ################################################################################
michael@0 39 ################################################################################
michael@0 40 ################################################################################
michael@0 41 ################################################################################
michael@0 42 ################################################################################
michael@0 43 ################################################################################
michael@0 44 ################################################################################
michael@0 45 ################################################################################
michael@0 46 ################################################################################
michael@0 47 ################################################################################
michael@0 48 ################################################################################
michael@0 49 ################################################################################
michael@0 50 ################################################################################
michael@0 51 ################################################################################
michael@0 52 ################################################################################
michael@0 53 ################################################################################
michael@0 54 ################################################################################
michael@0 55 ################################################################################
michael@0 56 ################################################################################
michael@0 57 ################################################################################
michael@0 58 ################################################################################
michael@0 59 ################################################################################
michael@0 60 ################################################################################
michael@0 61 ################################################################################
michael@0 62 ################################################################################
michael@0 63 ################################################################################
michael@0 64 ################################################################################
michael@0 65 ################################################################################
michael@0 66 ################################################################################
michael@0 67 ###############################################################################
michael@0 68 11 = \uABCD

mercurial