public class RPCActionDto extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
actionName
name of the action
|
RPCActionDto |
authSetup
an action to setup auth in this invocation
|
String |
clientInfo
name of the client
|
String |
clientVariable
a variable referring to client instance
this info would be used in static init declaration referring
to an actual client instance in the generated test
then later, the variable could be used to process rpc function call
eg, the variable is foo
public class Test{
private static Client foo;
...
|
String |
controllerVariable
variable name of controller
|
boolean |
doGenerateAssertions
if generate assertions on driver side and send back core
|
boolean |
doGenerateTestScript
if generate test script on driver side and send back core
|
String |
interfaceId
name of the RPC interface
|
boolean |
isAuthorized
if the action requires auth to access
|
int |
maxAssertionForDataInCollection
the maximum number of assertions to be generated for data in collections
zero or negative number means that assertions would be generated for all data in collection
|
List<MockRPCExternalServiceDto> |
mockRPCExternalServiceDtos
a list of actions for performing mocking external services
|
Set<String> |
relatedCustomization
related candidates to customize values in request of this endpoint
|
List<ParamDto> |
requestParams
request params
|
List<Integer> |
requiredAuthCandidates
possible candidates for auth to access the endpoint
|
ParamDto |
responseParam
response param (nullable)
|
String |
responseVariable
variable name of response
|
| Constructor and Description |
|---|
RPCActionDto() |
| Modifier and Type | Method and Description |
|---|---|
RPCActionDto |
copy() |
RPCActionDto |
copyComplete() |
String |
descriptiveInfo() |
public String interfaceId
public String clientInfo
public String clientVariable
public String actionName
public List<MockRPCExternalServiceDto> mockRPCExternalServiceDtos
public ParamDto responseParam
public boolean isAuthorized
public List<Integer> requiredAuthCandidates
public Set<String> relatedCustomization
public RPCActionDto authSetup
public String responseVariable
public String controllerVariable
public boolean doGenerateAssertions
public boolean doGenerateTestScript
public int maxAssertionForDataInCollection
public RPCActionDto copy()
public RPCActionDto copyComplete()
public String descriptiveInfo()
Copyright © 2016–2023. All rights reserved.