| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION_TEST |
| Constructor and Description |
|---|
SpockFramework() |
| Modifier and Type | Method and Description |
|---|---|
TestCaseMethodType |
checkMethodType(org.objectweb.asm.tree.MethodNode mn)
Check whether a method is test or cleanup method
|
boolean |
fit(Set<String> classAnnotations,
Set<String> methodAnnotations)
Check whether the test class using current test framework
|
org.objectweb.asm.tree.MethodNode |
getCleanupMethod(String className)
Generate cleanup method with correct name and annotations
|
public static final String ANNOTATION_TEST
public boolean fit(Set<String> classAnnotations, Set<String> methodAnnotations)
Frameworkpublic TestCaseMethodType checkMethodType(org.objectweb.asm.tree.MethodNode mn)
FrameworkcheckMethodType in interface Frameworkmn - method nodepublic org.objectweb.asm.tree.MethodNode getCleanupMethod(String className)
FrameworkgetCleanupMethod in interface FrameworkclassName - full name of test classCopyright © 2021. All rights reserved.