C D F G I M N O R S T V 

C

ClassPathUtils - Class in org.xenei.junit.contract
Package of class path searching utilities
ClassPathUtils() - Constructor for class org.xenei.junit.contract.ClassPathUtils
 
cleanUp() - Method in interface org.xenei.junit.contract.IProducer
All allocated instances may now be cleaned up.
computeTestMethods() - Method in class org.xenei.junit.contract.ContractTestRunner
Returns the methods that run tests.
Contract - Annotation Type in org.xenei.junit.contract
Annotation to declare a test is the contract test for an interface.
Contract.Inject - Annotation Type in org.xenei.junit.contract
The Contract.Inject annotation specifies the method to be called to retrieve an instance of a producer for the class under test.
ContractImpl - Annotation Type in org.xenei.junit.contract
Annotation to declare the type the ContractSuite is testing.
ContractSuite - Class in org.xenei.junit.contract
Class that runs the Contract annotated tests.
ContractSuite(Class<?>, RunnerBuilder) - Constructor for class org.xenei.junit.contract.ContractSuite
Called reflectively on classes annotated with @RunWith(Suite.class)
ContractTest - Annotation Type in org.xenei.junit.contract
Annotation to declare a test method for an interface.
ContractTestRunner - Class in org.xenei.junit.contract
Class to run the Contract annotated tests in a suite or stand alone
ContractTestRunner(Object, TestInfo, TestInfo) - Constructor for class org.xenei.junit.contract.ContractTestRunner
Create a test runner within the ContractTestSuite
ContractTestRunner(Class<?>) - Constructor for class org.xenei.junit.contract.ContractTestRunner
Create a test runner for stand alone test
createTest() - Method in class org.xenei.junit.contract.ContractTestRunner
Create the concrete class passing it the producer instance from the getter class.

D

describeChild(Runner) - Method in class org.xenei.junit.contract.ContractSuite
 
describeChild(FrameworkMethod) - Method in class org.xenei.junit.contract.ContractTestRunner
 
Dynamic - Interface in org.xenei.junit.contract
Interface that defines a test suite as being dynamic.
Dynamic.Inject - Annotation Type in org.xenei.junit.contract
The Dynamic.Inject annotation specifies the getter to be called to retrieve an instance of a producer for the suite under test.
DynamicSuiteInfo - Class in org.xenei.junit.contract.info
Handles dynamic suites.
DynamicSuiteInfo(Class<? extends Dynamic>, ContractImpl) - Constructor for class org.xenei.junit.contract.info.DynamicSuiteInfo
Constructor
DynamicTestInfo - Class in org.xenei.junit.contract.info
Handles tests in dynamic suites.
DynamicTestInfo(Class<?>, ContractImpl, DynamicSuiteInfo) - Constructor for class org.xenei.junit.contract.info.DynamicTestInfo
 

F

findAnnotatedGetter(Class<?>, Class<? extends Annotation>) - Static method in class org.xenei.junit.contract.MethodUtils
Find a getter with the specified annotation.
findAnnotatedSetter(Class<?>, Class<? extends Annotation>) - Static method in class org.xenei.junit.contract.MethodUtils
Find a setter with the specified annotation.
findClasses(String, String) - Static method in class org.xenei.junit.contract.ClassPathUtils
Recursive method used to find all classes in a given directory and subdirs.

G

getChildren() - Method in class org.xenei.junit.contract.ContractSuite
 
getClasses(String) - Static method in class org.xenei.junit.contract.ClassPathUtils
Scans all classes accessible from the context class loader which belong to the given package and subpackages.
getClassPathElements() - Static method in class org.xenei.junit.contract.ClassPathUtils
Get the array of class path elements.
getContractClass() - Method in class org.xenei.junit.contract.info.TestInfo
 
getContractName() - Method in class org.xenei.junit.contract.info.TestInfo
 
getDynamicInjector() - Method in class org.xenei.junit.contract.info.DynamicSuiteInfo
 
getDynamicInjector() - Method in class org.xenei.junit.contract.info.DynamicTestInfo
 
getMethod() - Method in class org.xenei.junit.contract.info.TestInfo
 
getName() - Method in class org.xenei.junit.contract.ContractTestRunner
Returns a name used to describe this Runner
getPackageName() - Method in class org.xenei.junit.contract.info.TestInfo
 
getProducer(Object) - Method in class org.xenei.junit.contract.info.DynamicTestInfo
Get a producer that is to be injected in to the test.
getSimpleContractName() - Method in class org.xenei.junit.contract.info.TestInfo
 
getSimpleTestName() - Method in class org.xenei.junit.contract.info.TestInfo
 
getSkipTests() - Method in class org.xenei.junit.contract.info.TestInfo
 
getSuiteClasses() - Method in interface org.xenei.junit.contract.Dynamic
 
getTestClass() - Method in class org.xenei.junit.contract.info.TestInfo
 
getTestName() - Method in class org.xenei.junit.contract.info.TestInfo
 

I

IProducer<T> - Interface in org.xenei.junit.contract
An interface that produces the object under test for the Contract tests.
isAbstract() - Method in class org.xenei.junit.contract.info.TestInfo
 

M

MethodUtils - Class in org.xenei.junit.contract
Static methods to find annotated getter and setters.
MethodUtils() - Constructor for class org.xenei.junit.contract.MethodUtils
 

N

newInstance() - Method in interface org.xenei.junit.contract.IProducer
Return a new instance of T.

O

org.xenei.junit.contract - package org.xenei.junit.contract
 
org.xenei.junit.contract.info - package org.xenei.junit.contract.info
 

R

runChild(Runner, RunNotifier) - Method in class org.xenei.junit.contract.ContractSuite
 

S

SuiteInfo - Class in org.xenei.junit.contract.info
Class that contains the contract test and the class that is the contract as well as the method used to get the producer implementation for the suite tests.
SuiteInfo(Class<?>, ContractImpl) - Constructor for class org.xenei.junit.contract.info.SuiteInfo
Constructor
SuiteInfo(Class<?>, ContractImpl, Method) - Constructor for class org.xenei.junit.contract.info.SuiteInfo
 

T

TestInfo - Class in org.xenei.junit.contract.info
Class that contains the contract test and the class that is the contract as well as the method used to get the producer implementation for the tests.
TestInfo(Class<?>, ContractImpl, Method) - Constructor for class org.xenei.junit.contract.info.TestInfo
Constructor
TestInfo(Class<?>, Contract) - Constructor for class org.xenei.junit.contract.info.TestInfo
Constructor
toString() - Method in class org.xenei.junit.contract.info.TestInfo
 

V

validateConstructor(List<Throwable>) - Method in class org.xenei.junit.contract.ContractTestRunner
Adds to errors if the test class has more than one constructor, or if the constructor takes parameters.
C D F G I M N O R S T V 

Copyright © 2013-2014 XENEI.com. All Rights Reserved.