• Home
  • Raw
  • Download

Lines Matching refs:forKey

56     msg.mapInt32Int32.setInt32(400, forKey:500)  in testProto2Basics()
57 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto2Basics()
58 msg.mapStringString.setObject("foo", forKey:"bar" as NSString) in testProto2Basics()
59 msg.mapStringString.setObject("abc", forKey:"xyz" as NSString) in testProto2Basics()
60 msg.mapInt32Enum.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto2Basics()
61 msg.mapInt32Enum.setEnum(Message2_Enum.baz.rawValue, forKey:601) in testProto2Basics()
94 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 500)) in testProto2Basics()
96 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 501)) in testProto2Basics()
99 XCTAssertEqual(msg.mapStringString.object(forKey: "bar") as? String, "foo") in testProto2Basics()
100 XCTAssertEqual(msg.mapStringString.object(forKey: "xyz") as? String, "abc") in testProto2Basics()
102 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:600)) in testProto2Basics()
104 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:601)) in testProto2Basics()
154 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto3Basics()
155 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto3Basics()
156 msg.mapStringString.setObject("foo", forKey:"bar" as NSString) in testProto3Basics()
157 msg.mapStringString.setObject("abc", forKey:"xyz" as NSString) in testProto3Basics()
158 msg.mapInt32Enum.setEnum(Message2_Enum.bar.rawValue, forKey:600) in testProto3Basics()
160 msg.mapInt32Enum.setRawValue(666, forKey:601) in testProto3Basics()
187 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey:500)) in testProto3Basics()
189 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey:501)) in testProto3Basics()
192 XCTAssertEqual(msg.mapStringString.object(forKey: "bar") as? String, "foo") in testProto3Basics()
193 XCTAssertEqual(msg.mapStringString.object(forKey: "xyz") as? String, "abc") in testProto3Basics()
195 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:600)) in testProto3Basics()
197 XCTAssertTrue(msg.mapInt32Enum.getEnum(&intValue, forKey:601)) in testProto3Basics()
199 XCTAssertTrue(msg.mapInt32Enum.getRawValue(&intValue, forKey:601)) in testProto3Basics()
442 msg.mapInt32Int32.setInt32(200, forKey:300) in testSerialization()
443 msg.mapInt32Int32.setInt32(201, forKey:201) in testSerialization()
444 msg.mapStringString.setObject("foo", forKey:"bar" as NSString) in testSerialization()
445 msg.mapStringString.setObject("abc", forKey:"xyz" as NSString) in testSerialization()