public class ScriptOnResourceApiOpTests extends ContractTestBase
ScriptOnResourceApiOp
operation.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR
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.
|
dispose, getConnectorFacade, getDataProvider, init
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
@Test public void testRunScript()
@Test public void testRunScriptFailUnknownLanguage()
@Test public void testRunScriptFailEmptyScriptText()
public OperationOptions getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz)
ContractTestBase
getOperationOptionsByOp
in class ContractTestBase
OperationOptions
Copyright © 2022. All rights reserved.