Class TestClassTemplate
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.codegeneration.TestClassTemplate
-
public class TestClassTemplate extends Object
Handles resolution of junit 5 test class code generation.- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description TestClassTemplate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TestClassTemplatedependencies(Set<String> dependencies)static TestClassTemplatefromTestPlanMethodCall(MethodCall testPlan, Map<Class<?>,String> dependencies)TestClassTemplateimports(Set<String> imports)TestClassTemplatemethodDefinitions(List<String> methods)Stringsolve()TestClassTemplatestaticImports(Set<String> imports)TestClassTemplatetestPlan(String testPlanCode)
-
-
-
Method Detail
-
fromTestPlanMethodCall
public static TestClassTemplate fromTestPlanMethodCall(MethodCall testPlan, Map<Class<?>,String> dependencies)
-
dependencies
public TestClassTemplate dependencies(Set<String> dependencies)
-
staticImports
public TestClassTemplate staticImports(Set<String> imports)
-
imports
public TestClassTemplate imports(Set<String> imports)
-
methodDefinitions
public TestClassTemplate methodDefinitions(List<String> methods)
-
testPlan
public TestClassTemplate testPlan(String testPlanCode)
-
solve
public String solve()
-
-