| Package | Description |
|---|---|
| core.apiCore.helpers | |
| core.apiCore.interfaces | |
| core.helpers | |
| core.support.objects |
| Modifier and Type | Method and Description |
|---|---|
static List<KeyValue> |
DataHelper.getValidationMap(String expected)
gets the map of the validation requirements split by ";"
|
static List<KeyValue> |
DataHelper.getValidationMap(String expected,
String separator)
gets the map of the validation requirements split by ";"
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JsonHelper.configMapJsonKeyValues(io.restassured.response.Response response,
KeyValue keyword)
map key value to config eg.features.features.id:1:<$id>
|
static void |
JsonHelper.configMapKeyValues(io.restassured.response.Response response,
KeyValue keyword)
map key value to config eg.features.features.id:1:<$id>
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
JsonHelper.validateJsonKeywords(List<KeyValue> keywords,
String responseString)
validates the json maps against the keyword requirements examples:
"person.roles.name": hasItems("admin"), "person.lastName":
equalTo("Administrator"), "person.lastName": isNotEmpty, "person.roles.name":
contains("admin"), "person.roles.name": containsInAnyOrder(admin),
"person.roles": nodeSizeGreaterThan(0), "person.sites.": nodeSizeExact(0)
"person.roles.name": sequence("admin"),
|
static List<String> |
SqlHelper.validateSqlKeywords(List<KeyValue> keywords,
ResultSet resSet)
* validates the maps agains the keyword requirements matcher.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
ExternalInterface.runExernalMethod(String classmethod,
List<KeyValue> parameterList)
run method from directory: src/main/java/module/services/method the class and
method name are passed through options column: class.method
|
| Modifier and Type | Method and Description |
|---|---|
protected static Object[] |
ExternalClassHelper.getParameterNames(List<KeyValue> parameters) |
protected static boolean |
ExternalClassHelper.isParameterNamesProvided(List<KeyValue> paramters)
parameters should either be all format: parameterName:value or just value
|
protected static Object |
ExternalClassHelper.runInternalClass(String sourcePath,
String methodName,
List<KeyValue> parameterList) |
static Object |
Helper.runInternalClass(String sourcePath,
String methodName,
List<KeyValue> parameterList)
runs method from external class
|
| Modifier and Type | Method and Description |
|---|---|
static void |
KeyValue.printKeyValue(List<KeyValue> values,
String prefix)
print values for key values with prefix
prefix: eg.
|
Copyright © 2020. All rights reserved.