- cleanUp() - Method in interface org.xenei.junit.contract.IProducer
-
All allocated instances may now be cleaned up.
- compareTo(TestInfo) - Method in class org.xenei.junit.contract.info.TestInfo
-
- 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.
- ContractExclude - Annotation Type in org.xenei.junit.contract
-
Annotation to exclude specific test methods from the contract suite.
- ContractExcludes - Annotation Type in org.xenei.junit.contract
-
The container for repeated ContractExclude annotations.
- 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.
- ContractTestMap - Class in org.xenei.junit.contract.info
-
A map like object that maintains information about test classes and the
classes they test.
- ContractTestMap() - Constructor for class org.xenei.junit.contract.info.ContractTestMap
-
Constructor
- ContractTestMap(ClassPathFilter) - Constructor for class org.xenei.junit.contract.info.ContractTestMap
-
Constructor
- ContractTestRunner - Class in org.xenei.junit.contract
-
Class to run the Contract annotated tests in a suite or stand alone
- ContractTestRunner(Object, TestInfo, TestInfo, List<Method>) - 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.
- getAllInterfaces(Class<?>) - Method in class org.xenei.junit.contract.info.ContractTestMap
-
Get all interfaces the class implements.
- getAnnotatedClasses(Set<TestInfo>, TestInfo) - Method in class org.xenei.junit.contract.info.ContractTestMap
-
Find all the test classes that test the interfaces that contractClassInfo
implements
Adds the results to the testClasses parameter set.
- getChildren() - Method in class org.xenei.junit.contract.ContractSuite
-
- getClassFilter() - Method in class org.xenei.junit.contract.tooling.InterfaceReport
-
Get the filter
- getClassUnderTest() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get class under test.
- getClassUnderTestPackageName() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the package name of the class under test..
- getContractName() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the canonical name of the class under test.
- getContractTestClass() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the contract test class.
- getDescription() - Method in class org.xenei.junit.contract.info.TestInfoErrorRunner
-
- getDynamicInjector() - Method in class org.xenei.junit.contract.info.DynamicSuiteInfo
-
Get the method that returns the Dynamic IProducer.
- getDynamicInjector() - Method in class org.xenei.junit.contract.info.DynamicTestInfo
-
Get the method that returns the Dynamic IProducer.
- getErrors() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the list of exceptions from the constructor.
- getErrors() - Method in class org.xenei.junit.contract.tooling.InterfaceReport
-
Get the set of errors encountered when discovering contract tests.
- getInfoByInterfaceClass(Class<?>) - Method in class org.xenei.junit.contract.info.ContractTestMap
-
Get a TestInfo for a interface under test.
- getInfoByTestClass(Class<?>) - Method in class org.xenei.junit.contract.info.ContractTestMap
-
Get a TestInfo for the test class.
- getInterfaceInfoCollection() - Method in class org.xenei.junit.contract.tooling.InterfaceReport
-
Get a collection of InterfaceInfo objects for the entire test suite.
- getJunitTestClass() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the TestClass for the contract test.
- getMethod() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the method to retrieve the producer implementation.
- getName() - Method in class org.xenei.junit.contract.ContractTestRunner
-
Returns a name used to describe this Runner
- getName() - Method in class org.xenei.junit.contract.tooling.InterfaceInfo
-
Get the interface class
- getPackageClasses() - Method in class org.xenei.junit.contract.tooling.InterfaceReport
-
Get the collection of Class objects that were included in the packages.
- getProducer(Object) - Method in class org.xenei.junit.contract.info.DynamicTestInfo
-
Get a producer that is to be injected in to the test.
- getSimpleClassUnderTestName() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the simple name of the class under test.
- getSimpleTestName() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the contract test simple name.
- getSkipTests() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get an array of classes to skip.
- getSuiteClasses() - Method in interface org.xenei.junit.contract.Dynamic
-
Get the set of set of classes in the test suite.
- getTestName() - Method in class org.xenei.junit.contract.info.TestInfo
-
Get the contract test canonical name.
- getTests() - Method in class org.xenei.junit.contract.tooling.InterfaceInfo
-
Get the set of tests for the interface.
- getUnImplementedTests() - Method in class org.xenei.junit.contract.tooling.InterfaceReport
-
Search for classes that extend interfaces with contract tests but that
don't have an implementation of the test producer.
- getUntestedInterfaces() - Method in class org.xenei.junit.contract.tooling.InterfaceReport
-
get a set of interfaces that do not have contract tests defined.