Class _TestResult
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<_TestResult>
-
- org.topbraidlive.client.java.graphql.platform._TestResult
-
- All Implemented Interfaces:
Serializable
public class _TestResult extends AbstractResponse<_TestResult>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description _TestResult()
_TestResult(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActualResult()
An encoded RDF value representing the actual result delivered by the test run.String
getExpectedResult()
An encoded RDF value representing the actual result delivered by the test run.String
getGraphQlTypeName()
String
getMessage()
A human-readable message for the test result._RDFNode
getTestCase()
The test case resource, with label and uri fields._TestResult
setActualResult(String arg)
_TestResult
setExpectedResult(String arg)
_TestResult
setMessage(String arg)
_TestResult
setTestCase(_RDFNode arg)
boolean
unwrapsToObject(String key)
-
Methods inherited from class com.shopify.graphql.support.AbstractResponse
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAlias
-
-
-
-
Constructor Detail
-
_TestResult
public _TestResult()
-
_TestResult
public _TestResult(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getTestCase
public _RDFNode getTestCase()
The test case resource, with label and uri fields.
-
setTestCase
public _TestResult setTestCase(_RDFNode arg)
-
getMessage
public String getMessage()
A human-readable message for the test result. Null if the test case execute successfully.
-
setMessage
public _TestResult setMessage(String arg)
-
getActualResult
public String getActualResult()
An encoded RDF value representing the actual result delivered by the test run.
-
setActualResult
public _TestResult setActualResult(String arg)
-
getExpectedResult
public String getExpectedResult()
An encoded RDF value representing the actual result delivered by the test run.
-
setExpectedResult
public _TestResult setExpectedResult(String arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<_TestResult>
-
-