public class TestAnnotations extends Object
| Modifier and Type | Method and Description |
|---|---|
TestTag |
convertToTestTag(WithTag withTag) |
static TestAnnotations |
forClass(Class<?> testClass) |
com.google.common.base.Optional<String> |
getAnnotatedIssueForMethod(String methodName)
Return a list of the issues mentioned in the Issue annotation of this method.
|
String |
getAnnotatedIssueForTestCase(Class<?> testCase) |
String[] |
getAnnotatedIssuesForMethod(String methodName) |
List<String> |
getAnnotatedIssuesForMethodTitle(String methodName)
Return a list of the issues mentioned in the title annotation of this method.
|
String[] |
getAnnotatedIssuesForTestCase(Class<?> testCase) |
com.google.common.base.Optional<String> |
getAnnotatedTitleForMethod(String methodName) |
List<String> |
getIssuesForMethod(String methodName) |
List<TestTag> |
getTags() |
List<TestTag> |
getTagsForMethod(String methodName) |
static boolean |
isIgnored(Method method) |
boolean |
isIgnored(String methodName) |
static boolean |
isPending(Method method) |
boolean |
isPending(String methodName) |
public static TestAnnotations forClass(Class<?> testClass)
public com.google.common.base.Optional<String> getAnnotatedTitleForMethod(String methodName)
public boolean isPending(String methodName)
public static boolean isPending(Method method)
public static boolean isIgnored(Method method)
public boolean isIgnored(String methodName)
public List<String> getAnnotatedIssuesForMethodTitle(String methodName)
public com.google.common.base.Optional<String> getAnnotatedIssueForMethod(String methodName)
methodName - the name of the test method in the Java test class, if applicable.
returnsCopyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.