|
| 1 | +### |
| 2 | +# NOTE: Some of the test cases use special characters, ":set list" in vi to see them |
| 3 | +### |
| 4 | + |
| 5 | +### |
| 6 | +# TEST SEPARATORS |
| 7 | +### |
1 | 8 | test-colon-separator-1:colon-separator-1 |
2 | 9 | test-colon-separator-2 :colon-separator-2 |
3 | 10 | test-colon-separator-3:colon-separator-3 |
@@ -35,3 +42,120 @@ test-mixed-separators-3 =:mixed-separators-3 |
35 | 42 | test-mixed-separators-4 :=mixed-separators-4 |
36 | 43 | test-mixed-separators-5:= mixed-separators-5 |
37 | 44 | test-mixed-separators-6:=mixed-separators-6 |
| 45 | + |
| 46 | +### |
| 47 | +# TEST COMMENTS |
| 48 | +### |
| 49 | + |
| 50 | +# preceding white space |
| 51 | +# preceding white spaces |
| 52 | +# preceding tab |
| 53 | +# preceding multiple tabs |
| 54 | +# preceding tab and white space |
| 55 | +# preceding tab and white space |
| 56 | +# preceding tab and white spaces |
| 57 | +# preceding tab and white spaces |
| 58 | +# preceding tabs and white spaces |
| 59 | +# preceding tabs and white spaces |
| 60 | + # preceding tabs and white spaces |
| 61 | +# preceding formfeed |
| 62 | + # preceding formfeed and white space |
| 63 | +# preceding formfeed and white space |
| 64 | + # preceding formfeed and white spaces |
| 65 | + # preceding formfeed and white spaces |
| 66 | + # preceding formfeeds and white spaces |
| 67 | + # preceding formfeeds and white spaces |
| 68 | + # preceding formfeeds and white spaces |
| 69 | + |
| 70 | +### |
| 71 | +# TEST COMMENTED VALID PROPERTIES |
| 72 | +### |
| 73 | + |
| 74 | +# name = value |
| 75 | +#name = value |
| 76 | +#name = value |
| 77 | +#name=value |
| 78 | +# name : value |
| 79 | +# name value |
| 80 | +# namevalue |
| 81 | +# namevalue |
| 82 | + |
| 83 | +### |
| 84 | +# TEST SPECIAL CASES |
| 85 | +### |
| 86 | + |
| 87 | += |
| 88 | + = |
| 89 | +== |
| 90 | += = |
| 91 | +: |
| 92 | + : |
| 93 | +:: |
| 94 | +: : |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | +a=b |
| 103 | +b= |
| 104 | +c= |
| 105 | +d= |
| 106 | +e: |
| 107 | +f |
| 108 | +g |
| 109 | +h |
| 110 | +i |
| 111 | +j |
| 112 | +"k=k"="b=b" |
| 113 | +"l=l" ="b=b" |
| 114 | +"m=m"= "b=b" |
| 115 | +"n=n" = "b=b" |
| 116 | +"o=o" = "b=b" |
| 117 | +"p=p" "b=b" |
| 118 | +"q=q":"b=b" |
| 119 | +"r:r":"b:b" |
| 120 | +"s:s" "b:b" |
| 121 | +"t:t"="b:b" |
| 122 | +=u |
| 123 | + =v |
| 124 | +==W |
| 125 | +=x |
| 126 | + =y |
| 127 | +==z |
| 128 | + |
| 129 | +### |
| 130 | +# MULTI-LINE |
| 131 | +### |
| 132 | + |
| 133 | +multi-line-1 =line-one \ |
| 134 | +line-two |
| 135 | +multi-line-2 =line-one\ |
| 136 | +line-two |
| 137 | +multi-line-3 =line-one\ |
| 138 | +\line-two |
| 139 | +multi-line-4 =line-one\ |
| 140 | + \line-two |
| 141 | +multi-line-5 =line-one-with-trailing-space\ |
| 142 | +line-two |
| 143 | +multi-line-6 =line-one-with-trailing-spaces\ |
| 144 | +line-two |
| 145 | +multi-line-7 =line-one-with-trailing-tab\ |
| 146 | +line-two |
| 147 | +multi-line-8 =line-one-with-trailing-tabs\ |
| 148 | +line-two |
| 149 | +multi-line-9 =line-one \ |
| 150 | + line-two-with-space |
| 151 | +multi-line-10 =line-one \ |
| 152 | +line-two-with-tab |
| 153 | +multi-line-11 =line-one \ |
| 154 | + line-two-with-tab |
| 155 | +multi-line-12 =line-one \ |
| 156 | +line-two-with-tabs |
| 157 | +multi-line-13 =line-one \ |
| 158 | + line-two-with-tabs |
| 159 | +multi-line-14 =line-one \ |
| 160 | +line-two \ |
| 161 | +line-three |