- 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.