|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.javatest_report.TestObject<S>
hudson.plugins.javatest_report.TestCollection<S,C>
C
- Type of the child objects in this collection.S
- The derived type of TestCollection
(the same design pattern as you seen in Enum
)public abstract class TestCollection<S extends TestCollection<S,C>,C extends TestObject<C>>
TestObject
that is a collection of other TestObject
s.
Constructor Summary | |
---|---|
TestCollection()
|
Method Summary | |
---|---|
void |
add(C t)
Adds a new child TestObject to this. |
C |
get(java.lang.String id)
Gets a Test by its id. |
java.util.Collection<C> |
getChildren()
|
abstract java.lang.String |
getChildTitle()
Returns the caption of the children. |
C |
getDynamic(java.lang.String name,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
int |
getFailCount()
|
java.util.Collection<C> |
getFailedTests()
|
java.lang.String[] |
getPackages()
|
Package |
getPackageTests(java.lang.String packageName)
|
int |
getSkippedCount()
|
java.util.Collection<C> |
getSkippedTests()
|
int |
getTotalCount()
|
Methods inherited from class hudson.plugins.javatest_report.TestObject |
---|
addAttribute, getAge, getDescription, getDisplayName, getFailedSince, getId, getName, getOwner, getPreviousResult, getStatus, getStatusMessage, setDescription, setId, setName, setStatusString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestCollection()
Method Detail |
---|
public java.util.Collection<C> getChildren()
public java.util.Collection<C> getFailedTests()
public java.util.Collection<C> getSkippedTests()
public int getTotalCount()
getTotalCount
in class TestObject<S extends TestCollection<S,C>>
public int getFailCount()
getFailCount
in class TestObject<S extends TestCollection<S,C>>
public int getSkippedCount()
getSkippedCount
in class TestObject<S extends TestCollection<S,C>>
public abstract java.lang.String getChildTitle()
public C get(java.lang.String id)
Test
by its id.
public void add(C t)
TestObject
to this.
For Digester.
public java.lang.String[] getPackages()
public Package getPackageTests(java.lang.String packageName)
public C getDynamic(java.lang.String name, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |