public class TestResult extends Object implements ITestResult
| Modifier | Constructor and Description |
|---|---|
protected |
TestResult(String testName,
boolean ok,
String message,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
static TestResult |
error(String testName,
String message) |
static TestResult |
error(String testName,
String message,
Throwable t) |
static TestResult |
error(String testName,
Throwable t) |
String |
getMessage() |
String |
getTestName() |
Throwable |
getThrowable() |
boolean |
hasMessage() |
boolean |
hasThrowable() |
boolean |
isOK() |
static TestResult |
ok(String testName) |
static TestResult |
ok(String testName,
String message) |
static TestResult |
ok(String testName,
String message,
Throwable t) |
static TestResult |
ok(String testName,
Throwable t) |
public static TestResult ok(String testName)
public static TestResult ok(String testName, String message)
public static TestResult ok(String testName, Throwable t)
public static TestResult ok(String testName, String message, Throwable t)
public static TestResult error(String testName, String message)
public static TestResult error(String testName, String message, Throwable t)
public static TestResult error(String testName, Throwable t)
public String getTestName()
public boolean isOK()
isOK in interface ITestResultpublic boolean hasMessage()
hasMessage in interface ITestResultpublic String getMessage()
getMessage in interface ITestResultpublic boolean hasThrowable()
hasThrowable in interface ITestResultpublic Throwable getThrowable()
getThrowable in interface ITestResultCopyright © 2015 The THYMELEAF team. All rights reserved.