public class JUnit4TestTemplate extends Object implements TestTemplate
Constructor and Description |
---|
JUnit4TestTemplate() |
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
getTypes() |
String |
setupMethod(String methodName,
TypeManager types,
List<String> annotations,
List<String> statements) |
String |
testClass(String testName,
TypeManager types,
Map<String,String> setups,
Set<String> tests) |
String |
testMethod(String methodName,
TypeManager types,
List<String> annotations,
List<String> statements) |
public Class<?>[] getTypes()
getTypes
in interface TestTemplate
public String testClass(String testName, TypeManager types, Map<String,String> setups, Set<String> tests)
testClass
in interface TestTemplate
public String setupMethod(String methodName, TypeManager types, List<String> annotations, List<String> statements)
setupMethod
in interface TestTemplate
public String testMethod(String methodName, TypeManager types, List<String> annotations, List<String> statements)
testMethod
in interface TestTemplate
Copyright © 2020. All rights reserved.