public class MockClassParser extends Object
| Constructor and Description |
|---|
MockClassParser() |
| Modifier and Type | Method and Description |
|---|---|
List<MethodInfo> |
getTestableMockMethods(String className)
Get information of all mock methods
|
boolean |
isMockClass(org.objectweb.asm.tree.ClassNode cn)
Check whether any method in specified class has mock-related annotation
|
public List<MethodInfo> getTestableMockMethods(String className)
className - mock class namepublic boolean isMockClass(org.objectweb.asm.tree.ClassNode cn)
cn - class that need to exploreCopyright © 2021. All rights reserved.