org.identityconnectors.contract.test
Class SchemaApiOpTests

java.lang.Object
  extended by org.identityconnectors.contract.test.ContractTestBase
      extended by org.identityconnectors.contract.test.SchemaApiOpTests

public class SchemaApiOpTests
extends ContractTestBase

Contract test of SchemaApiOp operation.

Author:
Zdenek Louzensky

Field Summary
 
Fields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade
 
Constructor Summary
SchemaApiOpTests()
           
 
Method Summary
 Set<Class<? extends APIOperation>> getAPIOperations()
          Ask the subclasses for the APIOperation.
 void testNamePresent()
          Tests that every object class contains Name among its attributes.
 void testOpSupportedByAllOClasses()
          Test ensures that following operations are supported by all object classes when supported at all: ScriptOnConnectorApiOp, ScriptOnResourceApiOp, TestApiOp, ValidateApiOp.
 void testSchemaExpected()
          Tests that returned schema by connector is the same as expected schema to be returned.
 void testUidNotPresent()
          Tests that the schema doesn't contain Uid
 
Methods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaApiOpTests

public SchemaApiOpTests()
Method Detail

getAPIOperations

public Set<Class<? extends APIOperation>> getAPIOperations()
Ask the subclasses for the APIOperation. Method returns set of required API operations that are prerequisites for running certain contract test.

Specified by:
getAPIOperations in class ContractTestBase

testUidNotPresent

public void testUidNotPresent()
Tests that the schema doesn't contain Uid


testNamePresent

public void testNamePresent()
Tests that every object class contains Name among its attributes.


testOpSupportedByAllOClasses

public void testOpSupportedByAllOClasses()
Test ensures that following operations are supported by all object classes when supported at all: ScriptOnConnectorApiOp, ScriptOnResourceApiOp, TestApiOp, ValidateApiOp.


testSchemaExpected

public void testSchemaExpected()
Tests that returned schema by connector is the same as expected schema to be returned.



Copyright © 2012. All Rights Reserved.