Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java55 @TestProvides @Named("foo") String foo() { in testScanning()
59 @TestProvides @Named("foo2") String foo2() { in testScanning()
72 assertEquals(methodName(TestProvides.class, "foo", module), in testScanning()
74 assertEquals(methodName(TestProvides.class, "foo2", module), in testScanning()
84 @TestProvides @Named("foo") String foo() { return "foo"; } in testSkipSources()
98 @TestProvides @Named("foo") String foo() { return "foo"; } in testWithSource()
110 @TestProvides @TestProvides2 String foo() { in testMoreThanOneClaimedAnnotationFails()
133 private @interface TestProvides {} annotation in ModuleAnnotatedMethodScannerTest
154 return ImmutableSet.of(TestProvides.class, TestProvides2.class); in annotationClasses()
200 return ImmutableSet.of(TestProvides.class);
[all …]
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java694 @TestProvides @Named("test") String provideString() { return "foo"; } in testOverridesApplyOriginalScanners()
703 private @interface TestProvides {} annotation in OverrideModuleTest
721 return ImmutableSet.of(TestProvides.class); in annotationClasses()