Class ScriptOnConnectorApiOpTests
- java.lang.Object
-
- org.identityconnectors.contract.test.ContractTestBase
-
- org.identityconnectors.contract.test.ScriptOnConnectorApiOpTests
-
public class ScriptOnConnectorApiOpTests extends ContractTestBase
Contract test ofScriptOnConnectorApiOp
operation.- Author:
- Zdenek Louzensky
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEST_NAME
-
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description ScriptOnConnectorApiOpTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<? extends APIOperation>>
getAPIOperations()
Ask the subclasses for theAPIOperation
.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.-
Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
-
-
-
-
Field Detail
-
TEST_NAME
public static final String TEST_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAPIOperations
public Set<Class<? extends APIOperation>> 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.
-
-