|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tap4j.ext.testng.TestNGYAMLishUtils
public final class TestNGYAMLishUtils
TestNG YAMLish utility class.
Field Summary | |
---|---|
static SimpleDateFormat |
ISO_8061_DATE_FORMAT
Date Format used to format a datetime in ISO-8061 for YAMLish diagnostic. |
static String |
LINE_SEPARATOR
|
Method Summary | |
---|---|
static String |
getActual(org.testng.ITestResult testNgTestResult)
|
static String |
getBacktrace(org.testng.ITestResult testNgTestResult)
|
static String |
getDatetime(org.testng.ITestResult testNgTestResult)
Retrieves the date of the TestNG Test Result start time. |
static String |
getDisplay(org.testng.ITestResult testNgTestResult)
Returns YAMLish multi-line display entry. |
static Object |
getDump(org.testng.ITestResult testNgTestResult)
|
static String |
getError(org.testng.ITestResult testNgTestResult)
|
static String |
getExpected(org.testng.ITestResult testNgTestResult)
|
static Object |
getExtensions(org.testng.ITestResult testNgTestResult)
|
static String |
getFile(org.testng.ITestResult testNgTestResult)
|
static String |
getLine(org.testng.ITestResult testNgTestResult)
|
static String |
getLineNumberFromExceptionTraceLine(String exceptionTraceLine,
String substrToSearch)
Get the error line number from the exception stack trace |
static String |
getMessage(org.testng.ITestResult testNgTestResult)
|
static String |
getName(org.testng.ITestResult testNgTestResult)
|
static String |
getSeverity(org.testng.ITestResult testNgTestResult)
|
static String |
getSource(org.testng.ITestResult testNgTestResult)
|
static org.testng.xml.XmlSuite |
parse(String filePath,
InputStream is)
|
static StringBuilder |
toYaml(org.testng.xml.XmlSuite suite)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SimpleDateFormat ISO_8061_DATE_FORMAT
public static final String LINE_SEPARATOR
Method Detail |
---|
public static String getMessage(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getSeverity(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getSource(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getDatetime(org.testng.ITestResult testNgTestResult)
public static String getFile(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getLine(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getLineNumberFromExceptionTraceLine(String exceptionTraceLine, String substrToSearch)
exceptionTraceLine
- substrToSearch
-
public static String getName(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static Object getExtensions(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getExpected(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getActual(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getDisplay(org.testng.ITestResult testNgTestResult)
testNgTestResult
- TestNG TestResult
public static Object getDump(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getError(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static String getBacktrace(org.testng.ITestResult testNgTestResult)
testNgTestResult
-
public static StringBuilder toYaml(org.testng.xml.XmlSuite suite)
public static org.testng.xml.XmlSuite parse(String filePath, InputStream is) throws FileNotFoundException
filePath
- is
-
FileNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |