public class TestFailureListener
extends org.testng.TestListenerAdapter
Constructor and Description |
---|
TestFailureListener() |
Modifier and Type | Method and Description |
---|---|
(package private) String |
getRequestMessageInfo(com.sun.jersey.api.client.ClientRequest req)
Gets diagnostic information about a request message.
|
(package private) String |
getResponseMessageInfo(com.sun.jersey.api.client.ClientResponse rsp)
Gets diagnostic information about a response message.
|
void |
onTestFailure(org.testng.ITestResult result)
Sets the "request" and "response" attributes of a test result.
|
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestSkipped, onTestStart, onTestSuccess, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toString
public void onTestFailure(org.testng.ITestResult result)
onTestFailure
in interface org.testng.ITestListener
onTestFailure
in class org.testng.TestListenerAdapter
result
- A description of a test result (with a fail verdict).String getRequestMessageInfo(com.sun.jersey.api.client.ClientRequest req)
req
- An object representing an HTTP request message.String getResponseMessageInfo(com.sun.jersey.api.client.ClientResponse rsp)
rsp
- An object representing an HTTP response message.Copyright © 2024 Open Geospatial Consortium. All rights reserved.