Class ClassTestDescriptor.Builder
java.lang.Object
org.antublue.test.engine.internal.descriptor.ClassTestDescriptor.Builder
- Enclosing class:
ClassTestDescriptor
Class to implement a Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(org.junit.platform.engine.TestDescriptor parentTestDescriptor) Method to build the test descriptor and any childrensetTestArguments(List<Argument> testArguments) Method to set a list of test argumentssetTestClass(Class<?> testClass) Method to set the test classsetTestMethods(List<Method> testMethods) Method to set a list of test methods
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setTestClass
Method to set the test class- Parameters:
testClass- testClass- Returns:
- this
-
setTestArguments
Method to set a list of test arguments- Parameters:
testArguments- testArguments- Returns:
- this
-
setTestMethods
Method to set a list of test methods- Parameters:
testMethods- testMethods- Returns:
- this
-
build
public void build(org.junit.platform.engine.TestDescriptor parentTestDescriptor) Method to build the test descriptor and any children- Parameters:
parentTestDescriptor- parentTestDescriptor
-