Class ScriptOnResourceApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ScriptOnResourceApiOpTests
Contract test of
ScriptOnResourceApiOp
operation.- Author:
- Zdenek Louzensky
-
Field Summary
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet
<Class<? extends APIOperation>> Ask the subclasses for theAPIOperation
.getOperationOptionsByOp
(ObjectClass objectClass, Class<? extends APIOperation> clazz) Gets OperationOptions suitable for specified operation.void
Tests running a script with correct values from property file.void
Tests running a script with empty script text.void
Tests running a script with unknown language.Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, init
-
Field Details
-
TEST_NAME
- See Also:
-
-
Constructor Details
-
ScriptOnResourceApiOpTests
public ScriptOnResourceApiOpTests()
-
-
Method Details
-
getAPIOperations
Ask the subclasses for theAPIOperation
. Method returns set of required API operations that are prerequisites for running certain contract test.- Specified by:
getAPIOperations
in classContractTestBase
-
testRunScript
@Test public void testRunScript()Tests running a script with correct values from property file. -
testRunScriptFailUnknownLanguage
@Test public void testRunScriptFailUnknownLanguage()Tests running a script with unknown language. -
testRunScriptFailEmptyScriptText
@Test public void testRunScriptFailEmptyScriptText()Tests running a script with empty script text. -
getOperationOptionsByOp
public OperationOptions getOperationOptionsByOp(ObjectClass objectClass, Class<? extends APIOperation> clazz) Description copied from class:ContractTestBase
Gets OperationOptions suitable for specified operation. Should be used in all tests requiring OperationOptions unless it's special case.- Overrides:
getOperationOptionsByOp
in classContractTestBase
- Returns:
OperationOptions
-