Home
last modified time | relevance | path

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

/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/
DRobolectricProcessorTest.java5 import static com.google.testing.compile.JavaFileObjects.forResource;
63 forResource("org/robolectric/annotation/processing/shadows/ShadowDummy.java"), in generatedFile_shouldHandleInnerClassCollisions()
64 forResource("org/robolectric/annotation/processing/shadows/ShadowOuterDummy.java"), in generatedFile_shouldHandleInnerClassCollisions()
65 forResource("org/robolectric/annotation/processing/shadows/ShadowUniqueDummy.java"))) in generatedFile_shouldHandleInnerClassCollisions()
69 .generatesSources(forResource("org/robolectric/Robolectric_InnerClassCollision.java")); in generatedFile_shouldHandleInnerClassCollisions()
78 forResource("org/robolectric/annotation/processing/shadows/ShadowPrivate.java"), in generatedFile_shouldHandleNonPublicClasses()
79 forResource("org/robolectric/annotation/processing/shadows/ShadowOuterDummy2.java"), in generatedFile_shouldHandleNonPublicClasses()
80 forResource("org/robolectric/annotation/processing/shadows/ShadowDummy.java"))) in generatedFile_shouldHandleNonPublicClasses()
84 .generatesSources(forResource("org/robolectric/Robolectric_HiddenClasses.java")); in generatedFile_shouldHandleNonPublicClasses()
93forResource("org/robolectric/annotation/processing/shadows/ShadowOuterDummyWithErrs.java"))) in generatedFile_shouldComplainAboutNonStaticInnerClasses()
[all …]
DUtils.java3 import static com.google.testing.compile.JavaFileObjects.forResource;
21 …public static final JavaFileObject SHADOW_PROVIDER_SOURCE = forResource("mock-source/org/robolectr…
22 …public static final JavaFileObject SHADOW_EXTRACTOR_SOURCE = forResource("mock-source/org/robolect…
DJavadocJsonGeneratorTest.java5 import static com.google.testing.compile.JavaFileObjects.forResource;
30 forResource("org/robolectric/DocumentedObjectOuter.java"), in shouldGenerateJavadocJson()
31 forResource( in shouldGenerateJavadocJson()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/processor/
DOperatorProcessorTest.java48 JavaFileObjects.forResource("src/main/java/org/tensorflow/op/annotation/Operator.java"), in compile()
49 JavaFileObjects.forResource(path)); in compile()
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/
DRealObjectValidatorTest.java4 import static com.google.testing.compile.JavaFileObjects.forResource;
101forResource("org/robolectric/annotation/processing/shadows/ShadowRealObjectWithCorrectClassName.ja… in realObjectWithCorrectClassName_shouldCompile()
DSingleClassSubject.java33 source = JavaFileObjects.forResource(Utils.toResourcePath(subject)); in SingleClassSubject()
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DModelTests.swift27 forResource: Constant.modelInfo.name, in setUp()
DInterpreterTests.swift248 guard let path = bundle.path(forResource: info.name, ofType: info.extension) else { return "" }
280 guard let path = bundle.path(forResource: info.name, ofType: info.extension) else { return "" }
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DSharedResourcePool.java29 public static <T> SharedResourcePool<T> forResource(SharedResourceHolder.Resource<T> resource) { in forResource() method in SharedResourcePool
DAbstractManagedChannelImplBuilder.java84 SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR);
409 SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR), in build()
DAbstractServerImplBuilder.java61 SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR);
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbLoadBalancerFactory.java52 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), in newLoadBalancer()
/external/grpc-grpc-java/core/src/test/java/io/grpc/inprocess/
DInProcessTransportTest.java42 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), streamTracerFactories); in newServer()
DInProcessServerTest.java40 new InProcessServer("name", SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE), in getPort_notStarted()
DInProcessServerBuilderTest.java62 SharedResourcePool.forResource(TIMER_SERVICE); in scheduledExecutorService_default()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessServerBuilder.java96 SharedResourcePool.forResource(GrpcUtil.TIMER_SERVICE);
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/
DAltsChannelBuilder.java66 SharedResourcePool.forResource(HandshakerServiceChannel.SHARED_HANDSHAKER_CHANNEL);
DAltsServerBuilder.java63 SharedResourcePool.forResource(HandshakerServiceChannel.SHARED_HANDSHAKER_CHANNEL);
/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DViewController.swift95 guard let modelPath = Bundle.main.path(forResource: fileInfo.name, ofType: fileInfo.extension) in loadModel()