public class FileClassMethodTestDetector extends Object implements TestDetector
TestDetector.MethodContext, TestDetector.SourceContext, TestDetector.TypeContext| Constructor and Description |
|---|
FileClassMethodTestDetector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTestClassSpec(TestClassSpec testClassSpec) |
void |
addTestMethodSpec(TestMethodSpec testMethodSpec)
Add TestMethodSpec to the last TestClassSpec.
|
boolean |
isMethodMatch(TestDetector.SourceContext sourceContext,
TestDetector.MethodContext methodContext) |
boolean |
isTypeMatch(TestDetector.SourceContext sourceContext,
TestDetector.TypeContext typeContext) |
void |
setExcludes(String excludePattern) |
void |
setIncludes(String includePattern) |
void |
setRoot(String root) |
String |
toString() |
public boolean isTypeMatch(TestDetector.SourceContext sourceContext, TestDetector.TypeContext typeContext)
isTypeMatch in interface TestDetectorpublic boolean isMethodMatch(TestDetector.SourceContext sourceContext, TestDetector.MethodContext methodContext)
isMethodMatch in interface TestDetectorpublic void setRoot(String root)
public void setIncludes(String includePattern)
public void setExcludes(String excludePattern)
public void addTestClassSpec(TestClassSpec testClassSpec)
public void addTestMethodSpec(TestMethodSpec testMethodSpec)
Copyright © 2024 OpenClover.org. All rights reserved.