public class ScriptOnResourceApiOpTests extends ContractTestBase
ScriptOnResourceApiOp
operation.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR, OBJECTCLASS_DATAPROVIDER, TESTSUITE
Constructor and Description |
---|
ScriptOnResourceApiOpTests() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
OperationOptions |
getOperationOptionsByOp(ObjectClass objectClass,
Class<? extends APIOperation> clazz)
Gets OperationOptions suitable for specified operation.
|
void |
testRunScript()
Tests running a script with correct values from property file.
|
void |
testRunScriptFailEmptyScriptText()
Tests running a script with empty script text.
|
void |
testRunScriptFailUnknownLanguage()
Tests running a script with unknown language.
|
BeforeClass, dispose, getConnectorFacade, getDataProvider
public static final String TEST_NAME
public Set<Class<? extends APIOperation>> getAPIOperations()
APIOperation
.
Method returns set of required API operations that are prerequisites for
running certain contract test.getAPIOperations
in class ContractTestBase
public void testRunScript()
public void testRunScriptFailUnknownLanguage()
public void testRunScriptFailEmptyScriptText()
public OperationOptions getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz)
getOperationOptionsByOp
in class ContractTestBase
OperationOptions
Copyright © 2019. All rights reserved.