Home
last modified time | relevance | path

Searched refs:proxy2 (Results 1 – 9 of 9) sorted by relevance

/external/javassist/src/test/test/javassist/proxy/
DProxyFactoryCompatibilityTest.java63 TestClass proxy2 = (TestClass)proxyClass2.getConstructor().newInstance(); in testFactoryCompatibility() local
64 ((ProxyObject) proxy2).setHandler(handler); in testFactoryCompatibility()
65 proxy2.testMethod(); in testFactoryCompatibility()
66 assertTrue(proxy2.isTestCalled()); in testFactoryCompatibility()
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/internal/bytecode/
DProxyMakerTest.java46 Thing proxy2 = maker.createProxy(Thing.class, thing2); in cachesProxyClass() local
48 assertThat(proxy1.getClass()).isSameInstanceAs(proxy2.getClass()); in cachesProxyClass()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java164 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr2); in test_openConnectionLjava_net_Proxy() local
165 Proxy proxyList[] = { proxy1, proxy2 }; in test_openConnectionLjava_net_Proxy()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DProxyDetectorImplTest.java159 Proxy proxy2 = new java.net.Proxy(java.net.Proxy.Type.HTTP, otherProxy); in pickFirstHttpProxy() local
160 when(proxySelector.select(any(URI.class))).thenReturn(ImmutableList.of(proxy1, proxy2)); in pickFirstHttpProxy()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DInlineByteBuddyMockMakerTest.java314 …GenericSubClass proxy2 = mockMaker.createMock(settings, new MockHandlerImpl<GenericSubClass>(setti… in test_clear_all_mock_clears_handler() local
322 assertThat(mockMaker.getHandler(proxy2)).isNull(); in test_clear_all_mock_clears_handler()
/external/perfetto/src/ipc/
Dclient_impl_unittest.cc463 std::unique_ptr<FakeProxy> proxy2(new FakeProxy("FakeSvc2", &proxy_events_)); in TEST_F() local
466 cli_->BindService(proxy2->GetWeakPtr()); in TEST_F()
/external/python/cpython2/Lib/test/
Dtest_weakref.py210 proxy2 = weakref.proxy(o)
211 self.assertIs(proxy1, proxy2,
374 proxy2 = weakref.proxy(o, self.callback)
378 del ref1, ref2, proxy1, proxy2
/external/python/cpython3/Lib/test/
Dtest_weakref.py225 proxy2 = weakref.proxy(o)
226 self.assertIs(proxy1, proxy2,
442 proxy2 = weakref.proxy(o, self.callback)
446 del ref1, ref2, proxy1, proxy2
/external/skqp/tests/
DProcessorTest.cpp177 sk_sp<GrTextureProxy> proxy2 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() local