public class DefaultTestNGContext extends Object implements org.testng.ITestContext
| Constructor and Description |
|---|
DefaultTestNGContext() |
| 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) |
org.testng.ITestNGMethod[] |
getAllTestMethods() |
Object |
getAttribute(String name) |
Set<String> |
getAttributeNames() |
org.testng.xml.XmlTest |
getCurrentXmlTest() |
Date |
getEndDate() |
String[] |
getExcludedGroups() |
Collection<org.testng.ITestNGMethod> |
getExcludedMethods() |
org.testng.IResultMap |
getFailedButWithinSuccessPercentageTests() |
org.testng.IResultMap |
getFailedConfigurations() |
org.testng.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() |
String |
getOutputDirectory() |
org.testng.IResultMap |
getPassedConfigurations() |
org.testng.IResultMap |
getPassedTests() |
org.testng.IResultMap |
getSkippedConfigurations() |
org.testng.IResultMap |
getSkippedTests() |
Date |
getStartDate() |
org.testng.ISuite |
getSuite() |
Object |
removeAttribute(String name) |
void |
setAttribute(String name,
Object value) |
public Object getAttribute(String name)
getAttribute in interface org.testng.IAttributespublic void setAttribute(String name, Object value)
setAttribute in interface org.testng.IAttributespublic Set<String> getAttributeNames()
getAttributeNames in interface org.testng.IAttributespublic Object removeAttribute(String name)
removeAttribute in interface org.testng.IAttributespublic String getName()
getName in interface org.testng.ITestContextpublic Date getStartDate()
getStartDate in interface org.testng.ITestContextpublic Date getEndDate()
getEndDate in interface org.testng.ITestContextpublic org.testng.IResultMap getPassedTests()
getPassedTests in interface org.testng.ITestContextpublic org.testng.IResultMap getSkippedTests()
getSkippedTests in interface org.testng.ITestContextpublic org.testng.IResultMap getFailedButWithinSuccessPercentageTests()
getFailedButWithinSuccessPercentageTests in interface org.testng.ITestContextpublic org.testng.IResultMap getFailedTests()
getFailedTests in interface org.testng.ITestContextpublic String[] getIncludedGroups()
getIncludedGroups in interface org.testng.ITestContextpublic String[] getExcludedGroups()
getExcludedGroups in interface org.testng.ITestContextpublic String getOutputDirectory()
getOutputDirectory in interface org.testng.ITestContextpublic org.testng.ISuite getSuite()
getSuite in interface org.testng.ITestContextpublic org.testng.ITestNGMethod[] getAllTestMethods()
getAllTestMethods in interface org.testng.ITestContextpublic String getHost()
getHost in interface org.testng.ITestContextpublic Collection<org.testng.ITestNGMethod> getExcludedMethods()
getExcludedMethods in interface org.testng.ITestContextpublic org.testng.IResultMap getPassedConfigurations()
getPassedConfigurations in interface org.testng.ITestContextpublic org.testng.IResultMap getSkippedConfigurations()
getSkippedConfigurations in interface org.testng.ITestContextpublic org.testng.IResultMap getFailedConfigurations()
getFailedConfigurations in interface org.testng.ITestContextpublic org.testng.xml.XmlTest getCurrentXmlTest()
getCurrentXmlTest in interface org.testng.ITestContextpublic List<com.google.inject.Module> getGuiceModules(Class<? extends com.google.inject.Module> cls)
getGuiceModules in interface org.testng.ITestContextpublic void addGuiceModule(Class<? extends com.google.inject.Module> cls, com.google.inject.Module module)
addGuiceModule in interface org.testng.ITestContextpublic com.google.inject.Injector getInjector(List<com.google.inject.Module> moduleInstances)
getInjector in interface org.testng.ITestContextpublic void addInjector(List<com.google.inject.Module> moduleInstances, com.google.inject.Injector injector)
addInjector in interface org.testng.ITestContextCopyright © 2015. All rights reserved.