Class MethodTestDescriptor.Builder
java.lang.Object
org.antublue.test.engine.internal.descriptor.MethodTestDescriptor.Builder
- Enclosing class:
MethodTestDescriptor
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 argument index and test argumentsetTestClass(Class<?> testClass) Method to set the test classsetTestMethod(Method testMethod) Method to set the test method
-
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 index and test argument- Parameters:
testArgumentIndex- testArgumentIndextestArgument- testArgument- Returns:
- this
-
setTestMethod
Method to set the test method- Parameters:
testMethod- testMethod- Returns:
- this
-
build
public void build(org.junit.platform.engine.TestDescriptor parentTestDescriptor) Method to build the test descriptor and any children- Parameters:
parentTestDescriptor- parentTestDescriptor
-