|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gemini.blueprint.test.internal.holder.OsgiTestInfoHolder
public class OsgiTestInfoHolder
Custom class used for storing JUnit test results. To work, this class should always be loaded through the same class loader, to transport information from OSGi to the outside world.
Field Summary | |
---|---|
static OsgiTestInfoHolder |
INSTANCE
static instance |
Constructor Summary | |
---|---|
OsgiTestInfoHolder()
Constructs a new OsgiTestInfoHolder instance. |
Method Summary | |
---|---|
void |
addTestError(Throwable testProblem)
|
void |
addTestFailure(Throwable testProblem)
|
void |
clearResults()
Clear all information. |
Long |
getTestBundleId()
Returns the testBundleId. |
String |
getTestClassName()
Returns the testClassName. |
List |
getTestErrors()
|
List |
getTestFailures()
|
String |
getTestMethodName()
Returns the testMethodName. |
void |
setTestBundleId(Long testBundleId)
|
void |
setTestClassName(String testClassName)
|
void |
setTestMethodName(String testMethodName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OsgiTestInfoHolder INSTANCE
Constructor Detail |
---|
public OsgiTestInfoHolder()
OsgiTestInfoHolder
instance.
Method Detail |
---|
public Long getTestBundleId()
public void setTestBundleId(Long testBundleId)
testBundleId
- The testBundleId to set.public String getTestClassName()
public void setTestClassName(String testClassName)
testClassName
- The testClassName to set.public void addTestFailure(Throwable testProblem)
testProblem
- The testResult to set.public void addTestError(Throwable testProblem)
public String getTestMethodName()
public void setTestMethodName(String testMethodName)
testMethodName
- The testMethodName to set.public List getTestFailures()
public List getTestErrors()
public void clearResults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |