• Home
  • Raw
  • Download

Lines Matching refs:cpy2

98     NSDictionary *cpy2 = [dict copy];
99 XCTAssertTrue(cpy2 != dict); // Ptr compare
100 XCTAssertTrue(cpy2 != cpy); // Ptr compare
101 XCTAssertTrue([cpy2 isKindOfClass:[NSDictionary class]]);
102 XCTAssertFalse([cpy2 isKindOfClass:[GPBAutocreatedDictionary class]]);
103 XCTAssertEqual(cpy2.count, (NSUInteger)0);
105 [cpy2 release];
119 NSMutableDictionary *cpy2 = [dict mutableCopy];
120 XCTAssertTrue(cpy2 != dict); // Ptr compare
121 XCTAssertTrue(cpy2 != cpy); // Ptr compare
122 XCTAssertTrue([cpy2 isKindOfClass:[NSMutableDictionary class]]);
123 XCTAssertFalse([cpy2 isKindOfClass:[GPBAutocreatedDictionary class]]);
124 XCTAssertEqual(cpy2.count, (NSUInteger)0);
126 [cpy2 release];
144 NSDictionary *cpy2 = [dict copy];
145 XCTAssertTrue(cpy2 != dict); // Ptr compare
146 XCTAssertTrue(cpy2 != cpy); // Ptr compare
147 XCTAssertTrue([cpy2 isKindOfClass:[NSDictionary class]]);
148 XCTAssertFalse([cpy2 isKindOfClass:[GPBAutocreatedDictionary class]]);
149 XCTAssertEqual(cpy2.count, (NSUInteger)2);
150 XCTAssertEqualObjects(cpy2[@"foo"], @"bar");
151 XCTAssertEqualObjects(cpy2[@"baz"], @"mumble");
153 [cpy2 release];
171 NSMutableDictionary *cpy2 = [dict mutableCopy];
172 XCTAssertTrue(cpy2 != dict); // Ptr compare
173 XCTAssertTrue(cpy2 != cpy); // Ptr compare
174 XCTAssertTrue([cpy2 isKindOfClass:[NSMutableDictionary class]]);
175 XCTAssertFalse([cpy2 isKindOfClass:[GPBAutocreatedDictionary class]]);
176 XCTAssertEqual(cpy2.count, (NSUInteger)2);
177 XCTAssertEqualObjects(cpy2[@"foo"], @"bar");
178 XCTAssertEqualObjects(cpy2[@"baz"], @"mumble");
180 [cpy2 release];