Home
last modified time | relevance | path

Searched refs:expectedUri (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DParameterizedRobolectricTestRunnerUriTest.java22 private final Uri expectedUri; field in ParameterizedRobolectricTestRunnerUriTest
26 String expectedUri) { in ParameterizedRobolectricTestRunnerUriTest() argument
29 this.expectedUri = Uri.parse(expectedUri); in ParameterizedRobolectricTestRunnerUriTest()
35 assertThat(Uri.parse(basePath).buildUpon().path(resourcePath).build()).isEqualTo(expectedUri); in parse()
/external/robolectric/robolectric/src/test/java/org/robolectric/
DParameterizedRobolectricTestRunnerUriTest.java22 private final Uri expectedUri; field in ParameterizedRobolectricTestRunnerUriTest
26 String expectedUri) { in ParameterizedRobolectricTestRunnerUriTest() argument
29 this.expectedUri = Uri.parse(expectedUri); in ParameterizedRobolectricTestRunnerUriTest()
35 assertThat(Uri.parse(basePath).buildUpon().path(resourcePath).build()).isEqualTo(expectedUri); in parse()
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java106 private URI expectedUri = URI.create("https://testauthority/a.service"); field in GoogleAuthLibraryCallCredentialsTest
151 when(credentials.getRequestMetadata(eq(expectedUri))).thenReturn(Multimaps.asMap(values)); in copyCredentialsToHeaders()
157 verify(credentials).getRequestMetadata(eq(expectedUri)); in copyCredentialsToHeaders()
173 when(credentials.getRequestMetadata(eq(expectedUri))).thenReturn(Multimaps.asMap(values)); in invalidBase64()
179 verify(credentials).getRequestMetadata(eq(expectedUri)); in invalidBase64()
189 when(credentials.getRequestMetadata(eq(expectedUri))).thenThrow(exception); in credentialsFailsWithIoException()
195 verify(credentials).getRequestMetadata(eq(expectedUri)); in credentialsFailsWithIoException()
205 when(credentials.getRequestMetadata(eq(expectedUri))).thenThrow(exception); in credentialsFailsWithRuntimeException()
211 verify(credentials).getRequestMetadata(eq(expectedUri)); in credentialsFailsWithRuntimeException()
223 when(credentials.getRequestMetadata(eq(expectedUri))) in credentialsReturnNullMetadata()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DManagedChannelImplGetNameResolverTest.java117 private void testValidTarget(String target, String expectedUriString, URI expectedUri) { in testValidTarget() argument
118 Factory nameResolverFactory = new FakeNameResolverFactory(expectedUri.getScheme()); in testValidTarget()
122 assertEquals(expectedUri, nameResolver.uri); in testValidTarget()
DManagedChannelImplTest.java155 private URI expectedUri; field in ManagedChannelImplTest
251 expectedUri = new URI(TARGET); in setUp()
260 .nameResolverFactory(new FakeNameResolverFactory.Builder(expectedUri).build()) in setUp()
287 new FakeNameResolverFactory.Builder(expectedUri) in idleModeDisabled()
314 new FakeNameResolverFactory.Builder(expectedUri) in shutdownWithNoTransportsEverCreated()
426 new FakeNameResolverFactory.Builder(expectedUri).build(); in subtestCallsAndShutdown()
558 new FakeNameResolverFactory.Builder(expectedUri) in noMoreCallbackAfterLoadBalancerShutdown()
681 new FakeNameResolverFactory.Builder(expectedUri) in nameResolutionFailed()
728 new FakeNameResolverFactory.Builder(expectedUri).setError(error).build(); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff()
779 new FakeNameResolverFactory.Builder(expectedUri) in loadBalancerThrowsInHandleResolvedAddresses()
[all …]