Searched refs:expectedUri (Results 1 – 5 of 5) sorted by relevance
22 private final Uri expectedUri; field in ParameterizedRobolectricTestRunnerUriTest26 String expectedUri) { in ParameterizedRobolectricTestRunnerUriTest() argument29 this.expectedUri = Uri.parse(expectedUri); in ParameterizedRobolectricTestRunnerUriTest()35 assertThat(Uri.parse(basePath).buildUpon().path(resourcePath).build()).isEqualTo(expectedUri); in parse()
106 private URI expectedUri = URI.create("https://testauthority/a.service"); field in GoogleAuthLibraryCallCredentialsTest151 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 …]
117 private void testValidTarget(String target, String expectedUriString, URI expectedUri) { in testValidTarget() argument118 Factory nameResolverFactory = new FakeNameResolverFactory(expectedUri.getScheme()); in testValidTarget()122 assertEquals(expectedUri, nameResolver.uri); in testValidTarget()
155 private URI expectedUri; field in ManagedChannelImplTest251 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 …]