Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DJitBindingsTest.java63 bind(Foo.class).to(FooImpl.class); in testLinkedBindingWorks()
71 ensureFails(injector, ALLOW_BINDING, FooImpl.class); in testLinkedBindingWorks()
81 bind(Foo.class).to(FooImpl.class); in testMoreBasicsWork()
91 ensureFails(injector, ALLOW_BINDING, FooImpl.class); in testMoreBasicsWork()
101 bind(Foo.class).to(FooImpl.class).asEagerSingleton(); in testLinkedEagerSingleton()
109 ensureFails(injector, ALLOW_BINDING, FooImpl.class); in testLinkedEagerSingleton()
119 bind(Foo.class).to(FooImpl.class).asEagerSingleton(); in testBasicsWithEagerSingleton()
129 ensureFails(injector, ALLOW_BINDING, FooImpl.class); in testBasicsWithEagerSingleton()
202 ensureFails(injector, FAIL_ALL, FooImpl.class); in testLinkedProviderBindingWorks()
229 bind(Foo.class).to(FooImpl.class); in testJitInjectionFails()
[all …]
DDuplicateBindingsTest.java44 private FooImpl foo = new FooImpl();
45 private Provider<Foo> pFoo = Providers.<Foo>of(new FooImpl());
47 private Class<? extends Foo> clFoo = FooImpl.class;
48 private Constructor<FooImpl> cFoo = FooImpl.cxtor();
63 assertTrue(bindings.remove(Key.get(FooImpl.class))); in testDuplicateBindingsAreIgnored()
154 + FooImpl.class.getName() in testMixedScopeFails()
190 new FooImpl(), in testMixedTargetsFails()
191 Providers.<Foo>of(new FooImpl()), in testMixedTargetsFails()
436 protected final FooImpl foo;
440 protected final Constructor<FooImpl> cFoo;
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestJsonSerializeAs.java18 public static class FooImpl implements Fooable { class in TestJsonSerializeAs
31 public FooImpl[] getFoos() { in getFoos()
32 return new FooImpl[] { new FooImpl() }; in getFoos()
37 public FooImpl getFoo() { in getFoo()
38 return new FooImpl(); in getFoo()
91 assertEquals("{\"foo\":42}", WRITER.writeValueAsString(new FooImpl())); in testSerializeAsInClass()
/external/dagger2/javatests/dagger/functional/assisted/
DAssistedFactoryBindsTest.java48 static final class FooImpl implements Foo { class in AssistedFactoryBindsTest
53 FooImpl(Dep dep, @Assisted AssistedDep assistedDep) { in FooImpl() method in AssistedFactoryBindsTest.FooImpl
66 FooImpl create(AssistedDep assistedDep); in create()
83 assertThat(foo).isInstanceOf(FooImpl.class); in testFooFactory()
85 FooImpl fooImpl = (FooImpl) foo; in testFooFactory()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithDelegateVarArgsTest.java20 private static final class FooImpl implements Foo { class in StubbingWithDelegateVarArgsTest
32 .defaultAnswer(delegatesTo(new FooImpl()))); in should_not_fail_when_calling_varargs_method()
39 .defaultAnswer(delegatesTo(new FooImpl()))); in should_not_fail_when_calling_varargs_method_without_arguments()
47 .defaultAnswer(delegatesTo(new FooImpl()))); in should_not_fail_when_calling_varargs_method_with_null_argument()
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
DForwardsInvocationsTest.java18 private static final class FooImpl implements Foo { class in ForwardsInvocationsTest
27 ForwardsInvocations forwardsInvocations = new ForwardsInvocations(new FooImpl()); in should_call_method_with_varargs()
33 ForwardsInvocations forwardsInvocations = new ForwardsInvocations(new FooImpl()); in should_call_method_with_empty_varargs()
/external/google-fruit/extras/doc/
Dtemplated_component.tex7 \newcomponent{5}{0}{FooImpl}
9 \umlassemblyconnector[interface=FooImpl<T>]{bind}{FooImpl}
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/sharedTest/java/dagger/hilt/android/simple/
DModuleTest.java67 @Inject FooImpl fooImpl;
137 abstract Foo foo(FooImpl fooImpl); in foo()
143 static final class FooImpl implements Foo { class in ModuleTest
145 FooImpl() {} in FooImpl() method in ModuleTest.FooImpl
/external/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/simple/
DModuleTest.java67 @Inject FooImpl fooImpl;
137 abstract Foo foo(FooImpl fooImpl); in foo()
143 static final class FooImpl implements Foo { class in ModuleTest
145 FooImpl() {} in FooImpl() method in ModuleTest.FooImpl
/external/guice/extensions/jmx/test/com/google/inject/tools/jmx/
DJmxTest.java33 static class FooImpl implements Foo {} class in JmxTest
52 bind(Foo.class).to(FooImpl.class); in configure()
54 bind(Foo.class).annotatedWith(Transactional.class).to(FooImpl.class); in configure()
/external/mockito/src/test/java/org/mockitousage/debugging/
DVerboseLoggingOfInvocationsOnMockTest.java126 FooImpl fooSpy = mock(FooImpl.class, in shouldPrintRealInvocationOnSpyToStdOut()
127 withSettings().spiedInstance(new FooImpl()).verboseLogging()); in shouldPrintRealInvocationOnSpyToStdOut()
175 static class FooImpl implements Foo { class in VerboseLoggingOfInvocationsOnMockTest
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayerTest.cpp135 Function *FooImpl = MB.createFunctionDecl( in TEST() local
139 BasicBlock::Create(*TSCtx.getContext(), "entry", FooImpl); in TEST()
213 Function *FooImpl = MB.createFunctionDecl( in TEST() local
217 BasicBlock::Create(*TSCtx.getContext(), "entry", FooImpl); in TEST()
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp155 Function *FooImpl = MB2.createFunctionDecl<int32_t(void)>("foo"); in TEST_F() local
156 BasicBlock *FooEntry = BasicBlock::Create(Context, "entry", FooImpl); in TEST_F()
/external/llvm-project/clang/test/SemaCXX/
Duninitialized.cpp571 template <typename T> class FooImpl : public Foo { class
574 FooImpl(const T &x) : val(x) {} in FooImpl() function in rdar10398199::FooImpl
575 ~FooImpl() { stuff(); } in ~FooImpl()
578 template <typename T> FooImpl<T> makeFoo(const T& x) { in makeFoo()
579 return FooImpl<T>(x); in makeFoo()
/external/clang/test/SemaCXX/
Duninitialized.cpp571 template <typename T> class FooImpl : public Foo { class
574 FooImpl(const T &x) : val(x) {} in FooImpl() function in rdar10398199::FooImpl
575 ~FooImpl() { stuff(); } in ~FooImpl()
578 template <typename T> FooImpl<T> makeFoo(const T& x) { in makeFoo()
579 return FooImpl<T>(x); in makeFoo()
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md1109 class FooImpl : public Foo {
1122 In this example, `bar_binding_`'s lifespan is tied to that of `FooImpl`. But you