B C D E H I J O P S T V 

B

before() - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This will generate the default testLocator for this test class, which will search the package of the test itself for classes annotated with @Service.

C

Classes - Annotation Type in org.jvnet.hk2.testing.junit.annotations
A set of classes that should be analyzed as services, whether they declare @Service or not.
ClassVisitorImpl - Class in org.jvnet.hk2.testing.junit.internal
 
ClassVisitorImpl(ServiceLocator, boolean, Set<String>) - Constructor for class org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
Creates this with the config to add to if this is a service
configure(DynamicConfiguration) - Method in interface org.jvnet.hk2.testing.junit.HK2TestModule
Allows the test to easily configure their test
create(String, HK2TestModule...) - Static method in class org.jvnet.hk2.testing.junit.HK2TestUtilities
 
create(String, ServiceLocator, HK2TestModule...) - Static method in class org.jvnet.hk2.testing.junit.HK2TestUtilities
Will create a ServiceLocator after doing test-specific bindings from the TestModule

D

DEFAULT_INHABITANT_PATH - Static variable in annotation type org.jvnet.hk2.testing.junit.annotations.InhabitantFiles
 

E

ErrorServiceImpl - Class in org.jvnet.hk2.testing.junit.internal
 
ErrorServiceImpl() - Constructor for class org.jvnet.hk2.testing.junit.internal.ErrorServiceImpl
 
Excludes - Annotation Type in org.jvnet.hk2.testing.junit.annotations
A set of implementations that should be excluded from being added to testLocator.

H

HK2Runner - Class in org.jvnet.hk2.testing.junit
This class should be extended by test classes in order to get an automatically filled in ServiceLocator.
HK2Runner() - Constructor for class org.jvnet.hk2.testing.junit.HK2Runner
 
HK2TestModule - Interface in org.jvnet.hk2.testing.junit
 
HK2TestUtilities - Class in org.jvnet.hk2.testing.junit
These are other useful test utilities that can be used
HK2TestUtilities() - Constructor for class org.jvnet.hk2.testing.junit.HK2TestUtilities
 

I

InhabitantFiles - Annotation Type in org.jvnet.hk2.testing.junit.annotations
A set of locator inhabitant files to search for in the classpath.
initialize() - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services.
initialize(String, List<String>, List<Class<?>>) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services from the given list of packages (in "." format) and with the set of classes given.
initialize(String, List<String>, List<Class<?>>, Set<String>) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services from the given list of packages (in "." format) and with the set of classes given.
initialize(String, List<String>, List<Class<?>>, Set<String>, Set<String>) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
This method initializes the service locator with services from the given list of packages (in "." format) and with the set of classes given.

J

JustInTimeInjectionResolverImpl - Class in org.jvnet.hk2.testing.junit.internal
 
JustInTimeInjectionResolverImpl() - Constructor for class org.jvnet.hk2.testing.junit.internal.JustInTimeInjectionResolverImpl
 
justInTimeResolution(Injectee) - Method in class org.jvnet.hk2.testing.junit.internal.JustInTimeInjectionResolverImpl
 

O

onFailure(ErrorInformation) - Method in class org.jvnet.hk2.testing.junit.internal.ErrorServiceImpl
 
org.jvnet.hk2.testing.junit - package org.jvnet.hk2.testing.junit
 
org.jvnet.hk2.testing.junit.annotations - package org.jvnet.hk2.testing.junit.annotations
 
org.jvnet.hk2.testing.junit.internal - package org.jvnet.hk2.testing.junit.internal
 

P

Packages - Annotation Type in org.jvnet.hk2.testing.junit.annotations
The list of packages (in "." format, i.e.

S

setVerbosity(boolean) - Method in class org.jvnet.hk2.testing.junit.HK2Runner
 

T

testLocator - Variable in class org.jvnet.hk2.testing.junit.HK2Runner
Test classes can use this service locator as their private test locator
THIS_PACKAGE - Static variable in annotation type org.jvnet.hk2.testing.junit.annotations.Packages
This special value indicates the same package as the package in which the test itself resides

V

visit(int, int, String, String, String, String[]) - Method in class org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
 
visitAnnotation(String, boolean) - Method in class org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
 
visitEnd() - Method in class org.jvnet.hk2.testing.junit.internal.ClassVisitorImpl
 
B C D E H I J O P S T V 

Copyright © 2009-2015 Oracle Corporation. All Rights Reserved.