Lines Matching refs:array2
202 //% GPB##NAME##Array *array2 =
205 //% XCTAssertNotNil(array2);
222 //% XCTAssertNotEqualObjects(array1, array2);
224 //% XCTAssertNotEqualObjects(array2, array3);
228 //% [array2 release];
239 //% GPB##NAME##Array *array2 = [array copy];
240 //% XCTAssertNotNil(array2);
243 //% XCTAssertNotEqual(array, array2);
244 //% XCTAssertEqualObjects(array, array2);
245 //% [array2 release];
256 //% GPB##NAME##Array *array2 = [GPB##NAME##Array arrayWithValueArray:array];
257 //% XCTAssertNotNil(array2);
260 //% XCTAssertNotEqual(array, array2);
261 //% XCTAssertEqualObjects(array, array2);
278 //% GPB##NAME##Array *array2 =
281 //% XCTAssertNotNil(array2);
282 //% [array add##HELPER##ValuesFromArray:array2];
296 //% [array2 release];
546 GPBInt32Array *array2 =
549 XCTAssertNotNil(array2);
566 XCTAssertNotEqualObjects(array1, array2);
568 XCTAssertNotEqualObjects(array2, array3);
572 [array2 release];
583 GPBInt32Array *array2 = [array copy];
584 XCTAssertNotNil(array2);
587 XCTAssertNotEqual(array, array2);
588 XCTAssertEqualObjects(array, array2);
589 [array2 release];
600 GPBInt32Array *array2 = [GPBInt32Array arrayWithValueArray:array];
601 XCTAssertNotNil(array2);
604 XCTAssertNotEqual(array, array2);
605 XCTAssertEqualObjects(array, array2);
622 GPBInt32Array *array2 =
625 XCTAssertNotNil(array2);
626 [array addValuesFromArray:array2];
640 [array2 release];
890 GPBUInt32Array *array2 =
893 XCTAssertNotNil(array2);
910 XCTAssertNotEqualObjects(array1, array2);
912 XCTAssertNotEqualObjects(array2, array3);
916 [array2 release];
927 GPBUInt32Array *array2 = [array copy];
928 XCTAssertNotNil(array2);
931 XCTAssertNotEqual(array, array2);
932 XCTAssertEqualObjects(array, array2);
933 [array2 release];
944 GPBUInt32Array *array2 = [GPBUInt32Array arrayWithValueArray:array];
945 XCTAssertNotNil(array2);
948 XCTAssertNotEqual(array, array2);
949 XCTAssertEqualObjects(array, array2);
966 GPBUInt32Array *array2 =
969 XCTAssertNotNil(array2);
970 [array addValuesFromArray:array2];
984 [array2 release];
1234 GPBInt64Array *array2 =
1237 XCTAssertNotNil(array2);
1254 XCTAssertNotEqualObjects(array1, array2);
1256 XCTAssertNotEqualObjects(array2, array3);
1260 [array2 release];
1271 GPBInt64Array *array2 = [array copy];
1272 XCTAssertNotNil(array2);
1275 XCTAssertNotEqual(array, array2);
1276 XCTAssertEqualObjects(array, array2);
1277 [array2 release];
1288 GPBInt64Array *array2 = [GPBInt64Array arrayWithValueArray:array];
1289 XCTAssertNotNil(array2);
1292 XCTAssertNotEqual(array, array2);
1293 XCTAssertEqualObjects(array, array2);
1310 GPBInt64Array *array2 =
1313 XCTAssertNotNil(array2);
1314 [array addValuesFromArray:array2];
1328 [array2 release];
1578 GPBUInt64Array *array2 =
1581 XCTAssertNotNil(array2);
1598 XCTAssertNotEqualObjects(array1, array2);
1600 XCTAssertNotEqualObjects(array2, array3);
1604 [array2 release];
1615 GPBUInt64Array *array2 = [array copy];
1616 XCTAssertNotNil(array2);
1619 XCTAssertNotEqual(array, array2);
1620 XCTAssertEqualObjects(array, array2);
1621 [array2 release];
1632 GPBUInt64Array *array2 = [GPBUInt64Array arrayWithValueArray:array];
1633 XCTAssertNotNil(array2);
1636 XCTAssertNotEqual(array, array2);
1637 XCTAssertEqualObjects(array, array2);
1654 GPBUInt64Array *array2 =
1657 XCTAssertNotNil(array2);
1658 [array addValuesFromArray:array2];
1672 [array2 release];
1922 GPBFloatArray *array2 =
1925 XCTAssertNotNil(array2);
1942 XCTAssertNotEqualObjects(array1, array2);
1944 XCTAssertNotEqualObjects(array2, array3);
1948 [array2 release];
1959 GPBFloatArray *array2 = [array copy];
1960 XCTAssertNotNil(array2);
1963 XCTAssertNotEqual(array, array2);
1964 XCTAssertEqualObjects(array, array2);
1965 [array2 release];
1976 GPBFloatArray *array2 = [GPBFloatArray arrayWithValueArray:array];
1977 XCTAssertNotNil(array2);
1980 XCTAssertNotEqual(array, array2);
1981 XCTAssertEqualObjects(array, array2);
1998 GPBFloatArray *array2 =
2001 XCTAssertNotNil(array2);
2002 [array addValuesFromArray:array2];
2016 [array2 release];
2266 GPBDoubleArray *array2 =
2269 XCTAssertNotNil(array2);
2286 XCTAssertNotEqualObjects(array1, array2);
2288 XCTAssertNotEqualObjects(array2, array3);
2292 [array2 release];
2303 GPBDoubleArray *array2 = [array copy];
2304 XCTAssertNotNil(array2);
2307 XCTAssertNotEqual(array, array2);
2308 XCTAssertEqualObjects(array, array2);
2309 [array2 release];
2320 GPBDoubleArray *array2 = [GPBDoubleArray arrayWithValueArray:array];
2321 XCTAssertNotNil(array2);
2324 XCTAssertNotEqual(array, array2);
2325 XCTAssertEqualObjects(array, array2);
2342 GPBDoubleArray *array2 =
2345 XCTAssertNotNil(array2);
2346 [array addValuesFromArray:array2];
2360 [array2 release];
2610 GPBBoolArray *array2 =
2613 XCTAssertNotNil(array2);
2630 XCTAssertNotEqualObjects(array1, array2);
2632 XCTAssertNotEqualObjects(array2, array3);
2636 [array2 release];
2647 GPBBoolArray *array2 = [array copy];
2648 XCTAssertNotNil(array2);
2651 XCTAssertNotEqual(array, array2);
2652 XCTAssertEqualObjects(array, array2);
2653 [array2 release];
2664 GPBBoolArray *array2 = [GPBBoolArray arrayWithValueArray:array];
2665 XCTAssertNotNil(array2);
2668 XCTAssertNotEqual(array, array2);
2669 XCTAssertEqualObjects(array, array2);
2686 GPBBoolArray *array2 =
2689 XCTAssertNotNil(array2);
2690 [array addValuesFromArray:array2];
2704 [array2 release];
2954 GPBEnumArray *array2 =
2957 XCTAssertNotNil(array2);
2974 XCTAssertNotEqualObjects(array1, array2);
2976 XCTAssertNotEqualObjects(array2, array3);
2980 [array2 release];
2991 GPBEnumArray *array2 = [array copy];
2992 XCTAssertNotNil(array2);
2995 XCTAssertNotEqual(array, array2);
2996 XCTAssertEqualObjects(array, array2);
2997 [array2 release];
3008 GPBEnumArray *array2 = [GPBEnumArray arrayWithValueArray:array];
3009 XCTAssertNotNil(array2);
3012 XCTAssertNotEqual(array, array2);
3013 XCTAssertEqualObjects(array, array2);
3030 GPBEnumArray *array2 =
3033 XCTAssertNotNil(array2);
3034 [array addRawValuesFromArray:array2];
3048 [array2 release];
3287 GPBEnumArray *array2 =
3290 XCTAssertNotNil(array2);
3305 XCTAssertNotEqualObjects(array1, array2);
3307 XCTAssertNotEqualObjects(array2, array3);
3311 [array2 release];
3329 GPBEnumArray *array2 = [array copy];
3330 XCTAssertNotNil(array2);
3333 XCTAssertNotEqual(array, array2);
3334 XCTAssertEqualObjects(array, array2);
3335 XCTAssertEqual(array.validationFunc, array2.validationFunc);
3336 XCTAssertTrue([array2 isKindOfClass:[GPBEnumArray class]]);
3337 XCTAssertEqual(array2.count, 3U);
3338 XCTAssertEqual([array2 rawValueAtIndex:0], 71);
3339 XCTAssertEqual([array2 rawValueAtIndex:1], 72);
3340 XCTAssertEqual([array2 rawValueAtIndex:2], 1000);
3341 XCTAssertEqual([array2 valueAtIndex:2], kGPBUnrecognizedEnumeratorValue);
3342 [array2 release];
3354 GPBEnumArray *array2 = [GPBEnumArray arrayWithValueArray:array];
3355 XCTAssertNotNil(array2);
3358 XCTAssertNotEqual(array, array2);
3359 XCTAssertEqualObjects(array, array2);
3360 XCTAssertEqual(array.validationFunc, array2.validationFunc);
3394 GPBEnumArray *array2 =
3397 XCTAssertNotNil(array2);
3398 [array addRawValuesFromArray:array2];
3576 GPBAutocreatedArray *array2 = [[GPBAutocreatedArray alloc] init];
3578 XCTAssertFalse([array isEqual:array2]);
3579 XCTAssertFalse([array isEqualToArray:array2]);
3581 [array2 addObject:@"bar"];
3582 XCTAssertFalse([array isEqual:array2]);
3583 XCTAssertFalse([array isEqualToArray:array2]);
3585 [array2 replaceObjectAtIndex:0 withObject:@"foo"];
3586 XCTAssertTrue([array isEqual:array2]);
3587 XCTAssertTrue([array isEqualToArray:array2]);
3589 [array2 release];