org.identityconnectors.framework.impl.test
Class TestHelpersImpl
java.lang.Object
org.identityconnectors.framework.impl.test.TestHelpersImpl
- All Implemented Interfaces:
- TestHelpersSpi
public class TestHelpersImpl
- extends Object
- implements TestHelpersSpi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestHelpersImpl
public TestHelpersImpl()
createTestConfiguration
public APIConfiguration createTestConfiguration(Class<? extends Connector> clazz,
Configuration config)
- Method for convenient testing of local connectors.
- Specified by:
createTestConfiguration in interface TestHelpersSpi
fillConfiguration
public void fillConfiguration(Configuration config,
Map<String,? extends Object> configData)
- Specified by:
fillConfiguration in interface TestHelpersSpi
search
public void search(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
- Performs a raw, unfiltered search at the SPI level,
eliminating duplicates from the result set.
- Specified by:
search in interface TestHelpersSpi
- Parameters:
search - The search SPIoclass - The object class - passed through to
connector so it may be null if the connecor
allowing it to be null. (This is convenient for
unit tests, but will not be the case in general)filter - The filter to search onhandler - The result handleroptions - The options - may be null - will
be cast to an empty OperationOptions
createDummyMessages
public ConnectorMessages createDummyMessages()
- Specified by:
createDummyMessages in interface TestHelpersSpi
Copyright © 2011. All Rights Reserved.