|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.annotations.TestAnnotations
public class TestAnnotations
Utility class used to help process annotations on tests and test steps.
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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.
returnspublic String[] getAnnotatedIssuesForMethod(String methodName)
public String getAnnotatedIssueForTestCase(Class<?> testCase)
public String[] getAnnotatedIssuesForTestCase(Class<?> testCase)
public List<String> getIssuesForMethod(String methodName)
public List<TestTag> getTagsForMethod(String methodName)
public List<TestTag> getTags()
public TestTag convertToTestTag(WithTag withTag)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||