Searched refs:proxyFor (Results 1 – 7 of 7) sorted by relevance
96 ExampleClass proxy = proxyFor(ExampleClass.class).build(); in testExampleOperation()104 ExampleOperationClass proxy = proxyFor(ExampleOperationClass.class).build(); in testExampleOperation_DexMakerCaching()111 proxy = proxyFor(ExampleOperationClass.class).build(); in testExampleOperation_DexMakerCaching()130 ConstructorTakesArguments proxy = proxyFor(ConstructorTakesArguments.class) in testConstruction_SucceedsIfCorrectArgumentsProvided()140 proxyFor(ConstructorTakesArguments.class).build(); in testConstruction_FailsWithWrongNumberOfArguments()146 proxyFor(MethodVisibilityClass.class).build(); in testClassIsNotAccessbile_FailsWithUnsupportedOperationException()153 proxyFor(PrivateVisibilityClass.class).build(); in testPrivateClass_FailsWithUnsupportedOperationException()164 assertEquals("fake result", proxyFor(ProtectedVisibilityClass.class).build().foo()); in testProtectedVisibility_WorksFine()179 HasFinalMethod proxy = proxyFor(HasFinalMethod.class).build(); in testCanProxyClassesWithFinalMethods_WillNotCallTheFinalMethod()192 HasPrivateMethod proxy = proxyFor(HasPrivateMethod.class).build(); in testProxyingPrivateMethods_NotIntercepted()[all …]
84 ProxyParameters detected = proxyDetector.proxyFor(destination); in override_hostPort()102 ProxyParameters detected = proxyDetector.proxyFor(destination); in override_hostOnly()117 assertNull(proxyDetector.proxyFor(destination)); in returnNullWhenNoProxy()125 ProxyParameters detected = proxyDetector.proxyFor(destination); in detectProxyForUnresolvedDestination()139 ProxyParameters detected = proxyDetector.proxyFor(destination); in detectProxyForResolvedDestination()150 ProxyParameters proxy = proxyDetector.proxyFor(destination); in unresolvedProxyAddressBecomesResolved()162 ProxyParameters detected = proxyDetector.proxyFor(destination); in pickFirstHttpProxy()170 assertNull(proxyDetector.proxyFor(mock(SocketAddress.class))); in noProxyForNonInetSocket()190 ProxyParameters detected = proxyDetector.proxyFor(destination); in authRequired()212 assertNull(proxyDetector.proxyFor(destination)); in proxySelectorReturnsNull()
503 when(alwaysDetectProxy.proxyFor(any(SocketAddress.class))) in doNotResolveWhenProxyDetected()
36 ProxyParameters proxyFor(SocketAddress targetServerAddress) throws IOException; in proxyFor() method
187 public ProxyParameters proxyFor(SocketAddress targetServerAddress) throws IOException { in proxyFor() method in ProxyDetectorImpl
246 public ProxyParameters proxyFor(SocketAddress targetServerAddress) {
215 proxy = proxyDetector.proxyFor(destination);