Lines Matching refs:assertSame
22 $this->assertSame(-42, $m->getOptionalInt32());
23 $this->assertSame(42, $m->getOptionalUint32());
24 $this->assertSame(-44, $m->getOptionalSint32());
25 $this->assertSame(46, $m->getOptionalFixed32());
26 $this->assertSame(-46, $m->getOptionalSfixed32());
27 $this->assertSame(1.5, $m->getOptionalFloat());
28 $this->assertSame(1.6, $m->getOptionalDouble());
29 $this->assertSame(true, $m->getOptionalBool());
30 $this->assertSame('a', $m->getOptionalString());
31 $this->assertSame('bbbb', $m->getOptionalBytes());
32 $this->assertSame(TestEnum::ONE, $m->getOptionalEnum());
33 $this->assertSame(33, $m->getOptionalMessage()->getA());
35 $this->assertSame('-43', $m->getOptionalInt64());
36 $this->assertSame('43', $m->getOptionalUint64());
37 $this->assertSame('-45', $m->getOptionalSint64());
38 $this->assertSame('47', $m->getOptionalFixed64());
39 $this->assertSame('-47', $m->getOptionalSfixed64());
41 $this->assertSame(-43, $m->getOptionalInt64());
42 $this->assertSame(43, $m->getOptionalUint64());
43 $this->assertSame(-45, $m->getOptionalSint64());
44 $this->assertSame(47, $m->getOptionalFixed64());
45 $this->assertSame(-47, $m->getOptionalSfixed64());
112 $this->assertSame(-144, $m->getOptionalSint32());
113 $this->assertSame(146, $m->getOptionalFixed32());
114 $this->assertSame(-146, $m->getOptionalSfixed32());
115 $this->assertSame(11.5, $m->getOptionalFloat());
116 $this->assertSame(11.6, $m->getOptionalDouble());
117 $this->assertSame(true, $m->getOptionalBool());
118 $this->assertSame('aa', $m->getOptionalString());
119 $this->assertSame('bb', $m->getOptionalBytes());
120 $this->assertSame(133, $m->getOptionalMessage()->getA());
122 $this->assertSame('-143', $m->getOptionalInt64());
123 $this->assertSame('143', $m->getOptionalUint64());
124 $this->assertSame('-145', $m->getOptionalSint64());
125 $this->assertSame('147', $m->getOptionalFixed64());
126 $this->assertSame('-147', $m->getOptionalSfixed64());
128 $this->assertSame(-143, $m->getOptionalInt64());
129 $this->assertSame(143, $m->getOptionalUint64());
130 $this->assertSame(-145, $m->getOptionalSint64());
131 $this->assertSame(147, $m->getOptionalFixed64());
132 $this->assertSame(-147, $m->getOptionalSfixed64());
244 $this->assertSame(0, $m->getOptionalInt32());
245 $this->assertSame(0, $m->getOptionalUint32());
246 $this->assertSame(0, $m->getOptionalSint32());
247 $this->assertSame(0, $m->getOptionalFixed32());
248 $this->assertSame(0, $m->getOptionalSfixed32());
249 $this->assertSame(0.0, $m->getOptionalFloat());
250 $this->assertSame(0.0, $m->getOptionalDouble());
251 $this->assertSame(false, $m->getOptionalBool());
252 $this->assertSame('', $m->getOptionalString());
253 $this->assertSame('', $m->getOptionalBytes());
254 $this->assertSame(0, $m->getOptionalEnum());
259 $this->assertSame("0", $m->getOptionalInt64());
260 $this->assertSame("0", $m->getOptionalUint64());
261 $this->assertSame("0", $m->getOptionalSint64());
262 $this->assertSame("0", $m->getOptionalFixed64());
263 $this->assertSame("0", $m->getOptionalSfixed64());
265 $this->assertSame(0, $m->getOptionalInt64());
266 $this->assertSame(0, $m->getOptionalUint64());
267 $this->assertSame(0, $m->getOptionalSint64());
268 $this->assertSame(0, $m->getOptionalFixed64());
269 $this->assertSame(0, $m->getOptionalSfixed64());
291 $this->assertSame("", $m->getMyOneof());
292 $this->assertSame(0, $m->getOneofInt32());
293 $this->assertSame(0, $m->getOneofUint32());
294 $this->assertSame(0, $m->getOneofSint32());
295 $this->assertSame(0, $m->getOneofFixed32());
296 $this->assertSame(0, $m->getOneofSfixed32());
297 $this->assertSame(0.0, $m->getOneofFloat());
298 $this->assertSame(0.0, $m->getOneofDouble());
299 $this->assertSame(false, $m->getOneofBool());
300 $this->assertSame('', $m->getOneofString());
301 $this->assertSame('', $m->getOneofBytes());
302 $this->assertSame(0, $m->getOneofEnum());
305 $this->assertSame("0", $m->getOneofInt64());
306 $this->assertSame("0", $m->getOneofUint64());
307 $this->assertSame("0", $m->getOneofSint64());
308 $this->assertSame("0", $m->getOneofFixed64());
309 $this->assertSame("0", $m->getOneofSfixed64());
311 $this->assertSame(0, $m->getOneofInt64());
312 $this->assertSame(0, $m->getOneofUint64());
313 $this->assertSame(0, $m->getOneofSint64());
314 $this->assertSame(0, $m->getOneofFixed64());
315 $this->assertSame(0, $m->getOneofSfixed64());