Class TestExecutor
java.lang.Object
org.thymeleaf.testing.templateengine.engine.TestExecutor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final IProcessingContextBuilderprotected ITestReporterprivate ITestableResolverprivate static ThreadLocal<String> private static ThreadLocal<ITest> private static ThreadLocal<String> private intprivate TestExecutor.ThrottleType -
Constructor Summary
ConstructorsConstructorDescriptionTestExecutor(String name, IProcessingContextBuilder processingContextBuilder) TestExecutor(IProcessingContextBuilder processingContextBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidexecute(ITestable testable, TestExecutionContext context) private TestExecutionResultexecuteIterator(ITestIterator iterator, TestExecutionContext context) private TestExecutionResultexecuteParallelizer(ITestParallelizer parallelizer, TestExecutionContext context) private TestExecutionResultexecuteSequence(ITestSequence sequence, TestExecutionContext context) private TestExecutionResultexecuteTest(ITest test, TestExecutionContext context) protected TestExecutionResultexecuteTestable(ITestable testable, TestExecutionContext context) static Stringstatic ITeststatic Stringintfinal booleanisAllOK()final voidreset()voidsetDialects(List<? extends IDialect> dialects) voidsetReporter(ITestReporter reporter) voidsetTestableResolver(ITestableResolver testableResolver) protected static voidsetThreadExecutionId(String executionId) private static voidsetThreadTest(ITest test) private static voidsetThreadTestName(String testName) voidsetThrottleStep(int throttleStep) voidsetThrottleType(TestExecutor.ThrottleType throttleType) toString()
-
Field Details
-
processingContextBuilder
-
name
-
testableResolver
-
dialects
-
throttleStep
private int throttleStep -
throttleType
-
reporter
-
threadExecutionId
-
threadTestName
-
threadTest
-
-
Constructor Details
-
TestExecutor
-
TestExecutor
-
-
Method Details
-
getThreadExecutionId
-
getThreadTestName
-
getThreadTest
-
setThreadExecutionId
-
setThreadTestName
-
setThreadTest
-
getTestableResolver
-
setTestableResolver
-
getProcessingContextBuilder
-
setDialects
-
getDialects
-
setThrottleStep
public void setThrottleStep(int throttleStep) -
getThrottleStep
public int getThrottleStep() -
getThrottleType
-
setThrottleType
-
setReporter
-
getReporter
-
execute
-
execute
-
executeTestable
-
executeSequence
-
executeIterator
-
executeParallelizer
private TestExecutionResult executeParallelizer(ITestParallelizer parallelizer, TestExecutionContext context) -
executeTest
-
reset
public final void reset() -
isAllOK
public final boolean isAllOK() -
toString
-