Lines Matching refs:assertEquals
14 $this->assertEquals('VCALENDAR', $result->name);
15 $this->assertEquals(0, count($result->children));
29 $this->assertEquals('VCALENDAR', $result->name);
30 $this->assertEquals(0, count($result->children));
41 $this->assertEquals('VCALENDAR', $result->name);
42 $this->assertEquals(0, count($result->children));
53 $this->assertEquals('VCALENDAR', $result->name);
54 $this->assertEquals(0, count($result->children));
87 $this->assertEquals('SUMMARY', $result->name);
88 $this->assertEquals('propValue', $result->getValue());
99 $this->assertEquals('SUMMARY', $result->name);
100 $this->assertEquals("Line1\nLine2\nLine3\\Not the 4th line!", $result->getValue());
111 $this->assertEquals('DTSTART', $result->name);
112 $this->assertEquals('20110529', $result->getValue());
123 $this->assertEquals('DTSTART', $result->name);
124 $this->assertEquals('20110529', $result->getValue());
149 $this->assertEquals('VCALENDAR', $result->name);
150 $this->assertEquals(1, count($result->children()));
152 $this->assertEquals('PROPNAME', $result->children[0]->name);
153 $this->assertEquals('propValue', $result->children[0]->getValue());
171 $this->assertEquals('VCALENDAR', $result->name);
172 $this->assertEquals(1, count($result->children()));
174 $this->assertEquals('VTIMEZONE', $result->children[0]->name);
175 $this->assertEquals(1, count($result->children[0]->children()));
177 $this->assertEquals('DAYLIGHT', $result->children[0]->children[0]->name);
190 $this->assertEquals('PROPNAME', $result->name);
191 $this->assertEquals('propValue', $result->getValue());
192 $this->assertEquals(1, count($result->parameters()));
193 $this->assertEquals('PARAMNAME', $result->parameters['PARAMNAME']->name);
194 $this->assertEquals('paramvalue', $result->parameters['PARAMNAME']->getValue());
206 $this->assertEquals('PROPNAME', $result->name);
207 $this->assertEquals('propValue', $result->getValue());
208 $this->assertEquals(1, count($result->parameters()));
209 $this->assertEquals('N', $result->parameters['N']->name);
210 $this->assertEquals('1,2,3,4,5,6,7,8,9,10,"11"', $result->parameters['N']->getValue());
211 … $this->assertEquals(array(1,2,3,4,5,6,"7,8",9,10,'"11"'), $result->parameters['N']->getParts());
222 $this->assertEquals('PROPNAME', $result->name);
223 $this->assertEquals('propValue', $result->getValue());
224 $this->assertEquals(1, count($result->parameters()));
225 $this->assertEquals('TYPE', $result->parameters['TYPE']->name);
226 $this->assertEquals('WORK,VOICE,PREF', $result->parameters['TYPE']->getValue());
227 … $this->assertEquals(array('WORK', 'VOICE', 'PREF'), $result->parameters['TYPE']->getParts());
239 $this->assertEquals('PROPNAME', $result->name);
240 $this->assertEquals('propValue', $result->getValue());
241 $this->assertEquals(1, count($result->parameters()));
242 $this->assertEquals('TYPE', $result->parameters['TYPE']->name);
244 $this->assertEquals('PRODIGY', $result->parameters['TYPE']);
256 $this->assertEquals('PROPNAME', $result->name);
257 $this->assertEquals('propValue:anotherrandomstring', $result->getValue());
258 $this->assertEquals(1, count($result->parameters()));
259 $this->assertEquals('PARAMNAME', $result->parameters['PARAMNAME']->name);
260 $this->assertEquals('paramvalue', $result->parameters['PARAMNAME']->getValue());
272 $this->assertEquals('PROPNAME', $result->name);
273 $this->assertEquals('propValue', $result->getValue());
274 $this->assertEquals(2, count($result->parameters()));
275 $this->assertEquals('PARAMNAME', $result->parameters['PARAMNAME']->name);
276 $this->assertEquals('paramvalue', $result->parameters['PARAMNAME']->getValue());
277 $this->assertEquals('PARAMNAME2', $result->parameters['PARAMNAME2']->name);
278 $this->assertEquals('paramvalue2', $result->parameters['PARAMNAME2']->getValue());
290 $this->assertEquals('PROPNAME', $result->name);
291 $this->assertEquals('propValue', $result->getValue());
292 $this->assertEquals(1, count($result->parameters()));
293 $this->assertEquals('PARAMNAME', $result->parameters['PARAMNAME']->name);
294 $this->assertEquals('paramvalue', $result->parameters['PARAMNAME']->getValue());
306 $this->assertEquals('PROPNAME', $result->name);
307 $this->assertEquals('propValue', $result->getValue());
309 $this->assertEquals(1, count($result->parameters()));
310 $this->assertEquals('PARAMNAME', $result->parameters['PARAMNAME']->name);
311 … $this->assertEquals("paramvalue1\nvalue2^nvalue3", $result->parameters['PARAMNAME']->getValue());
322 $this->assertEquals('PROPNAME', $result->name);
323 $this->assertEquals('propValue', $result->getValue());
324 $this->assertEquals(1, count($result->parameters()));
325 $this->assertEquals('PARAMNAME', $result->parameters['PARAMNAME']->name);
326 $this->assertEquals('param:value', $result->parameters['PARAMNAME']->getValue());
345 $this->assertEquals(true, $caught);
356 $this->assertEquals($expected, $result->serialize());
376 $this->assertEquals(true, $caught);
387 $this->assertEquals($expected, $result->serialize());
444 $this->assertEquals('VCALENDAR', $result->name);
445 $this->assertEquals(0, count($result->children));