Class TestExecutor
- Object
-
- org.thymeleaf.testing.templateengine.engine.TestExecutor
-
public final class TestExecutor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestExecutor.ThrottleType
-
Field Summary
Fields Modifier and Type Field Description protected ITestReporter
reporter
-
Constructor Summary
Constructors Constructor Description TestExecutor(IProcessingContextBuilder processingContextBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(String testableName)
protected org.thymeleaf.testing.templateengine.engine.TestExecutionResult
executeTestable(ITestable testable, org.thymeleaf.testing.templateengine.engine.TestExecutionContext context)
List<org.thymeleaf.dialect.IDialect>
getDialects()
IProcessingContextBuilder
getProcessingContextBuilder()
ITestReporter
getReporter()
ITestableResolver
getTestableResolver()
static String
getThreadExecutionId()
static ITest
getThreadTest()
static String
getThreadTestName()
int
getThrottleStep()
TestExecutor.ThrottleType
getThrottleType()
boolean
isAllOK()
void
reset()
void
setDialects(List<? extends org.thymeleaf.dialect.IDialect> dialects)
void
setReporter(ITestReporter reporter)
void
setTestableResolver(ITestableResolver testableResolver)
protected static void
setThreadExecutionId(String executionId)
void
setThrottleStep(int throttleStep)
void
setThrottleType(TestExecutor.ThrottleType throttleType)
-
-
-
Field Detail
-
reporter
protected ITestReporter reporter
-
-
Constructor Detail
-
TestExecutor
public TestExecutor(IProcessingContextBuilder processingContextBuilder)
-
-
Method Detail
-
getThreadExecutionId
public static String getThreadExecutionId()
-
getThreadTestName
public static String getThreadTestName()
-
getThreadTest
public static ITest getThreadTest()
-
setThreadExecutionId
protected static void setThreadExecutionId(String executionId)
-
getTestableResolver
public ITestableResolver getTestableResolver()
-
setTestableResolver
public void setTestableResolver(ITestableResolver testableResolver)
-
getProcessingContextBuilder
public IProcessingContextBuilder getProcessingContextBuilder()
-
setDialects
public void setDialects(List<? extends org.thymeleaf.dialect.IDialect> dialects)
-
getDialects
public List<org.thymeleaf.dialect.IDialect> getDialects()
-
setThrottleStep
public void setThrottleStep(int throttleStep)
-
getThrottleStep
public int getThrottleStep()
-
getThrottleType
public TestExecutor.ThrottleType getThrottleType()
-
setThrottleType
public void setThrottleType(TestExecutor.ThrottleType throttleType)
-
setReporter
public void setReporter(ITestReporter reporter)
-
getReporter
public ITestReporter getReporter()
-
execute
public void execute(String testableName)
-
executeTestable
protected org.thymeleaf.testing.templateengine.engine.TestExecutionResult executeTestable(ITestable testable, org.thymeleaf.testing.templateengine.engine.TestExecutionContext context)
-
reset
public final void reset()
-
isAllOK
public final boolean isAllOK()
-
-