Lines Matching refs:getExtension
205 XCTAssertTrue([[message getExtension:[UnittestRoot optionalGroupExtension]] hasA]);
206 XCTAssertTrue([[message getExtension:[UnittestRoot optionalNestedMessageExtension]] hasBb]);
207 XCTAssertTrue([[message getExtension:[UnittestRoot optionalForeignMessageExtension]] hasC]);
208 XCTAssertTrue([[message getExtension:[UnittestRoot optionalImportMessageExtension]] hasD]);
240 XCTAssertEqual(101, [[message getExtension:[UnittestRoot optionalInt32Extension]] intValue]);
241 …XCTAssertEqual(102LL, [[message getExtension:[UnittestRoot optionalInt64Extension]] longLongValue]…
242 …XCTAssertEqual(103U, [[message getExtension:[UnittestRoot optionalUint32Extension]] unsignedIntVal…
243 …XCTAssertEqual(104ULL, [[message getExtension:[UnittestRoot optionalUint64Extension]] unsignedLong…
244 XCTAssertEqual(105, [[message getExtension:[UnittestRoot optionalSint32Extension]] intValue]);
245 …XCTAssertEqual(106LL, [[message getExtension:[UnittestRoot optionalSint64Extension]] longLongValue…
246 …XCTAssertEqual(107U, [[message getExtension:[UnittestRoot optionalFixed32Extension]] unsignedIntVa…
247 …XCTAssertEqual(108ULL, [[message getExtension:[UnittestRoot optionalFixed64Extension]] unsignedLon…
248 XCTAssertEqual(109, [[message getExtension:[UnittestRoot optionalSfixed32Extension]] intValue]);
249 …XCTAssertEqual(110LL, [[message getExtension:[UnittestRoot optionalSfixed64Extension]] longLongVal…
250 …XCTAssertEqualWithAccuracy(111.0f, [[message getExtension:[UnittestRoot optionalFloatExtension]] f…
251 …XCTAssertEqualWithAccuracy(112.0, [[message getExtension:[UnittestRoot optionalDoubleExtension]] d…
252 XCTAssertTrue([[message getExtension:[UnittestRoot optionalBoolExtension]] boolValue]);
253 XCTAssertEqualObjects(@"115", [message getExtension:[UnittestRoot optionalStringExtension]]);
254 …XCTAssertEqualObjects([NSData gpbtu_dataWithEmbeddedNulls], [message getExtension:[UnittestRoot op…
256 …XCTAssertEqual(117, [(TestAllTypes_OptionalGroup*)[message getExtension:[UnittestRoot optionalGrou…
257 …XCTAssertEqual(118, [(TestAllTypes_NestedMessage*)[message getExtension:[UnittestRoot optionalNest…
258 XCTAssertEqual(119, [[message getExtension:[UnittestRoot optionalForeignMessageExtension]] c]);
259 XCTAssertEqual(120, [[message getExtension:[UnittestRoot optionalImportMessageExtension]] d]);
261 …XCTAssertEqual(TestAllTypes_NestedEnum_Baz, [[message getExtension:[UnittestRoot optionalNestedEnu…
262 …XCTAssertEqual(ForeignEnum_ForeignBaz, [[message getExtension:[UnittestRoot optionalForeignEnumExt…
263 …XCTAssertEqual(ImportEnum_ImportBaz, [[message getExtension:[UnittestRoot optionalImportEnumExtens…
265 XCTAssertEqualObjects(@"124", [message getExtension:[UnittestRoot optionalStringPieceExtension]]);
266 XCTAssertEqualObjects(@"125", [message getExtension:[UnittestRoot optionalCordExtension]]);
270 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedInt32Extension]] count]);
271 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedInt64Extension]] count]);
272 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedUint32Extension]] count]);
273 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedUint64Extension]] count]);
274 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSint32Extension]] count]);
275 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSint64Extension]] count]);
276 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFixed32Extension]] count]);
277 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFixed64Extension]] count]);
278 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSfixed32Extension]] count]);
279 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSfixed64Extension]] count]);
280 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFloatExtension]] count]);
281 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedDoubleExtension]] count]);
282 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedBoolExtension]] count]);
283 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedStringExtension]] count]);
284 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedBytesExtension]] count]);
286 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedGroupExtension]] count]);
287 …XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedNestedMessageExtension]] count]…
288 …XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedForeignMessageExtension]] count…
289 …XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedImportMessageExtension]] count]…
290 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedNestedEnumExtension]] count]);
291 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedForeignEnumExtension]] count]);
292 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedImportEnumExtension]] count]);
294 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedStringPieceExtension]] count]);
295 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedCordExtension]] count]);
298 id extension = [message getExtension:[UnittestRoot repeatedInt32Extension]];
300 extension = [message getExtension:[UnittestRoot repeatedInt64Extension]];
302 extension = [message getExtension:[UnittestRoot repeatedUint32Extension]];
304 extension = [message getExtension:[UnittestRoot repeatedUint64Extension]];
306 extension = [message getExtension:[UnittestRoot repeatedSint32Extension]];
308 extension = [message getExtension:[UnittestRoot repeatedSint64Extension]];
310 extension = [message getExtension:[UnittestRoot repeatedFixed32Extension]];
312 extension = [message getExtension:[UnittestRoot repeatedFixed64Extension]];
314 extension = [message getExtension:[UnittestRoot repeatedSfixed32Extension]];
316 extension = [message getExtension:[UnittestRoot repeatedSfixed64Extension]];
318 extension = [message getExtension:[UnittestRoot repeatedFloatExtension]];
320 extension = [message getExtension:[UnittestRoot repeatedDoubleExtension]];
322 extension = [message getExtension:[UnittestRoot repeatedBoolExtension]];
326 extension = [message getExtension:[UnittestRoot repeatedStringExtension]];
331 extension = [message getExtension:[UnittestRoot repeatedBytesExtension]];
335 extension = [message getExtension:[UnittestRoot repeatedGroupExtension]];
337 extension = [message getExtension:[UnittestRoot repeatedNestedMessageExtension]];
339 extension = [message getExtension:[UnittestRoot repeatedForeignMessageExtension]];
341 extension = [message getExtension:[UnittestRoot repeatedImportMessageExtension]];
344 extension = [message getExtension:[UnittestRoot repeatedNestedEnumExtension]];
346 extension = [message getExtension:[UnittestRoot repeatedForeignEnumExtension]];
348 extension = [message getExtension:[UnittestRoot repeatedImportEnumExtension]];
352 extension = [message getExtension:[UnittestRoot repeatedStringPieceExtension]];
357 extension = [message getExtension:[UnittestRoot repeatedCordExtension]];
387 XCTAssertEqual(401, [[message getExtension:[UnittestRoot defaultInt32Extension]] intValue]);
388 …XCTAssertEqual(402LL, [[message getExtension:[UnittestRoot defaultInt64Extension]] longLongValue]);
389 …XCTAssertEqual(403U, [[message getExtension:[UnittestRoot defaultUint32Extension]] unsignedIntValu…
390 …XCTAssertEqual(404ULL, [[message getExtension:[UnittestRoot defaultUint64Extension]] unsignedLongL…
391 XCTAssertEqual(405, [[message getExtension:[UnittestRoot defaultSint32Extension]] intValue]);
392 …XCTAssertEqual(406LL, [[message getExtension:[UnittestRoot defaultSint64Extension]] longLongValue]…
393 …XCTAssertEqual(407U, [[message getExtension:[UnittestRoot defaultFixed32Extension]] unsignedIntVal…
394 …XCTAssertEqual(408ULL, [[message getExtension:[UnittestRoot defaultFixed64Extension]] unsignedLong…
395 XCTAssertEqual(409, [[message getExtension:[UnittestRoot defaultSfixed32Extension]] intValue]);
396 …XCTAssertEqual(410LL,[[message getExtension:[UnittestRoot defaultSfixed64Extension]] longLongValue…
397 …XCTAssertEqualWithAccuracy(411.0f, [[message getExtension:[UnittestRoot defaultFloatExtension]] fl…
398 …XCTAssertEqualWithAccuracy(412.0, [[message getExtension:[UnittestRoot defaultDoubleExtension]] do…
399 XCTAssertFalse([[message getExtension:[UnittestRoot defaultBoolExtension]] boolValue]);
400 XCTAssertEqualObjects(@"415", [message getExtension:[UnittestRoot defaultStringExtension]]);
401 …XCTAssertEqualObjects([NSData gpbtu_dataWithUint32:416], [message getExtension:[UnittestRoot defau…
403 …XCTAssertEqual(TestAllTypes_NestedEnum_Foo, [[message getExtension:[UnittestRoot defaultNestedEnum…
404 …XCTAssertEqual(ForeignEnum_ForeignFoo, [[message getExtension:[UnittestRoot defaultForeignEnumExte…
405 …XCTAssertEqual(ImportEnum_ImportFoo, [[message getExtension:[UnittestRoot defaultImportEnumExtensi…
407 XCTAssertEqualObjects(@"424", [message getExtension:[UnittestRoot defaultStringPieceExtension]]);
408 XCTAssertEqualObjects(@"425", [message getExtension:[UnittestRoot defaultCordExtension]]);
416 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedInt32Extension]] count]);
417 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedInt64Extension]] count]);
418 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedUint32Extension]] count]);
419 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedUint64Extension]] count]);
420 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSint32Extension]] count]);
421 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSint64Extension]] count]);
422 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFixed32Extension]] count]);
423 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFixed64Extension]] count]);
424 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSfixed32Extension]] count]);
425 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedSfixed64Extension]] count]);
426 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedFloatExtension]] count]);
427 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedDoubleExtension]] count]);
428 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedBoolExtension]] count]);
429 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedStringExtension]] count]);
430 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedBytesExtension]] count]);
432 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedGroupExtension]] count]);
433 …XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedNestedMessageExtension]] count]…
434 …XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedForeignMessageExtension]] count…
435 …XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedImportMessageExtension]] count]…
436 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedNestedEnumExtension]] count]);
437 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedForeignEnumExtension]] count]);
438 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedImportEnumExtension]] count]);
440 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedStringPieceExtension]] count]);
441 XCTAssertEqual(count, [[message getExtension:[UnittestRoot repeatedCordExtension]] count]);
443 XCTAssertEqual(201,[[message getExtension:[UnittestRoot repeatedInt32Extension]][0] intValue]);
444 …XCTAssertEqual(202LL, [[message getExtension:[UnittestRoot repeatedInt64Extension]][0] longLongVal…
445 …XCTAssertEqual(203U, [[message getExtension:[UnittestRoot repeatedUint32Extension]][0] unsignedInt…
446 …XCTAssertEqual(204ULL, [[message getExtension:[UnittestRoot repeatedUint64Extension]][0] unsignedL…
447 XCTAssertEqual(205, [[message getExtension:[UnittestRoot repeatedSint32Extension]][0] intValue]);
448 …XCTAssertEqual(206LL, [[message getExtension:[UnittestRoot repeatedSint64Extension]][0] longLongVa…
449 …XCTAssertEqual(207U, [[message getExtension:[UnittestRoot repeatedFixed32Extension]][0] unsignedIn…
450 …XCTAssertEqual(208ULL, [[message getExtension:[UnittestRoot repeatedFixed64Extension]][0] unsigned…
451 …XCTAssertEqual(209, [[message getExtension:[UnittestRoot repeatedSfixed32Extension]][0] intValue]);
452 …XCTAssertEqual(210LL, [[message getExtension:[UnittestRoot repeatedSfixed64Extension]][0] longLong…
453 …XCTAssertEqualWithAccuracy(211.0f, [[message getExtension:[UnittestRoot repeatedFloatExtension]][0…
454 …XCTAssertEqualWithAccuracy(212.0, [[message getExtension:[UnittestRoot repeatedDoubleExtension]][0…
455 XCTAssertFalse([[message getExtension:[UnittestRoot repeatedBoolExtension]][0] boolValue]);
456 XCTAssertEqualObjects(@"215", [message getExtension:[UnittestRoot repeatedStringExtension]][0]);
457 …XCTAssertEqualObjects([NSData gpbtu_dataWithUint32:216], [message getExtension:[UnittestRoot repea…
459 …XCTAssertEqual(217, [(TestAllTypes_OptionalGroup*)[message getExtension:[UnittestRoot repeatedGrou…
460 …XCTAssertEqual(218, [(TestAllTypes_NestedMessage*)[message getExtension:[UnittestRoot repeatedNest…
461 XCTAssertEqual(219, [[message getExtension:[UnittestRoot repeatedForeignMessageExtension]][0] c]);
462 XCTAssertEqual(220, [[message getExtension:[UnittestRoot repeatedImportMessageExtension]][0] d]);
465 [[message getExtension:[UnittestRoot repeatedNestedEnumExtension]][0] intValue]);
467 [[message getExtension:[UnittestRoot repeatedForeignEnumExtension]][0] intValue]);
469 [[message getExtension:[UnittestRoot repeatedImportEnumExtension]][0] intValue]);
471 …XCTAssertEqualObjects(@"224", [message getExtension:[UnittestRoot repeatedStringPieceExtension]][0…
472 XCTAssertEqualObjects(@"225", [message getExtension:[UnittestRoot repeatedCordExtension]][0]);
475 XCTAssertEqual(501, [[message getExtension:[UnittestRoot repeatedInt32Extension]][1] intValue]);
476 …XCTAssertEqual(502LL, [[message getExtension:[UnittestRoot repeatedInt64Extension]][1] longLongVal…
477 …XCTAssertEqual(503U, [[message getExtension:[UnittestRoot repeatedUint32Extension]][1] unsignedInt…
478 …XCTAssertEqual(504ULL, [[message getExtension:[UnittestRoot repeatedUint64Extension]][1] unsignedL…
479 XCTAssertEqual(505, [[message getExtension:[UnittestRoot repeatedSint32Extension]][1] intValue]);
480 …XCTAssertEqual(506LL, [[message getExtension:[UnittestRoot repeatedSint64Extension]][1] longLongVa…
481 …XCTAssertEqual(507U, [[message getExtension:[UnittestRoot repeatedFixed32Extension]][1] unsignedIn…
482 …XCTAssertEqual(508ULL, [[message getExtension:[UnittestRoot repeatedFixed64Extension]][1] unsigned…
483 …XCTAssertEqual(509, [[message getExtension:[UnittestRoot repeatedSfixed32Extension]][1] intValue]);
484 …XCTAssertEqual(510LL, [[message getExtension:[UnittestRoot repeatedSfixed64Extension]][1] longLong…
485 …XCTAssertEqualWithAccuracy(511.0f, [[message getExtension:[UnittestRoot repeatedFloatExtension]][1…
486 …XCTAssertEqualWithAccuracy(512.0, [[message getExtension:[UnittestRoot repeatedDoubleExtension]][1…
487 XCTAssertTrue([[message getExtension:[UnittestRoot repeatedBoolExtension]][1] boolValue]);
488 XCTAssertEqualObjects(@"515", [message getExtension:[UnittestRoot repeatedStringExtension]][1]);
489 …XCTAssertEqualObjects([NSData gpbtu_dataWithUint32:516], [message getExtension:[UnittestRoot repea…
491 …XCTAssertEqual(517, [(TestAllTypes_OptionalGroup*)[message getExtension:[UnittestRoot repeatedGrou…
492 …XCTAssertEqual(518, [(TestAllTypes_NestedMessage*)[message getExtension:[UnittestRoot repeatedNest…
493 XCTAssertEqual(519, [[message getExtension:[UnittestRoot repeatedForeignMessageExtension]][1] c]);
494 XCTAssertEqual(520, [[message getExtension:[UnittestRoot repeatedImportMessageExtension]][1] d]);
497 [[message getExtension:[UnittestRoot repeatedNestedEnumExtension]][1] intValue]);
499 [[message getExtension:[UnittestRoot repeatedForeignEnumExtension]][1] intValue]);
501 [[message getExtension:[UnittestRoot repeatedImportEnumExtension]][1] intValue]);
503 …XCTAssertEqualObjects(@"524", [message getExtension:[UnittestRoot repeatedStringPieceExtension]][1…
504 XCTAssertEqualObjects(@"525", [message getExtension:[UnittestRoot repeatedCordExtension]][1]);
1421 XCTAssertEqual(0, [[message getExtension:[UnittestRoot optionalInt32Extension]] intValue]);
1422 XCTAssertEqual(0LL,[[message getExtension:[UnittestRoot optionalInt64Extension]] longLongValue]);
1423 …XCTAssertEqual(0U, [[message getExtension:[UnittestRoot optionalUint32Extension]] unsignedIntValue…
1424 …XCTAssertEqual(0ULL, [[message getExtension:[UnittestRoot optionalUint64Extension]] unsignedLongLo…
1425 XCTAssertEqual(0, [[message getExtension:[UnittestRoot optionalSint32Extension]] intValue]);
1426 …XCTAssertEqual(0LL, [[message getExtension:[UnittestRoot optionalSint64Extension]] longLongValue]);
1427 …XCTAssertEqual(0U, [[message getExtension:[UnittestRoot optionalFixed32Extension]] unsignedIntValu…
1428 …XCTAssertEqual(0ULL, [[message getExtension:[UnittestRoot optionalFixed64Extension]] unsignedLongL…
1429 XCTAssertEqual(0, [[message getExtension:[UnittestRoot optionalSfixed32Extension]] intValue]);
1430 …XCTAssertEqual(0LL, [[message getExtension:[UnittestRoot optionalSfixed64Extension]] longLongValue…
1431 …XCTAssertEqualWithAccuracy(0.0f, [[message getExtension:[UnittestRoot optionalFloatExtension]] flo…
1432 …XCTAssertEqualWithAccuracy(0.0, [[message getExtension:[UnittestRoot optionalDoubleExtension]] dou…
1433 XCTAssertFalse([[message getExtension:[UnittestRoot optionalBoolExtension]] boolValue]);
1434 XCTAssertEqualObjects(@"", [message getExtension:[UnittestRoot optionalStringExtension]]);
1435 …XCTAssertEqualObjects(GPBEmptyNSData(), [message getExtension:[UnittestRoot optionalBytesExtension…
1439 XCTAssertFalse([[message getExtension:[UnittestRoot optionalGroupExtension]] hasA]);
1440 XCTAssertFalse([[message getExtension:[UnittestRoot optionalNestedMessageExtension]] hasBb]);
1441 XCTAssertFalse([[message getExtension:[UnittestRoot optionalForeignMessageExtension]] hasC]);
1442 XCTAssertFalse([[message getExtension:[UnittestRoot optionalImportMessageExtension]] hasD]);
1444 …XCTAssertEqual(0, [(TestAllTypes_OptionalGroup*)[message getExtension:[UnittestRoot optionalGroupE…
1445 …XCTAssertEqual(0, [(TestAllTypes_NestedMessage*)[message getExtension:[UnittestRoot optionalNested…
1446 XCTAssertEqual(0, [[message getExtension:[UnittestRoot optionalForeignMessageExtension]] c]);
1447 XCTAssertEqual(0, [[message getExtension:[UnittestRoot optionalImportMessageExtension]] d]);
1451 [[message getExtension:[UnittestRoot optionalNestedEnumExtension]] intValue]);
1453 [[message getExtension:[UnittestRoot optionalForeignEnumExtension]] intValue]);
1455 [[message getExtension:[UnittestRoot optionalImportEnumExtension]] intValue]);
1457 XCTAssertEqualObjects(@"", [message getExtension:[UnittestRoot optionalStringPieceExtension]]);
1458 XCTAssertEqualObjects(@"", [message getExtension:[UnittestRoot optionalCordExtension]]);
1461 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedInt32Extension]] count]);
1462 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedInt64Extension]] count]);
1463 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedUint32Extension]] count]);
1464 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedUint64Extension]] count]);
1465 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedSint32Extension]] count]);
1466 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedSint64Extension]] count]);
1467 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedFixed32Extension]] count]);
1468 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedFixed64Extension]] count]);
1469 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedSfixed32Extension]] count]);
1470 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedSfixed64Extension]] count]);
1471 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedFloatExtension]] count]);
1472 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedDoubleExtension]] count]);
1473 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedBoolExtension]] count]);
1474 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedStringExtension]] count]);
1475 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedBytesExtension]] count]);
1477 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedGroupExtension]] count]);
1478 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedNestedMessageExtension]] count]);
1479 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedForeignMessageExtension]] count]);
1480 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedImportMessageExtension]] count]);
1481 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedNestedEnumExtension]] count]);
1482 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedForeignEnumExtension]] count]);
1483 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedImportEnumExtension]] count]);
1485 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedStringPieceExtension]] count]);
1486 XCTAssertEqual(0U, [[message getExtension:[UnittestRoot repeatedCordExtension]] count]);
1513 XCTAssertEqual( 41, [[message getExtension:[UnittestRoot defaultInt32Extension]] intValue]);
1514 …XCTAssertEqual( 42LL, [[message getExtension:[UnittestRoot defaultInt64Extension]] longLongValue]);
1515 …XCTAssertEqual( 43U, [[message getExtension:[UnittestRoot defaultUint32Extension]] unsignedIntValu…
1516 …XCTAssertEqual( 44ULL, [[message getExtension:[UnittestRoot defaultUint64Extension]] unsignedLongL…
1517 XCTAssertEqual(-45, [[message getExtension:[UnittestRoot defaultSint32Extension]] intValue]);
1518 …XCTAssertEqual( 46LL, [[message getExtension:[UnittestRoot defaultSint64Extension]] longLongValue]…
1519 XCTAssertEqual( 47, [[message getExtension:[UnittestRoot defaultFixed32Extension]] intValue]);
1520 …XCTAssertEqual( 48ULL, [[message getExtension:[UnittestRoot defaultFixed64Extension]] unsignedLong…
1521 XCTAssertEqual( 49, [[message getExtension:[UnittestRoot defaultSfixed32Extension]] intValue]);
1522 …XCTAssertEqual(-50LL, [[message getExtension:[UnittestRoot defaultSfixed64Extension]] longLongValu…
1523 …XCTAssertEqualWithAccuracy( 51.5f, [[message getExtension:[UnittestRoot defaultFloatExtension]] fl…
1524 …XCTAssertEqualWithAccuracy( 52e3, [[message getExtension:[UnittestRoot defaultDoubleExtension]] do…
1525 XCTAssertTrue([[message getExtension:[UnittestRoot defaultBoolExtension]] boolValue]);
1526 XCTAssertEqualObjects(@"hello", [message getExtension:[UnittestRoot defaultStringExtension]]);
1527 …XCTAssertEqualObjects([NSData gpbtu_dataWithCString:"world"], [message getExtension:[UnittestRoot …
1530 [[message getExtension:[UnittestRoot defaultNestedEnumExtension]] intValue]);
1532 [[message getExtension:[UnittestRoot defaultForeignEnumExtension]] intValue]);
1534 [[message getExtension:[UnittestRoot defaultImportEnumExtension]] intValue]);
1536 XCTAssertEqualObjects(@"abc", [message getExtension:[UnittestRoot defaultStringPieceExtension]]);
1537 XCTAssertEqualObjects(@"123", [message getExtension:[UnittestRoot defaultCordExtension]]);
1932 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedInt32Extension]] count]);
1933 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedInt64Extension]] count]);
1934 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedUint32Extension]] count]);
1935 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedUint64Extension]] count]);
1936 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedSint32Extension]] count]);
1937 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedSint64Extension]] count]);
1938 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedFixed32Extension]] count]);
1939 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedFixed64Extension]] count]);
1940 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedSfixed32Extension]] count]);
1941 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedSfixed64Extension]] count]);
1942 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedFloatExtension]] count]);
1943 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedDoubleExtension]] count]);
1944 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedBoolExtension]] count]);
1945 XCTAssertEqual(count, [[message getExtension:[UnittestRoot packedEnumExtension]] count]);
1948 id extension = [message getExtension:[UnittestRoot packedInt32Extension]];
1950 extension = [message getExtension:[UnittestRoot packedInt64Extension]];
1952 extension = [message getExtension:[UnittestRoot packedUint32Extension]];
1954 extension = [message getExtension:[UnittestRoot packedUint64Extension]];
1956 extension = [message getExtension:[UnittestRoot packedSint32Extension]];
1958 extension = [message getExtension:[UnittestRoot packedSint64Extension]];
1960 extension = [message getExtension:[UnittestRoot packedFixed32Extension]];
1962 extension = [message getExtension:[UnittestRoot packedFixed64Extension]];
1964 extension = [message getExtension:[UnittestRoot packedSfixed32Extension]];
1966 extension = [message getExtension:[UnittestRoot packedSfixed64Extension]];
1968 extension = [message getExtension:[UnittestRoot packedFloatExtension]];
1970 extension = [message getExtension:[UnittestRoot packedDoubleExtension]];
1972 extension = [message getExtension:[UnittestRoot packedBoolExtension]];
1974 extension = [message getExtension:[UnittestRoot packedEnumExtension]];