org.thymeleaf.testing.templateengine.testable
Class TestResult
Object
org.thymeleaf.testing.templateengine.testable.TestResult
- All Implemented Interfaces:
- ITestResult
public class TestResult
- extends Object
- implements ITestResult
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestResult
protected TestResult(String testName,
boolean ok,
String message,
Throwable throwable)
ok
public static TestResult ok(String testName)
ok
public static TestResult ok(String testName,
String message)
ok
public static TestResult ok(String testName,
Throwable t)
ok
public static TestResult ok(String testName,
String message,
Throwable t)
error
public static TestResult error(String testName,
String message)
error
public static TestResult error(String testName,
String message,
Throwable t)
error
public static TestResult error(String testName,
Throwable t)
getTestName
public String getTestName()
isOK
public boolean isOK()
- Specified by:
isOK in interface ITestResult
hasMessage
public boolean hasMessage()
- Specified by:
hasMessage in interface ITestResult
getMessage
public String getMessage()
- Specified by:
getMessage in interface ITestResult
hasThrowable
public boolean hasThrowable()
- Specified by:
hasThrowable in interface ITestResult
getThrowable
public Throwable getThrowable()
- Specified by:
getThrowable in interface ITestResult
Copyright © 2013 The THYMELEAF team. All Rights Reserved.