xpcom/tests/unit/data/bug121341.properties

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial