public class OsgiTestInfoHolder extends Object
| Modifier and Type | Field and Description |
|---|---|
static OsgiTestInfoHolder |
INSTANCE
static instance
|
| Constructor and Description |
|---|
OsgiTestInfoHolder()
Constructs a new
OsgiTestInfoHolder instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addTestError(Throwable testProblem) |
void |
addTestFailure(Throwable testProblem) |
void |
clearResults()
Clear all information.
|
Long |
getTestBundleId()
Returns the testBundleId.
|
String |
getTestClassName()
Returns the testClassName.
|
List<Throwable> |
getTestErrors() |
List<Throwable> |
getTestFailures() |
String |
getTestMethodName()
Returns the testMethodName.
|
void |
setTestBundleId(Long testBundleId) |
void |
setTestClassName(String testClassName) |
void |
setTestMethodName(String testMethodName) |
public static final OsgiTestInfoHolder INSTANCE
public OsgiTestInfoHolder()
OsgiTestInfoHolder instance.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 void clearResults()
Copyright © 2006–2023. All rights reserved.