• Home
  • Raw
  • Download

Lines Matching refs:assertSame

79         $this->assertSame('Descriptors\TestDescriptorsMessage', $class);
82 $this->assertSame('descriptors.TestDescriptorsMessage', $desc->getFullName());
83 $this->assertSame($class, $desc->getClass());
86 $this->assertSame(7, $desc->getFieldCount());
89 $this->assertSame(1, $desc->getOneofDeclCount());
113 $this->assertSame('ZERO', $enumDescMap[0]);
114 $this->assertSame('ONE', $enumDescMap[1]);
116 $this->assertSame(2, $enumDesc->getValueCount());
132 $this->assertSame('optional_int32', $fieldDesc->getName());
133 $this->assertSame(1, $fieldDesc->getNumber());
134 $this->assertSame(self::GPBLABEL_OPTIONAL, $fieldDesc->getLabel());
135 $this->assertSame(self::GPBTYPE_INT32, $fieldDesc->getType());
140 $this->assertSame('optional_enum', $fieldDesc->getName());
141 $this->assertSame(16, $fieldDesc->getNumber());
142 $this->assertSame(self::GPBLABEL_OPTIONAL, $fieldDesc->getLabel());
143 $this->assertSame(self::GPBTYPE_ENUM, $fieldDesc->getType());
149 $this->assertSame('optional_message', $fieldDesc->getName());
150 $this->assertSame(17, $fieldDesc->getNumber());
151 $this->assertSame(self::GPBLABEL_OPTIONAL, $fieldDesc->getLabel());
152 $this->assertSame(self::GPBTYPE_MESSAGE, $fieldDesc->getType());
158 $this->assertSame('repeated_int32', $fieldDesc->getName());
159 $this->assertSame(31, $fieldDesc->getNumber());
160 $this->assertSame(self::GPBLABEL_REPEATED, $fieldDesc->getLabel());
161 $this->assertSame(self::GPBTYPE_INT32, $fieldDesc->getType());
166 $this->assertSame('repeated_message', $fieldDesc->getName());
167 $this->assertSame(47, $fieldDesc->getNumber());
168 $this->assertSame(self::GPBLABEL_REPEATED, $fieldDesc->getLabel());
169 $this->assertSame(self::GPBTYPE_MESSAGE, $fieldDesc->getType());
176 $this->assertSame('oneof_int32', $fieldDesc->getName());
177 $this->assertSame(51, $fieldDesc->getNumber());
178 $this->assertSame(self::GPBLABEL_OPTIONAL, $fieldDesc->getLabel());
179 $this->assertSame(self::GPBTYPE_INT32, $fieldDesc->getType());
184 $this->assertSame('map_int32_enum', $fieldDesc->getName());
185 $this->assertSame(71, $fieldDesc->getNumber());
186 $this->assertSame(self::GPBLABEL_REPEATED, $fieldDesc->getLabel());
187 $this->assertSame(self::GPBTYPE_MESSAGE, $fieldDesc->getType());
190 …$this->assertSame('descriptors.TestDescriptorsMessage.MapInt32EnumEntry', $mapDesc->getFullName());
191 $this->assertSame(self::GPBTYPE_INT32, $mapDesc->getField(0)->getType());
192 $this->assertSame(self::GPBTYPE_ENUM, $mapDesc->getField(1)->getType());
231 $this->assertSame('my_oneof', $oneofDesc->getName());
233 $this->assertSame($fieldDesc, $fieldDescFromOneof);
234 $this->assertSame(1, $oneofDesc->getFieldCount());