public class SkipIfUnusableTest extends Object
| Constructor and Description | 
|---|
| SkipIfUnusableTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | testAcceptSkippedOptionalDep()Injection of component that optionally uses a skipped default should succeed. | 
| void | testFailOptionalDepHasUnmetDep()Injection of component that optionally uses a non-skipped but transitively non-instantiable default should fail. | 
| void | testFailWithUnsatisfiedTransitiveDep()A skippable default with a satisfied dependency that itself has an unsatisfied dependency should fail. | 
| void | testFailWithUnusableDefaultForDep()Injection of component that depends on a skipped default should fail. | 
| void | testNestedSkipping()Skippable defaults dependend on by skippable defaults should cleanly be skipped. | 
| void | testSatisfyImplementation()A skippable default with satisfied dependencies should be injected. | 
| void | testSatisfyProvider()A skippable default provider with satisfied dependencies should be injected. | 
| void | testSkipImplementation()A skippable default without satisfied dependencies should not be injected. | 
| void | testSkipProvider()A skippable default provider without satisfied dependencies should not be injected. | 
public void testSatisfyImplementation()
                               throws InjectionException
InjectionExceptionpublic void testSatisfyProvider()
                         throws InjectionException
InjectionExceptionpublic void testSkipImplementation()
public void testSkipProvider()
public void testFailWithUnsatisfiedTransitiveDep()
public void testFailWithUnusableDefaultForDep()
public void testAcceptSkippedOptionalDep()
public void testFailOptionalDepHasUnmetDep()
public void testNestedSkipping()
                        throws InjectionException
InjectionExceptionCopyright © 2016 GroupLens Research. All rights reserved.