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