public class JUnit3WebTestDescription extends Object implements WebTestDescription
WebTestDescription based on the JUnit4
Description.| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<junit.framework.Test,WebTestDescription> |
TRANSFORMER |
| Constructor and Description |
|---|
JUnit3WebTestDescription(junit.framework.Test test) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static com.google.common.base.Function<junit.framework.Test,WebTestDescription> TRANSFORMER
public JUnit3WebTestDescription(junit.framework.Test test)
public String name()
WebTestDescriptionname 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()
WebTestDescriptionannotations in interface WebTestDescriptionpublic Set<Category> categories()
WebTestDescriptioncategories in interface WebTestDescriptionpublic boolean isTest()
WebTestDescriptionisTest in interface WebTestDescriptiontrue, if this description describes a single testpublic boolean isSuite()
WebTestDescriptionisSuite in interface WebTestDescriptiontrue, if this description describes a test suite, i.e. when WebTestDescription.isTest()
returns falsepublic int testCount()
WebTestDescriptiontestCount in interface WebTestDescriptionpublic Iterable<WebTestDescription> children()
WebTestDescriptionchildren in interface WebTestDescriptionCopyright © 2002-2019 Atlassian. All Rights Reserved.