All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static void |
beforeImportClass() |
static void |
closeHttpClient(org.apache.http.impl.client.CloseableHttpClient client) |
static void |
closeResponse(org.apache.http.client.methods.CloseableHttpResponse response) |
protected static void |
compareElements(Object expectedValue,
Object foundValue) |
protected static String |
getJsonStringOfFile(String folderName,
String fileName) |
static fj.data.Either<String,Boolean> |
getNormativeTypeResource(NormativeTypesEnum current) |
protected static fj.data.Either<String,Boolean> |
getResource(String name,
String version) |
protected static String |
getTestJsonStringOfFile(String folderName,
String fileName) |
protected static File |
getTestZipFile(String elementName) |
protected static File |
getZipFile(String elementName) |
static void |
importAllNormativeTypesResources(UserRoleEnum userRole) |
void |
importAllTestResources() |
protected static Integer |
importNormativeResource(NormativeTypesEnum resource,
UserRoleEnum userRole) |
void |
importNormativeTypesDesignerUserRole() |
void |
importNormativeTypesTesterUserRole() |
protected static Integer |
importResource(String folderName,
UserRoleEnum userRole,
boolean isNormative) |
static Map<NormativeTypesEnum,Boolean> |
removeAllNormativeTypeResources() |
static void |
restoreToOriginalState(Map<NormativeTypesEnum,Boolean> originalState,
UserRoleEnum userRole) |
void |
testImportAndUpdateChangesUserResource() |
void |
testImportAndUpdateUserResource() |
void |
testImportCheckoutAndUpdateUserResource() |
void |
testImportUserResource() |
void |
testImportWithInvalidDefaultValue() |
void |
testImportWithRequirmentsAndCapabilities() |
void |
testImportWithUpdateNormativeType() |
protected static void |
validateField(Map<String,Object> map,
String jsonField,
Object expectedValue) |
protected void |
validateMyComputeBasicFields(Map<String,Object> map,
String resourceName,
String resourceVersion,
String expectedState) |
protected void |
validateMyComputeCapabilities(Map<String,Object> map) |
protected void |
validateMyComputeRequirements(Map<String,Object> map) |
protected void |
validateMyComputeResource(String resourceName,
String resourceVersion,
String expectedState) |
protected void |
validateMyComputeResource(String uid,
String resourceName,
String resourceVersion,
String expectedState) |
protected void |
validateMyComputeResourceAfterUpdate(String uid,
String resourceName,
String resourceVersion,
String expectedState) |