public class JPutContext
| Modifier and Type | Class and Description |
|---|---|
static class |
JPutContext.Companion |
| Modifier and Type | Field and Description |
|---|---|
static JPutContext.Companion |
Companion |
static java.lang.String |
PROP_ELASTIC_ENABLED |
static java.lang.String |
PROP_ELASTIC_ENV_IDENTIFIERS |
static java.lang.String |
PROP_ELASTIC_HOST |
static java.lang.String |
PROP_ELASTIC_INDEX |
static java.lang.String |
PROP_ELASTIC_PORT |
static java.lang.String |
PROP_ELASTIC_SCHEME |
static java.lang.String |
PROP_ENABLED |
static java.lang.String |
PROP_ENV_PARAMS |
static java.lang.String |
PROP_PATH_TO_STORAGE_FILE |
static java.lang.String |
PROP_REPORTER_CLASS |
static java.lang.String |
PROP_STORAGE_FILE_ENABLED |
TrendAnalyzer |
trendAnalyzer |
java.util.List<? extends cz.encircled.jput.unit.UnitPerformanceAnalyzer> |
unitPerformanceAnalyzers |
| Constructor and Description |
|---|
JPutContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertySource(PropertySource source,
int index) |
void |
destroy() |
SuiteConfiguration |
getCurrentSuite()
Currently running class suite, should be set by org.junit.runner.Runner
|
java.lang.reflect.Method |
getCurrentSuiteMethod()
Currently running method of a suite, should be set by org.junit.runner.Runner
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomTestIds()
customTestId -> defaultTestId
|
java.lang.String |
getExecutionId()
Unique ID of current tests execution
|
java.util.List<cz.encircled.jput.context.PropertySource> |
getPropertySources() |
java.util.List<cz.encircled.jput.recorder.ResultRecorder> |
getResultRecorders()
Test results recorders
|
java.util.List<cz.encircled.jput.reporter.JPutReporter> |
getResultReporters() |
java.util.Map<java.lang.String,cz.encircled.jput.model.PerfTestExecution> |
getTestExecutions() |
TrendAnalyzer |
getTrendAnalyzer() |
java.util.List<cz.encircled.jput.unit.UnitPerformanceAnalyzer> |
getUnitPerformanceAnalyzers() |
void |
init() |
boolean |
isPerformanceTestEnabled()
Global enabled/disabled switch
|
void |
setCurrentSuite(SuiteConfiguration p)
Currently running class suite, should be set by org.junit.runner.Runner
|
void |
setCurrentSuiteMethod(java.lang.reflect.Method p)
Currently running method of a suite, should be set by org.junit.runner.Runner
|
void |
setPerformanceTestEnabled(boolean p)
Global enabled/disabled switch
|
void |
setPropertySources(java.util.List<cz.encircled.jput.context.PropertySource> p) |
void |
setResultReporters(java.util.List<cz.encircled.jput.reporter.JPutReporter> p) |
void |
setTrendAnalyzer(TrendAnalyzer p) |
void |
setUnitPerformanceAnalyzers(java.util.List<? extends cz.encircled.jput.unit.UnitPerformanceAnalyzer> p) |
public java.util.List<? extends cz.encircled.jput.unit.UnitPerformanceAnalyzer> unitPerformanceAnalyzers
public TrendAnalyzer trendAnalyzer
public static java.lang.String PROP_ENABLED
public static java.lang.String PROP_REPORTER_CLASS
public static java.lang.String PROP_ELASTIC_ENABLED
public static java.lang.String PROP_ELASTIC_HOST
public static java.lang.String PROP_ELASTIC_PORT
public static java.lang.String PROP_ELASTIC_SCHEME
public static java.lang.String PROP_ELASTIC_INDEX
public static java.lang.String PROP_ELASTIC_ENV_IDENTIFIERS
public static java.lang.String PROP_STORAGE_FILE_ENABLED
public static java.lang.String PROP_PATH_TO_STORAGE_FILE
public static java.lang.String PROP_ENV_PARAMS
public static JPutContext.Companion Companion
public java.lang.String getExecutionId()
Unique ID of current tests execution
public boolean isPerformanceTestEnabled()
Global enabled/disabled switch
public void setPerformanceTestEnabled(boolean p)
Global enabled/disabled switch
public java.util.List<cz.encircled.jput.context.PropertySource> getPropertySources()
public void setPropertySources(java.util.List<cz.encircled.jput.context.PropertySource> p)
public java.util.List<cz.encircled.jput.recorder.ResultRecorder> getResultRecorders()
Test results recorders
public java.util.Map<java.lang.String,java.lang.String> getCustomTestIds()
customTestId -> defaultTestId
public java.util.Map<java.lang.String,cz.encircled.jput.model.PerfTestExecution> getTestExecutions()
public java.util.List<cz.encircled.jput.unit.UnitPerformanceAnalyzer> getUnitPerformanceAnalyzers()
public void setUnitPerformanceAnalyzers(java.util.List<? extends cz.encircled.jput.unit.UnitPerformanceAnalyzer> p)
public TrendAnalyzer getTrendAnalyzer()
public void setTrendAnalyzer(TrendAnalyzer p)
public SuiteConfiguration getCurrentSuite()
Currently running class suite, should be set by org.junit.runner.Runner
public void setCurrentSuite(SuiteConfiguration p)
Currently running class suite, should be set by org.junit.runner.Runner
public java.lang.reflect.Method getCurrentSuiteMethod()
Currently running method of a suite, should be set by org.junit.runner.Runner
public void setCurrentSuiteMethod(java.lang.reflect.Method p)
Currently running method of a suite, should be set by org.junit.runner.Runner
public java.util.List<cz.encircled.jput.reporter.JPutReporter> getResultReporters()
public void setResultReporters(java.util.List<cz.encircled.jput.reporter.JPutReporter> p)
public void init()
public void destroy()
public void addPropertySource(PropertySource source, int index)