Home
last modified time | relevance | path

Searched refs:mapInt32Int32 (Results 1 – 23 of 23) sorted by relevance

/external/cronet/stable/third_party/protobuf/objectivec/Tests/
DGPBSwiftTests.swift56 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto2Basics()
57 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto2Basics()
92 XCTAssertEqual(msg.mapInt32Int32.count, UInt(2)) in testProto2Basics()
94 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 500)) in testProto2Basics()
96 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 501)) in testProto2Basics()
132 XCTAssertEqual(msg.mapInt32Int32.count, UInt(0)) in testProto2Basics()
154 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto3Basics()
155 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto3Basics()
185 XCTAssertEqual(msg.mapInt32Int32.count, UInt(2)) in testProto3Basics()
187 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey:500)) in testProto3Basics()
[all …]
DGPBMessageTests+Serialization.m1323 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1325 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:1]);
1337 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1339 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:2]);
1351 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1353 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:2]);
1365 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1367 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:1]);
1379 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1381 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:0]);
[all …]
DGPBMessageTests+Runtime.m2691 XCTAssertNotEqual(msg1.mapInt32Int32, msg2.mapInt32Int32);
DGPBTestUtilities.m1092 [message.mapInt32Int32 setInt32:(i + 1) forKey:100 + i * 100];
/external/cronet/tot/third_party/protobuf/objectivec/Tests/
DGPBSwiftTests.swift56 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto2Basics()
57 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto2Basics()
92 XCTAssertEqual(msg.mapInt32Int32.count, UInt(2)) in testProto2Basics()
94 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 500)) in testProto2Basics()
96 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 501)) in testProto2Basics()
132 XCTAssertEqual(msg.mapInt32Int32.count, UInt(0)) in testProto2Basics()
154 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto3Basics()
155 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto3Basics()
185 XCTAssertEqual(msg.mapInt32Int32.count, UInt(2)) in testProto3Basics()
187 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey:500)) in testProto3Basics()
[all …]
DGPBMessageTests+Serialization.m1323 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1325 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:1]);
1337 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1339 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:2]);
1351 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1353 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:2]);
1365 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1367 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:1]);
1379 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1381 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:0]);
[all …]
DGPBMessageTests+Runtime.m2691 XCTAssertNotEqual(msg1.mapInt32Int32, msg2.mapInt32Int32);
DGPBTestUtilities.m1092 [message.mapInt32Int32 setInt32:(i + 1) forKey:100 + i * 100];
/external/protobuf/objectivec/Tests/
DGPBSwiftTests.swift56 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto2Basics()
57 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto2Basics()
92 XCTAssertEqual(msg.mapInt32Int32.count, UInt(2)) in testProto2Basics()
94 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 500)) in testProto2Basics()
96 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey: 501)) in testProto2Basics()
132 XCTAssertEqual(msg.mapInt32Int32.count, UInt(0)) in testProto2Basics()
154 msg.mapInt32Int32.setInt32(400, forKey:500) in testProto3Basics()
155 msg.mapInt32Int32.setInt32(401, forKey:501) in testProto3Basics()
185 XCTAssertEqual(msg.mapInt32Int32.count, UInt(2)) in testProto3Basics()
187 XCTAssertTrue(msg.mapInt32Int32.getInt32(&intValue, forKey:500)) in testProto3Basics()
[all …]
DGPBMessageTests+Serialization.m1323 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1325 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:1]);
1337 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1339 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:2]);
1351 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1353 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:2]);
1365 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1367 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:1]);
1379 XCTAssertEqual(msg.mapInt32Int32.count, 1U);
1381 XCTAssertTrue([msg.mapInt32Int32 getInt32:&val forKey:0]);
[all …]
DGPBMessageTests+Runtime.m2691 XCTAssertNotEqual(msg1.mapInt32Int32, msg2.mapInt32Int32);
DGPBTestUtilities.m1092 [message.mapInt32Int32 setInt32:(i + 1) forKey:100 + i * 100];
/external/cronet/stable/third_party/protobuf/java/kotlin-lite/src/test/kotlin/com/google/protobuf/
DProto2LiteTest.kt712 mapInt32Int32[1] = 2 in testMapSetters()
757 mapInt32Int32.put(1, 2) in testMapGettersAndSetters()
758 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2)) in testMapGettersAndSetters()
759 mapInt32Int32[3] = 4 in testMapGettersAndSetters()
760 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2, 3 to 4)) in testMapGettersAndSetters()
761 mapInt32Int32.putAll(mapOf(5 to 6, 7 to 8)) in testMapGettersAndSetters()
762 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2, 3 to 4, 5 to 6, 7 to 8)) in testMapGettersAndSetters()
812 mapInt32Int32.putAll(mapOf(1 to 2, 3 to 4)) in testMapRemove()
813 mapInt32Int32.remove(1) in testMapRemove()
814 assertThat(mapInt32Int32).isEqualTo(mapOf(3 to 4)) in testMapRemove()
[all …]
/external/cronet/tot/third_party/protobuf/java/kotlin-lite/src/test/kotlin/com/google/protobuf/
DProto2LiteTest.kt712 mapInt32Int32[1] = 2 in testMapSetters()
757 mapInt32Int32.put(1, 2) in testMapGettersAndSetters()
758 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2)) in testMapGettersAndSetters()
759 mapInt32Int32[3] = 4 in testMapGettersAndSetters()
760 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2, 3 to 4)) in testMapGettersAndSetters()
761 mapInt32Int32.putAll(mapOf(5 to 6, 7 to 8)) in testMapGettersAndSetters()
762 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2, 3 to 4, 5 to 6, 7 to 8)) in testMapGettersAndSetters()
812 mapInt32Int32.putAll(mapOf(1 to 2, 3 to 4)) in testMapRemove()
813 mapInt32Int32.remove(1) in testMapRemove()
814 assertThat(mapInt32Int32).isEqualTo(mapOf(3 to 4)) in testMapRemove()
[all …]
/external/protobuf/java/kotlin-lite/src/test/kotlin/com/google/protobuf/
DProto2LiteTest.kt712 mapInt32Int32[1] = 2 in testMapSetters()
757 mapInt32Int32.put(1, 2) in testMapGettersAndSetters()
758 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2)) in testMapGettersAndSetters()
759 mapInt32Int32[3] = 4 in testMapGettersAndSetters()
760 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2, 3 to 4)) in testMapGettersAndSetters()
761 mapInt32Int32.putAll(mapOf(5 to 6, 7 to 8)) in testMapGettersAndSetters()
762 assertThat(mapInt32Int32).isEqualTo(mapOf(1 to 2, 3 to 4, 5 to 6, 7 to 8)) in testMapGettersAndSetters()
812 mapInt32Int32.putAll(mapOf(1 to 2, 3 to 4)) in testMapRemove()
813 mapInt32Int32.remove(1) in testMapRemove()
814 assertThat(mapInt32Int32).isEqualTo(mapOf(3 to 4)) in testMapRemove()
[all …]
/external/kotlinx.serialization/formats/protobuf/jvmTest/src/kotlinx/serialization/protobuf/conformance/
DProto3MapTest.kt15 @ProtoNumber(56) val mapInt32Int32: Map<Int, Int> = emptyMap(), constant in kotlinx.serialization.protobuf.conformance.KTestMessagesProto3Map
40 mapInt32Int32 = Gen.map(Gen.int(), Gen.int()).generate(), in default()
81 assertEquals(message.mapInt32Int32, restored.mapInt32Int32Map) in default()
/external/golang-protobuf/internal/fuzz/jsonfuzz/corpus/
De619335648415cae976b3200d5a291e8da4b48661 …essage":[{"a":1}, {}, {"a":2}], "repeatedNestedEnum":["FOO", "BAR"], "mapInt32Int32":{"1056":1156,…
/external/cronet/stable/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc2374 R"({"mapInt32Int32": {"1": 2, "3": 4}})",
2379 R"({"mapInt32Int32": {1: 2, 3: 4}})");
2433 R"({"mapInt32Int32": {"\u0031": 2}})",
2553 "mapInt32Int32": null, in RunJsonTestsForNullTypes()
2569 R"({"mapInt32Int32": {null: 1}})"); in RunJsonTestsForNullTypes()
2573 R"({"mapInt32Int32": {"0": null}})"); in RunJsonTestsForNullTypes()
/external/cronet/tot/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc2374 R"({"mapInt32Int32": {"1": 2, "3": 4}})",
2379 R"({"mapInt32Int32": {1: 2, 3: 4}})");
2433 R"({"mapInt32Int32": {"\u0031": 2}})",
2553 "mapInt32Int32": null, in RunJsonTestsForNullTypes()
2569 R"({"mapInt32Int32": {null: 1}})"); in RunJsonTestsForNullTypes()
2573 R"({"mapInt32Int32": {"0": null}})"); in RunJsonTestsForNullTypes()
/external/protobuf/conformance/
Dbinary_json_conformance_suite.cc2374 R"({"mapInt32Int32": {"1": 2, "3": 4}})",
2379 R"({"mapInt32Int32": {1: 2, 3: 4}})");
2433 R"({"mapInt32Int32": {"\u0031": 2}})",
2553 "mapInt32Int32": null, in RunJsonTestsForNullTypes()
2569 R"({"mapInt32Int32": {null: 1}})"); in RunJsonTestsForNullTypes()
2573 R"({"mapInt32Int32": {"0": null}})"); in RunJsonTestsForNullTypes()
/external/protobuf/php/tests/
DGeneratedClassTest.php690 $mapInt32Int32 = $n->getMapInt32Int32();
691 $mapInt32Int32[1] = 300;
692 $mapInt32Int32[-62] = 301;
693 $n->setMapInt32Int32($mapInt32Int32);
/external/cronet/tot/third_party/protobuf/php/tests/
DGeneratedClassTest.php690 $mapInt32Int32 = $n->getMapInt32Int32();
691 $mapInt32Int32[1] = 300;
692 $mapInt32Int32[-62] = 301;
693 $n->setMapInt32Int32($mapInt32Int32);
/external/cronet/stable/third_party/protobuf/php/tests/
DGeneratedClassTest.php690 $mapInt32Int32 = $n->getMapInt32Int32();
691 $mapInt32Int32[1] = 300;
692 $mapInt32Int32[-62] = 301;
693 $n->setMapInt32Int32($mapInt32Int32);