Lines Matching refs:TestEnum
3 use Foo\TestEnum; alias
69 $m->setOptionalEnum(TestEnum::ONE);
89 self::appendHelper($m, 'RepeatedEnum', TestEnum::ZERO);
108 self::appendHelper($m, 'RepeatedEnum', TestEnum::ONE);
127 self::kvUpdateHelper($m, 'MapInt32Enum', 1, TestEnum::ONE);
151 $m->setOptionalEnum(TestEnum::TWO);
170 self::appendHelper($m, 'RepeatedEnum', TestEnum::TWO);
189 self::kvUpdateHelper($m, 'MapInt32Enum', 1, TestEnum::TWO);
208 self::kvUpdateHelper($m, 'MapInt32Enum', 2, TestEnum::TWO);
238 assert(TestEnum::ONE === $m->getOptionalEnum());
264 assert(TestEnum::ZERO === $m->getRepeatedEnum()[0]);
290 assert(TestEnum::ONE === $m->getRepeatedEnum()[1]);
316 assert(TestEnum::ONE === $m->getMapInt32Enum()[1]);
410 self::appendHelper($m, 'RepeatedEnum', TestEnum::ONE);
411 self::appendHelper($m, 'RepeatedEnum', TestEnum::ZERO);
447 assert(TestEnum::ONE === $m->getRepeatedEnum()[0]);
448 assert(TestEnum::ZERO === $m->getRepeatedEnum()[1]);