public class RequestTestDef extends Object
| Constructor and Description |
|---|
RequestTestDef()
Creates a new RequestTestDef instance.
|
RequestTestDef(Iterable<RequestCase> requestCases)
Creates a new RequestTestDef instance.
|
| Modifier and Type | Method and Description |
|---|---|
RequestTestDef |
add(RequestCase requestCase)
Adds an API request test case.
|
Set<String> |
getOperations(String path)
Returns the operations used by these request test cases for the given resource path.
|
Set<String> |
getPaths()
Returns the resource paths used by these request test cases.
|
List<RequestCase> |
getRequestCases()
Returns all API request test cases.
|
List<RequestCase> |
getRequestCases(String path)
Returns all API request test cases for the given resource path.
|
List<RequestCase> |
getRequestCases(String path,
String operation)
Returns all API request test cases for the given operation on the given resource path.
|
RequestTestDef |
remove(RequestCase requestCase)
Removes an API request test case.
|
public RequestTestDef()
public RequestTestDef(Iterable<RequestCase> requestCases)
public RequestTestDef add(RequestCase requestCase)
public RequestTestDef remove(RequestCase requestCase)
public List<RequestCase> getRequestCases()
public List<RequestCase> getRequestCases(String path)
public List<RequestCase> getRequestCases(String path, String operation)
Copyright © 2020 The Cornutum Project. All rights reserved.