Home
last modified time | relevance | path

Searched refs:instance2 (Results 1 – 18 of 18) sorted by relevance

/external/openscreen/discovery/dnssd/impl/
Dpublisher_impl_unittest.cc93 const DnsSdInstance instance2("instance2", "_service._udp", "domain", {}, 80); in TEST_F() local
124 .WillOnce([instance2](const DnsSdInstance& requested, in TEST_F()
126 EXPECT_EQ(instance2, claimed); in TEST_F()
179 DnsSdInstance instance2("instance", "_service._udp", "domain", in TEST_F() local
181 EXPECT_EQ(publisher()->UpdateRegistration(instance2), Error::None()); in TEST_F()
193 EXPECT_CALL(client, OnEndpointClaimed(instance2, _)) in TEST_F()
194 .WillOnce([instance2](const DnsSdInstance& requested, in TEST_F()
196 EXPECT_EQ(instance2, claimed); in TEST_F()
Dquerier_impl_unittest.cc141 name2(DomainName{instance2, "_service", "_udp", domain}) {
211 std::string instance2 = "instance2"; member in openscreen::discovery::DnsSdQuerierImplTest
247 DomainName{instance2, "_service2", "_udp", domain}); in TEST_F()
569 DnsSdInstanceEndpoint instance2("instance2", "_service2._udp", "local", {}, in TEST_F() local
581 before_changes.emplace_back(instance2); in TEST_F()
594 EXPECT_CALL(callback, OnEndpointDeleted(instance2)); in TEST_F()
608 DnsSdInstanceEndpoint instance2("instance2", "_service2._udp", "local", {}, in TEST_F() local
621 before_changes.emplace_back(instance2); in TEST_F()
645 EXPECT_CALL(callback, OnEndpointDeleted(instance2)); in TEST_F()
/external/openscreen/discovery/dnssd/public/
Ddns_sd_instance_endpoint_unittest.cc18 DnsSdInstance instance2("instance", "_test._tcp", "local", {}, 79); in TEST() local
25 DnsSdInstanceEndpoint endpoint3(instance2, kIndex1, ep2); in TEST()
26 DnsSdInstanceEndpoint endpoint4(instance2, kIndex0, ep2); in TEST()
27 DnsSdInstanceEndpoint endpoint5(instance2, kIndex1, ep3); in TEST()
/external/openscreen/cast/common/discovery/e2e_test/
Dtests.cc347 auto instance2 = GetInfo(2); in TEST_F() local
352 PublishRecords(instance1, instance2, instance3); in TEST_F()
361 CheckForClaimedIds(instance2, &found2); in TEST_F()
372 CheckForPublishedService(instance2, &found2); in TEST_F()
393 auto instance2 = GetInfo(2); in TEST_F() local
398 PublishRecords(instance1, instance2, instance3); in TEST_F()
407 CheckForClaimedIds(instance2, &found2); in TEST_F()
418 CheckForPublishedService(instance2, &found2); in TEST_F()
435 CheckNotPublishedService(instance2, &found2); in TEST_F()
/external/python/pybind11/tests/
Dtest_methods_and_attributes.py12 instance2 = m.ExampleMandA(32)
14 instance1.add1(instance2)
15 instance1.add2(instance2)
16 instance1.add3(instance2)
17 instance1.add4(instance2)
18 instance1.add5(instance2)
26 assert str(instance2) == "ExampleMandA[value=32]"
61 del instance1, instance2
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoValueJava8Test.java410 NullablePropertyWithBuilder instance2 = in testOmitNullableWithBuilder() local
412 assertThat(instance2.notNullable()).isEqualTo("hello"); in testOmitNullableWithBuilder()
413 assertThat(instance2.nullable()).isNull(); in testOmitNullableWithBuilder()
414 assertThat(instance1).isEqualTo(instance2); in testOmitNullableWithBuilder()
454 OptionalPropertyWithNullableBuilder instance2 = in testOmitOptionalWithNullableBuilder() local
456 assertThat(instance2.notOptional()).isEqualTo("hello"); in testOmitOptionalWithNullableBuilder()
457 assertThat(instance2.optional()).isEmpty(); in testOmitOptionalWithNullableBuilder()
458 assertThat(instance1).isEqualTo(instance2); in testOmitOptionalWithNullableBuilder()
494 NullableOptionalPropertyWithNullableBuilder instance2 = in testNullableOptional() local
496 assertThat(instance2.optional()).isEmpty(); in testNullableOptional()
DAutoValueTest.java98 Simple instance2 = Simple.create("", 0, ImmutableMap.<String, Long>of()); in testSimple() local
111 .addEqualityGroup(instance2) in testSimple()
782 GenericProperties instance2 = in testGenericProperties() local
786 new EqualsTester().addEqualityGroup(instance1).addEqualityGroup(instance2).testEquals(); in testGenericProperties()
789 instance2.hairyMap()); in testGenericProperties()
915 NotNodeExpression2 instance2 = NotNodeExpression2.create(); in testConcreteWithGenericParent() local
916 assertThat(instance2.getType()).isInstanceOf(NodeType.class); in testConcreteWithGenericParent()
1321 MoreComplexInheritance instance2 = MoreComplexInheritance.create(); in testMoreComplexInheritance() local
1322 assertThat(instance1).isEqualTo(instance2); in testMoreComplexInheritance()
1323 assertThat(instance1).isNotSameInstanceAs(instance2); in testMoreComplexInheritance()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dtest_instance_tracker_test.cc138 CopyableMovableInstance instance2(instance1); in TEST() local
139 CopyableMovableInstance instance3(std::move(instance2)); in TEST()
/external/abseil-cpp/absl/container/internal/
Dtest_instance_tracker_test.cc138 CopyableMovableInstance instance2(instance1); in TEST() local
139 CopyableMovableInstance instance3(std::move(instance2)); in TEST()
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dtest_instance_tracker_test.cc138 CopyableMovableInstance instance2(instance1); in TEST() local
139 CopyableMovableInstance instance3(std::move(instance2)); in TEST()
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dtest_instance_tracker_test.cc138 CopyableMovableInstance instance2(instance1); in TEST() local
139 CopyableMovableInstance instance3(std::move(instance2)); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dtest_instance_tracker_test.cc138 CopyableMovableInstance instance2(instance1); in TEST() local
139 CopyableMovableInstance instance3(std::move(instance2)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dtest_instance_tracker_test.cc138 CopyableMovableInstance instance2(instance1); in TEST() local
139 CopyableMovableInstance instance3(std::move(instance2)); in TEST()
/external/clang/test/SemaObjC/
Dconditional-expr-6.m38 id <MyProtocol> instance2 = (argc) ? set : n1;
/external/llvm-project/clang/test/SemaObjC/
Dconditional-expr-6.m38 id <MyProtocol> instance2 = (argc) ? set : n1;
/external/python/cpython2/Lib/unittest/test/
Dtest_runner.py68 (test1, (Type1, instance1, _)), (test2, (Type2, instance2, _)) = reversed(MockResult.errors)
70 self.assertEqual((test2, Type2, instance2), (test, Exception, exc2))
/external/python/cpython3/Lib/unittest/test/
Dtest_runner.py98 (_, (Type2, instance2, _))) = reversed(outcome.errors)
100 self.assertEqual((Type2, instance2), (Exception, exc2))
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py115 (Type2, instance2, _)) = reversed(MockResult.errors)
117 self.assertEqual((test2, Type2, instance2), (test, Exception, exc2))