@@ -9,149 +9,149 @@ class PropertiesTest extends TestCase
99{
1010 public function testShouldReturnTrueWhenGivenStandardPropertyExists ()
1111 {
12- $ oProperties = new Properties ();
13- $ this ->assertTrue ($ oProperties ->propertyExists ('align-content ' ));
12+ $ properties = new Properties ();
13+ $ this ->assertTrue ($ properties ->propertyExists ('align-content ' ));
1414 }
1515
1616 public function testShouldReturnTrueWhenGivenConstructorStandardPropertyExists ()
1717 {
18- $ oProperties = new Properties ();
19- $ this ->assertTrue ($ oProperties ->propertyExists ('-moz-align-content ' ));
18+ $ properties = new Properties ();
19+ $ this ->assertTrue ($ properties ->propertyExists ('-moz-align-content ' ));
2020 }
2121
2222 public function testShouldReturnTrueWhenGivenConstructorNonStandardPropertyExists ()
2323 {
24- $ oProperties = new Properties ();
25- $ this ->assertTrue ($ oProperties ->propertyExists ('-moz-font-smoothing ' ));
24+ $ properties = new Properties ();
25+ $ this ->assertTrue ($ properties ->propertyExists ('-moz-font-smoothing ' ));
2626 }
2727
2828 public function testShouldReturnTrueWhenGivenPropertyDoesNotExist ()
2929 {
30- $ oProperties = new Properties ();
31- $ this ->assertFalse ($ oProperties ->propertyExists ('-wrong-font-smoothing ' ));
30+ $ properties = new Properties ();
31+ $ this ->assertFalse ($ properties ->propertyExists ('-wrong-font-smoothing ' ));
3232 }
3333
3434 public function testGetAllowedIndentationChars ()
3535 {
36- $ oProperties = new Properties ();
37- $ this ->assertEquals ([" " ], $ oProperties ->getAllowedIndentationChars ());
36+ $ properties = new Properties ();
37+ $ this ->assertEquals ([" " ], $ properties ->getAllowedIndentationChars ());
3838 }
3939
4040 public function testSetAllowedIndentationChars ()
4141 {
42- $ oProperties = new Properties ();
42+ $ properties = new Properties ();
4343 $ aAllowedIndentationChars = ["\t" ];
44- $ oProperties ->setAllowedIndentationChars ($ aAllowedIndentationChars );
45- $ this ->assertEquals ($ aAllowedIndentationChars , $ oProperties ->getAllowedIndentationChars ());
44+ $ properties ->setAllowedIndentationChars ($ aAllowedIndentationChars );
45+ $ this ->assertEquals ($ aAllowedIndentationChars , $ properties ->getAllowedIndentationChars ());
4646 }
4747
4848 public function testShouldReturnTrueWhenGivenCharIsAnAllowedIndentationChar ()
4949 {
50- $ oProperties = new Properties ();
51- $ this ->assertTrue ($ oProperties ->isAllowedIndentationChar (" " ));
50+ $ properties = new Properties ();
51+ $ this ->assertTrue ($ properties ->isAllowedIndentationChar (" " ));
5252 }
5353
5454 public function testShouldReturnTrueWhenGivenCharIsNotAnAllowedIndentationChar ()
5555 {
56- $ oProperties = new Properties ();
57- $ this ->assertFalse ($ oProperties ->isAllowedIndentationChar ("\t" ));
56+ $ properties = new Properties ();
57+ $ this ->assertFalse ($ properties ->isAllowedIndentationChar ("\t" ));
5858 }
5959
6060 public function testMergeConstructorsShouldDisableAContructor ()
6161 {
62- $ oProperties = new Properties ();
63- $ this ->assertTrue ($ oProperties ->propertyExists ('-moz-font-smoothing ' ));
62+ $ properties = new Properties ();
63+ $ this ->assertTrue ($ properties ->propertyExists ('-moz-font-smoothing ' ));
6464
65- $ oProperties ->mergeConstructors (['moz ' => false ]);
66- $ this ->assertFalse ($ oProperties ->propertyExists ('-moz-font-smoothing ' ));
65+ $ properties ->mergeConstructors (['moz ' => false ]);
66+ $ this ->assertFalse ($ properties ->propertyExists ('-moz-font-smoothing ' ));
6767 }
6868
6969 public function testMergeConstructorsShouldAddAContructor ()
7070 {
71- $ oProperties = new Properties ();
72- $ this ->assertFalse ($ oProperties ->propertyExists ('-new-font-smoothing ' ));
71+ $ properties = new Properties ();
72+ $ this ->assertFalse ($ properties ->propertyExists ('-new-font-smoothing ' ));
7373
74- $ oProperties ->mergeConstructors (['new ' => true ]);
75- $ this ->assertTrue ($ oProperties ->propertyExists ('-new-font-smoothing ' ));
74+ $ properties ->mergeConstructors (['new ' => true ]);
75+ $ this ->assertTrue ($ properties ->propertyExists ('-new-font-smoothing ' ));
7676 }
7777
7878 public function testMergeStandardsShouldDisableAContructor ()
7979 {
80- $ oProperties = new Properties ();
81- $ this ->assertTrue ($ oProperties ->propertyExists ('align-content ' ));
80+ $ properties = new Properties ();
81+ $ this ->assertTrue ($ properties ->propertyExists ('align-content ' ));
8282
83- $ oProperties ->mergeStandards (['align-content ' => false ]);
84- $ this ->assertFalse ($ oProperties ->propertyExists ('align-content ' ));
83+ $ properties ->mergeStandards (['align-content ' => false ]);
84+ $ this ->assertFalse ($ properties ->propertyExists ('align-content ' ));
8585 }
8686
8787 public function testMergeStandardsShouldAddAContructor ()
8888 {
89- $ oProperties = new Properties ();
90- $ this ->assertFalse ($ oProperties ->propertyExists ('new-content ' ));
89+ $ properties = new Properties ();
90+ $ this ->assertFalse ($ properties ->propertyExists ('new-content ' ));
9191
92- $ oProperties ->mergeStandards (['new-content ' => true ]);
93- $ this ->assertTrue ($ oProperties ->propertyExists ('new-content ' ));
92+ $ properties ->mergeStandards (['new-content ' => true ]);
93+ $ this ->assertTrue ($ properties ->propertyExists ('new-content ' ));
9494 }
9595
9696 public function testMergeNonStandardsShouldDisableAContructor ()
9797 {
98- $ oProperties = new Properties ();
99- $ this ->assertTrue ($ oProperties ->propertyExists ('-moz-font-smoothing ' ));
98+ $ properties = new Properties ();
99+ $ this ->assertTrue ($ properties ->propertyExists ('-moz-font-smoothing ' ));
100100
101- $ oProperties ->mergeNonStandards (['font-smoothing ' => false ]);
102- $ this ->assertFalse ($ oProperties ->propertyExists ('-moz-font-smoothing ' ));
101+ $ properties ->mergeNonStandards (['font-smoothing ' => false ]);
102+ $ this ->assertFalse ($ properties ->propertyExists ('-moz-font-smoothing ' ));
103103 }
104104
105105 public function testMergeNonStandardsShouldAddAContructor ()
106106 {
107- $ oProperties = new Properties ();
108- $ this ->assertFalse ($ oProperties ->propertyExists ('-moz-new-content ' ));
107+ $ properties = new Properties ();
108+ $ this ->assertFalse ($ properties ->propertyExists ('-moz-new-content ' ));
109109
110- $ oProperties ->mergeNonStandards (['new-content ' => true ]);
111- $ this ->assertTrue ($ oProperties ->propertyExists ('-moz-new-content ' ));
110+ $ properties ->mergeNonStandards (['new-content ' => true ]);
111+ $ this ->assertTrue ($ properties ->propertyExists ('-moz-new-content ' ));
112112 }
113113
114114 public function testSetOptionsAllowedIndentationChars ()
115115 {
116- $ oProperties = new Properties ();
117- $ this ->assertFalse ($ oProperties ->isAllowedIndentationChar ("\t" ));
116+ $ properties = new Properties ();
117+ $ this ->assertFalse ($ properties ->isAllowedIndentationChar ("\t" ));
118118
119- $ oProperties ->setOptions ([
119+ $ properties ->setOptions ([
120120 'allowedIndentationChars ' => ["\t" ],
121121 ]);
122- $ this ->assertTrue ($ oProperties ->isAllowedIndentationChar ("\t" ));
122+ $ this ->assertTrue ($ properties ->isAllowedIndentationChar ("\t" ));
123123 }
124124
125125 public function testSetOptionsConstructors ()
126126 {
127- $ oProperties = new Properties ();
128- $ this ->assertFalse ($ oProperties ->propertyExists ('-new-font-smoothing ' ));
127+ $ properties = new Properties ();
128+ $ this ->assertFalse ($ properties ->propertyExists ('-new-font-smoothing ' ));
129129
130- $ oProperties ->setOptions ([
130+ $ properties ->setOptions ([
131131 'constructors ' => ['new ' => true ],
132132 ]);
133- $ this ->assertTrue ($ oProperties ->propertyExists ('-new-font-smoothing ' ));
133+ $ this ->assertTrue ($ properties ->propertyExists ('-new-font-smoothing ' ));
134134 }
135135
136136 public function testSetOptionsStandards ()
137137 {
138- $ oProperties = new Properties ();
139- $ this ->assertFalse ($ oProperties ->propertyExists ('new-content ' ));
138+ $ properties = new Properties ();
139+ $ this ->assertFalse ($ properties ->propertyExists ('new-content ' ));
140140
141- $ oProperties ->setOptions ([
141+ $ properties ->setOptions ([
142142 'standards ' => ['new-content ' => true ],
143143 ]);
144- $ this ->assertTrue ($ oProperties ->propertyExists ('new-content ' ));
144+ $ this ->assertTrue ($ properties ->propertyExists ('new-content ' ));
145145 }
146146
147147 public function testSetOptionsNonStandards ()
148148 {
149- $ oProperties = new Properties ();
150- $ this ->assertFalse ($ oProperties ->propertyExists ('-moz-new-content ' ));
149+ $ properties = new Properties ();
150+ $ this ->assertFalse ($ properties ->propertyExists ('-moz-new-content ' ));
151151
152- $ oProperties ->setOptions ([
152+ $ properties ->setOptions ([
153153 'nonStandards ' => ['new-content ' => true ],
154154 ]);
155- $ this ->assertTrue ($ oProperties ->propertyExists ('-moz-new-content ' ));
155+ $ this ->assertTrue ($ properties ->propertyExists ('-moz-new-content ' ));
156156 }
157157}
0 commit comments