|
||||||||||
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 WebTestDescription
public String className()
WebTestDescription
null
if this is neither a single test, nor a suite constructed for a test class.
className
in interface WebTestDescription
public String methodName()
WebTestDescription
null
if this is not a single test.
methodName
in interface WebTestDescription
public Class<?> testClass()
WebTestDescription
null
if this is neither a single test, nor a suite constructed for a test class..
testClass
in interface WebTestDescription
public Iterable<Annotation> annotations()
WebTestDescription
annotations
in interface WebTestDescription
public Set<Category> categories()
WebTestDescription
categories
in interface WebTestDescription
public boolean isTest()
WebTestDescription
isTest
in interface WebTestDescription
true
, if this description describes a single testpublic boolean isSuite()
WebTestDescription
isSuite
in interface WebTestDescription
true
, if this description describes a test suite, i.e. when WebTestDescription.isTest()
returns false
public int testCount()
WebTestDescription
testCount
in interface WebTestDescription
public Iterable<WebTestDescription> children()
WebTestDescription
children
in interface WebTestDescription
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |