public interface Framework
| 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
|
boolean fit(Set<String> classAnnotations, Set<String> methodAnnotations)
classAnnotations - annotations of the classmethodAnnotations - annotations of all methodsTestCaseMethodType checkMethodType(org.objectweb.asm.tree.MethodNode mn)
mn - method nodeorg.objectweb.asm.tree.MethodNode getCleanupMethod(String className)
className - full name of test classCopyright © 2021. All rights reserved.