xpcom/tests/unit/data/bug121341.properties

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/tests/unit/data/bug121341.properties	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,68 @@
     1.4 +# simple check
     1.5 +1=abc
     1.6 +# test whitespace trimming in key and value
     1.7 +  2	=   xy	
     1.8 +# test parsing of escaped values
     1.9 +3 = \u1234\t\r\n\uAB\
    1.10 +\u1\n
    1.11 +# test multiline properties
    1.12 +4 = this is \
    1.13 +multiline property
    1.14 +5 = this is \
    1.15 +	   another multiline property
    1.16 +# property with DOS EOL
    1.17 +6 = test\u0036
    1.18 +# test multiline property with with DOS EOL
    1.19 +7 = yet another multi\
    1.20 +    line propery
    1.21 +# trimming should not trim escaped whitespaces
    1.22 +8 =	\ttest5\u0020	
    1.23 +# another variant of #8
    1.24 +9 =     \ test6\t	    
    1.25 +# test UTF-8 encoded property/value
    1.26 +10aሴb = c췯d
    1.27 +# next property should test unicode escaping at the boundary of parsing buffer
    1.28 +# buffer size is expected to be 4096 so add comments to get to this offset
    1.29 +################################################################################
    1.30 +################################################################################
    1.31 +################################################################################
    1.32 +################################################################################
    1.33 +################################################################################
    1.34 +################################################################################
    1.35 +################################################################################
    1.36 +################################################################################
    1.37 +################################################################################
    1.38 +################################################################################
    1.39 +################################################################################
    1.40 +################################################################################
    1.41 +################################################################################
    1.42 +################################################################################
    1.43 +################################################################################
    1.44 +################################################################################
    1.45 +################################################################################
    1.46 +################################################################################
    1.47 +################################################################################
    1.48 +################################################################################
    1.49 +################################################################################
    1.50 +################################################################################
    1.51 +################################################################################
    1.52 +################################################################################
    1.53 +################################################################################
    1.54 +################################################################################
    1.55 +################################################################################
    1.56 +################################################################################
    1.57 +################################################################################
    1.58 +################################################################################
    1.59 +################################################################################
    1.60 +################################################################################
    1.61 +################################################################################
    1.62 +################################################################################
    1.63 +################################################################################
    1.64 +################################################################################
    1.65 +################################################################################
    1.66 +################################################################################
    1.67 +################################################################################
    1.68 +################################################################################
    1.69 +################################################################################
    1.70 +###############################################################################
    1.71 +11 = \uABCD

mercurial