public static class WebTestListenerToClientListenerAdapter.WebTestClientDescription extends Object implements WebTestDescription
Constructor and Description |
---|
WebTestClientDescription() |
WebTestClientDescription(com.atlassian.buildeng.hallelujah.api.model.TestCaseName testCaseName) |
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 o) |
static WebTestDescription |
fakeSuite() |
static WebTestListenerToClientListenerAdapter.WebTestClientDescription |
fromTestCaseName(com.atlassian.buildeng.hallelujah.api.model.TestCaseName name) |
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 WebTestClientDescription(com.atlassian.buildeng.hallelujah.api.model.TestCaseName testCaseName)
public WebTestClientDescription()
public static WebTestListenerToClientListenerAdapter.WebTestClientDescription fromTestCaseName(com.atlassian.buildeng.hallelujah.api.model.TestCaseName name)
public static WebTestDescription fakeSuite()
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
Copyright © 2002-2017 Atlassian. All Rights Reserved.