public interface ITestContext extends IAttributes
Modifier and Type | Method and Description |
---|---|
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() |
getAttribute, getAttributeNames, removeAttribute, setAttribute
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)
Copyright © 2014. All Rights Reserved.