Class JUnit3WebTestDescription
java.lang.Object
com.atlassian.jira.functest.framework.JUnit3WebTestDescription
- All Implemented Interfaces:
WebTestDescription
WebTestDescription based on the JUnit4
Description.- Since:
- v4.4
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.google.common.base.Function<junit.framework.Test, WebTestDescription> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of annotations of the test.Set of categories describing this test.children()Descriptions of child tests.Test class name, ornullif this is neither a single test, nor a suite constructed for a test class.booleaninthashCode()booleanisSuite()Is it a test suite?booleanisTest()Is it a single test?Test method name, ornullif this is not a single test.name()Display name of the test.Class<?> Test class, ornullif this is neither a single test, nor a suite constructed for a test class..intNumber of single, 'atomic' tests encapsulated by the described test.
-
Field Details
-
TRANSFORMER
-
-
Constructor Details
-
JUnit3WebTestDescription
public JUnit3WebTestDescription(junit.framework.Test test)
-
-
Method Details
-
name
Description copied from interface:WebTestDescriptionDisplay name of the test.- Specified by:
namein interfaceWebTestDescription- Returns:
- name of the test
-
className
Description copied from interface:WebTestDescriptionTest class name, ornullif this is neither a single test, nor a suite constructed for a test class.- Specified by:
classNamein interfaceWebTestDescription- Returns:
- test class name
-
methodName
Description copied from interface:WebTestDescriptionTest method name, ornullif this is not a single test.- Specified by:
methodNamein interfaceWebTestDescription- Returns:
- method name
-
testClass
Description copied from interface:WebTestDescriptionTest class, ornullif this is neither a single test, nor a suite constructed for a test class..- Specified by:
testClassin interfaceWebTestDescription- Returns:
- test class
-
annotations
Description copied from interface:WebTestDescriptionList of annotations of the test.- Specified by:
annotationsin interfaceWebTestDescription- Returns:
- test annotations
-
categories
Description copied from interface:WebTestDescriptionSet of categories describing this test.- Specified by:
categoriesin interfaceWebTestDescription- Returns:
- categories of this test
-
isTest
public boolean isTest()Description copied from interface:WebTestDescriptionIs it a single test?- Specified by:
isTestin interfaceWebTestDescription- Returns:
true, if this description describes a single test
-
isSuite
public boolean isSuite()Description copied from interface:WebTestDescriptionIs it a test suite?- Specified by:
isSuitein interfaceWebTestDescription- Returns:
true, if this description describes a test suite, i.e. whenWebTestDescription.isTest()returnsfalse
-
testCount
public int testCount()Description copied from interface:WebTestDescriptionNumber of single, 'atomic' tests encapsulated by the described test.- Specified by:
testCountin interfaceWebTestDescription- Returns:
- number of single tests within this test.
-
children
Description copied from interface:WebTestDescriptionDescriptions of child tests.- Specified by:
childrenin interfaceWebTestDescription- Returns:
- descriptions of child tests of the described test
-
equals
-
hashCode
public int hashCode()
-