public class DynamicTestInfo extends TestInfo
| Constructor and Description |
|---|
DynamicTestInfo(Class<?> testClass,
ContractImpl impl,
DynamicSuiteInfo suite)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Method |
getDynamicInjector()
Get the method that returns the Dynamic IProducer.
|
Object |
getProducer(Object baseProducer)
Get a producer that is to be injected in to the test.
|
addError, compareTo, equals, getContractName, getContractTestClass, getErrors, getInterfaceClass, getInterfacePackageName, getJunitTestClass, getMethod, getSimpleInterfaceName, getSimpleTestName, getSkipTests, getTestName, hasErrors, hashCode, isAbstract, toStringpublic DynamicTestInfo(Class<?> testClass, ContractImpl impl, DynamicSuiteInfo suite)
testClass - The test class.impl - The ContractImpl annotation.suite - The dynamic suite this belongs to.public Method getDynamicInjector()
public Object getProducer(Object baseProducer) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, InstantiationException
baseProducer - the producer for the suite as designated by the Dynamic.Inject
annotationIllegalAccessException - if invoked methods can not be executed or contract test class
can not be instantiated.IllegalArgumentException - if invoked methods can not be executed or contract test class
can not be instantiated.InvocationTargetException - if invoked methods can not be executed or contract test class
can not be instantiated.InstantiationException - if invoked methods can not be executed or contract test class
can not be instantiated.Copyright © 2013-2016 XENEI.com. All Rights Reserved.