|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITestContext
This class defines a test context which contains all the information for a given test run. An instance of this context is passed to the test listeners so they can query information about their environment.
Method Summary | |
---|---|
void |
addGuiceModule(Class<? extends com.google.inject.Module> cls,
com.google.inject.Module module)
|
void |
addInjector(List<com.google.inject.Module> moduleInstances,
com.google.inject.Injector injector)
|
ITestNGMethod[] |
getAllTestMethods()
|
XmlTest |
getCurrentXmlTest()
|
Date |
getEndDate()
When this test stopped running. |
String[] |
getExcludedGroups()
|
Collection<ITestNGMethod> |
getExcludedMethods()
|
IResultMap |
getFailedButWithinSuccessPercentageTests()
|
IResultMap |
getFailedConfigurations()
Retrieves information about the failed configuration method invocations. |
IResultMap |
getFailedTests()
|
List<com.google.inject.Module> |
getGuiceModules(Class<? extends com.google.inject.Module> cls)
|
String |
getHost()
|
String[] |
getIncludedGroups()
|
com.google.inject.Injector |
getInjector(List<com.google.inject.Module> moduleInstances)
|
String |
getName()
The name of this test. |
String |
getOutputDirectory()
|
IResultMap |
getPassedConfigurations()
Retrieves information about the successful configuration method invocations. |
IResultMap |
getPassedTests()
|
IResultMap |
getSkippedConfigurations()
Retrieves information about the skipped configuration method invocations. |
IResultMap |
getSkippedTests()
|
Date |
getStartDate()
When this test started running. |
ISuite |
getSuite()
|
Methods inherited from interface org.testng.IAttributes |
---|
getAttribute, getAttributeNames, removeAttribute, setAttribute |
Method Detail |
---|
String getName()
Date getStartDate()
Date getEndDate()
IResultMap getPassedTests()
IResultMap getSkippedTests()
IResultMap getFailedButWithinSuccessPercentageTests()
IResultMap getFailedTests()
ITestNGMethod
String[] getIncludedGroups()
String[] getExcludedGroups()
String getOutputDirectory()
ISuite getSuite()
ITestNGMethod[] getAllTestMethods()
String getHost()
Collection<ITestNGMethod> getExcludedMethods()
IResultMap getPassedConfigurations()
IResultMap getSkippedConfigurations()
IResultMap getFailedConfigurations()
XmlTest getCurrentXmlTest()
List<com.google.inject.Module> getGuiceModules(Class<? extends com.google.inject.Module> cls)
void addGuiceModule(Class<? extends com.google.inject.Module> cls, com.google.inject.Module module)
com.google.inject.Injector getInjector(List<com.google.inject.Module> moduleInstances)
void addInjector(List<com.google.inject.Module> moduleInstances, com.google.inject.Injector injector)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |