Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DJitBindingsTest.java21 import static com.google.inject.JitBindingsTest.GetBindingCheck.ALLOW_BINDING;
22 import static com.google.inject.JitBindingsTest.GetBindingCheck.FAIL_ALL;
609 enum GetBindingCheck { FAIL_ALL, ALLOW_BINDING, ALLOW_BINDING_PROVIDER } enum in JitBindingsTest
610 private void ensureFails(Injector injector, GetBindingCheck getBinding, Class<?>... classes) { in ensureFails()
628 if (getBinding == GetBindingCheck.ALLOW_BINDING in ensureFails()
629 || getBinding == GetBindingCheck.ALLOW_BINDING_PROVIDER) { in ensureFails()
633 if (getBinding != GetBindingCheck.ALLOW_BINDING_PROVIDER) { in ensureFails()
637 if (getBinding == GetBindingCheck.ALLOW_BINDING_PROVIDER) { in ensureFails()