org.thymeleaf.testing.templateengine.testable
Class Test
Object
org.thymeleaf.testing.templateengine.testable.AbstractTestable
org.thymeleaf.testing.templateengine.testable.AbstractTest
org.thymeleaf.testing.templateengine.testable.Test
- All Implemented Interfaces:
- ITest, ITestable
- Direct Known Subclasses:
- StandardTest
public class Test
- extends AbstractTest
|
Constructor Summary |
Test()
|
|
Method Summary |
ITestResult |
evalResult(String executionId,
String testName,
String result)
|
ITestResult |
evalResult(String executionId,
String testName,
Throwable t)
|
protected ITestResult |
evalResultFailExpected(String executionId,
String testName,
String result)
|
protected ITestResult |
evalResultFailExpected(String executionId,
String testName,
Throwable t)
|
protected ITestResult |
evalResultSuccessExpected(String executionId,
String testName,
String result)
|
protected ITestResult |
evalResultSuccessExpected(String executionId,
String testName,
Throwable t)
|
ITestResource |
getOutput()
|
Class<? extends Throwable> |
getOutputThrowableClass()
|
String |
getOutputThrowableMessagePattern()
|
boolean |
isExactMatch()
|
boolean |
isSuccessExpected()
|
void |
setExactMatch(boolean exactMatch)
|
void |
setOutput(ITestResource output)
|
void |
setOutputThrowableClass(Class<? extends Throwable> outputThrowableClass)
|
void |
setOutputThrowableMessagePattern(String outputThrowableMessagePattern)
|
| Methods inherited from class org.thymeleaf.testing.templateengine.testable.AbstractTest |
getAdditionalInputs, getContext, getFragmentSpec, getInput, getMessages, getTemplateMode, hasFragmentSpec, isInputCacheable, setAdditionalInput, setAdditionalInputs, setContext, setFragmentSpec, setInput, setInputCacheable, setMessages, setTemplateMode |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_EXACT_MATCH
public static boolean DEFAULT_EXACT_MATCH
Test
public Test()
getOutput
public ITestResource getOutput()
setOutput
public void setOutput(ITestResource output)
getOutputThrowableClass
public Class<? extends Throwable> getOutputThrowableClass()
setOutputThrowableClass
public void setOutputThrowableClass(Class<? extends Throwable> outputThrowableClass)
getOutputThrowableMessagePattern
public String getOutputThrowableMessagePattern()
setOutputThrowableMessagePattern
public void setOutputThrowableMessagePattern(String outputThrowableMessagePattern)
isExactMatch
public boolean isExactMatch()
setExactMatch
public void setExactMatch(boolean exactMatch)
isSuccessExpected
public boolean isSuccessExpected()
evalResult
public final ITestResult evalResult(String executionId,
String testName,
String result)
evalResult
public final ITestResult evalResult(String executionId,
String testName,
Throwable t)
evalResultSuccessExpected
protected ITestResult evalResultSuccessExpected(String executionId,
String testName,
String result)
evalResultFailExpected
protected ITestResult evalResultFailExpected(String executionId,
String testName,
String result)
evalResultSuccessExpected
protected ITestResult evalResultSuccessExpected(String executionId,
String testName,
Throwable t)
evalResultFailExpected
protected ITestResult evalResultFailExpected(String executionId,
String testName,
Throwable t)
Copyright © 2013 The THYMELEAF team. All Rights Reserved.