Home
last modified time | relevance | path

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

/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/
DGrpcCleanupRuleTest.java311 Resource resource1 = mock(FakeResource.class, in multiResource_timeoutCalculation()
312 delegatesTo(new FakeResource(1 /* cleanupNanos */, 10 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation()
314 Resource resource2 = mock(FakeResource.class, in multiResource_timeoutCalculation()
315 delegatesTo(new FakeResource(100 /* cleanupNanos */, 1000 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation()
348 Resource resource1 = mock(FakeResource.class, in multiResource_timeoutCalculation_customTimeout()
349 delegatesTo(new FakeResource(1 /* cleanupNanos */, 10 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation_customTimeout()
351 Resource resource2 = mock(FakeResource.class, in multiResource_timeoutCalculation_customTimeout()
352 delegatesTo(new FakeResource(100 /* cleanupNanos */, 1000 /* awaitReleaseNanos */))); in multiResource_timeoutCalculation_customTimeout()
423 public static class FakeResource implements Resource { class in GrpcCleanupRuleTest
427 private FakeResource(long cleanupNanos, long awaitReleaseNanos) { in FakeResource() method in GrpcCleanupRuleTest.FakeResource