|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.functest.framework.suite.JUnit4WebTestDescription
public class JUnit4WebTestDescription
WebTestDescription based on the JUnit4
Description.
| Field Summary | |
|---|---|
static com.google.common.base.Function<org.junit.runner.Description,WebTestDescription> |
TRANSFORMER
|
| Constructor Summary | |
|---|---|
JUnit4WebTestDescription(org.junit.runner.Description description)
|
|
| Method Summary | |
|---|---|
Iterable<Annotation> |
annotations()
List of annotations of the test. |
Set<Category> |
categories()
Set of categories describing this test. |
Iterable<WebTestDescription> |
children()
Descriptions of child tests. |
String |
className()
Test class name, or null if this is neither a single test, nor a suite constructed for a test class. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
boolean |
isSuite()
Is it a test suite? |
boolean |
isTest()
Is it a single test? |
String |
methodName()
Test method name, or null if this is not a single test. |
String |
name()
Display name of the test. |
Class<?> |
testClass()
Test class, or null if this is neither a single test, nor a suite constructed for a test class.. |
int |
testCount()
Number of single, 'atomic' tests encapsulated by the described test. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static com.google.common.base.Function<org.junit.runner.Description,WebTestDescription> TRANSFORMER
| Constructor Detail |
|---|
public JUnit4WebTestDescription(org.junit.runner.Description description)
| Method Detail |
|---|
public String name()
WebTestDescription
name in interface WebTestDescriptionpublic String className()
WebTestDescriptionnull if this is neither a single test, nor a suite constructed for a test class.
className in interface WebTestDescriptionpublic String methodName()
WebTestDescriptionnull if this is not a single test.
methodName in interface WebTestDescriptionpublic Class<?> testClass()
WebTestDescriptionnull if this is neither a single test, nor a suite constructed for a test class..
testClass in interface WebTestDescriptionpublic Iterable<Annotation> annotations()
WebTestDescription
annotations in interface WebTestDescriptionpublic Set<Category> categories()
WebTestDescription
categories in interface WebTestDescriptionpublic boolean isTest()
WebTestDescription
isTest in interface WebTestDescriptiontrue, if this description describes a single testpublic boolean isSuite()
WebTestDescription
isSuite in interface WebTestDescriptiontrue, if this description describes a test suite, i.e. when WebTestDescription.isTest()
returns falsepublic int testCount()
WebTestDescription
testCount in interface WebTestDescriptionpublic Iterable<WebTestDescription> children()
WebTestDescription
children in interface WebTestDescriptionpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||