Frequently Asked Questions
For instance we want to disable sending FIRSTNAME attribute of __ACCOUNT__ objectclass in CreateApiOpTests:
import org.identityconnectors.test.common.ObjectNotFoundException Create.__ACCOUNT__.FIRSTNAME = new ObjectNotFoundException()
Property names containing special characters (invalid Java identifiers), such as @, - etc. should be escaped. For example, testsuite. "name-with-dash " . Property names, however, cannot start with the escaped part( name-with-dash in this case).
Contract tests can control the presence of required classes on Classpath. If the JAR is missing the error message will show the error message containing the name of missing JAR file.
testsuite.requiredClasses = [ 'com.mysql.jdbc.Driver' : 'Connector/J 5.0.8 (mysql-connector-java-5.0.8-bin.jar)', 'com.foo.bar' : 'foo-bar-1.1.jar' //... // 'class name' : 'text description of JAR containing the class' ]
In Eclipse IDE you should add a 'linked resource' called USER_HOME, that will point to your home directory.