55 lines
1.1 KiB
Java
55 lines
1.1 KiB
Java
package org.testng;
|
|
|
|
import com.google.inject.Injector;
|
|
import com.google.inject.Module;
|
|
import java.util.Collection;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
import org.testng.xml.XmlTest;
|
|
|
|
public interface ITestContext extends IAttributes {
|
|
void addGuiceModule(Class<? extends Module> cls, Module module);
|
|
|
|
void addInjector(List<Module> list, Injector injector);
|
|
|
|
ITestNGMethod[] getAllTestMethods();
|
|
|
|
XmlTest getCurrentXmlTest();
|
|
|
|
Date getEndDate();
|
|
|
|
String[] getExcludedGroups();
|
|
|
|
Collection<ITestNGMethod> getExcludedMethods();
|
|
|
|
IResultMap getFailedButWithinSuccessPercentageTests();
|
|
|
|
IResultMap getFailedConfigurations();
|
|
|
|
IResultMap getFailedTests();
|
|
|
|
List<Module> getGuiceModules(Class<? extends Module> cls);
|
|
|
|
String getHost();
|
|
|
|
String[] getIncludedGroups();
|
|
|
|
Injector getInjector(List<Module> list);
|
|
|
|
String getName();
|
|
|
|
String getOutputDirectory();
|
|
|
|
IResultMap getPassedConfigurations();
|
|
|
|
IResultMap getPassedTests();
|
|
|
|
IResultMap getSkippedConfigurations();
|
|
|
|
IResultMap getSkippedTests();
|
|
|
|
Date getStartDate();
|
|
|
|
ISuite getSuite();
|
|
}
|