Home
last modified time | relevance | path

Searched refs:FooImpl (Results 1 – 11 of 11) 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/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/google-fruit/extras/doc/
Dtemplated_component.tex7 \newcomponent{5}{0}{FooImpl}
9 \umlassemblyconnector[interface=FooImpl<T>]{bind}{FooImpl}
/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/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/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/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayerTest.cpp170 Function *FooImpl = MB2.createFunctionDecl<int32_t(void)>("foo"); in TEST_F() local
171 BasicBlock *FooEntry = BasicBlock::Create(Context, "entry", FooImpl); in TEST_F()
/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