Class ArgumentTestDescriptor.Builder
java.lang.Object
org.antublue.test.engine.internal.descriptor.ArgumentTestDescriptor.Builder
- Enclosing class:
ArgumentTestDescriptor
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 childrensetTestArgument(int testArgumentIndex, Argument testArgument) Method to set the test argumentsetTestClass(Class<?> testClass) Method to set the test classsetTestMethods(List<Method> testMethods) Method to set the list of test methods
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setTestClass
Method to set the test class- Parameters:
testClass- testClass- Returns:
- this
-
setTestArgument
Method to set the test argument- Parameters:
testArgumentIndex- testArgumentIndextestArgument- testArgument- Returns:
- this
-
setTestMethods
Method to set the 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
-