public abstract class AbstractGraphQLAcceptanceTest extends AbstractAcceptanceTest
rpc, testHelper, testName| Constructor and Description |
|---|
AbstractGraphQLAcceptanceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.jersey.api.client.WebResource |
newGraphWebResource() |
protected <T> T |
query(String requestString,
Type responseType) |
protected <T> T |
query(String queryFieldName,
Type fieldType,
Map<String,Object> arguments)
Query a single root field of the GraphQL server.
|
protected <T> T |
query(String queryFieldName,
Type fieldType,
Map<String,Object> arguments,
String queryFragment)
Query a single root field of the GraphQL server.
|
protected static String |
toJson(Object obj)
A helper method to serialize an object to a Json string.
|
commonSetUp, directoryConfiguration, exceptionSupplier, pauseAndFlushIndexQueue, usersprotected <T> T query(String queryFieldName, Type fieldType, Map<String,Object> arguments)
queryFieldName - The name of the root field to queryfieldType - The java type of the root field, that will be returnedarguments - Arguments that will be passed to the root fieldprotected <T> T query(String queryFieldName, Type fieldType, Map<String,Object> arguments, String queryFragment)
queryFieldName - The name of the root field to queryfieldType - The java type of the root field, that will be returnedarguments - Arguments that will be passed to the root fieldqueryFragment - The query fragment for the root field, not including the root field nameprotected static String toJson(Object obj)
protected com.sun.jersey.api.client.WebResource newGraphWebResource()
Copyright © 2003–2019 Atlassian. All rights reserved.