public class TestHelpersImpl extends Object implements TestHelpersSpi
| Constructor and Description |
|---|
TestHelpersImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.identityconnectors.framework.common.objects.ConnectorMessages |
createDummyMessages() |
org.identityconnectors.framework.api.APIConfiguration |
createTestConfiguration(Class<? extends org.identityconnectors.framework.spi.Connector> clazz,
org.identityconnectors.framework.spi.Configuration config)
Method for convenient testing of local connectors.
|
org.identityconnectors.framework.api.APIConfiguration |
createTestConfiguration(Class<? extends org.identityconnectors.framework.spi.Connector> clazz,
Set<String> bundleContents,
PropertyBag configData,
String prefix)
Method for convenient testing of local connectors.
|
void |
fillConfiguration(org.identityconnectors.framework.spi.Configuration config,
Map<String,? extends Object> configData) |
org.identityconnectors.framework.common.objects.SearchResult |
search(org.identityconnectors.framework.spi.operations.SearchOp<?> search,
org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.filter.Filter filter,
org.identityconnectors.framework.common.objects.ResultsHandler handler,
org.identityconnectors.framework.common.objects.OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
public org.identityconnectors.framework.api.APIConfiguration createTestConfiguration(Class<? extends org.identityconnectors.framework.spi.Connector> clazz, org.identityconnectors.framework.spi.Configuration config)
createTestConfiguration in interface TestHelpersSpipublic org.identityconnectors.framework.api.APIConfiguration createTestConfiguration(Class<? extends org.identityconnectors.framework.spi.Connector> clazz, Set<String> bundleContents, PropertyBag configData, String prefix)
createTestConfiguration in interface TestHelpersSpipublic void fillConfiguration(org.identityconnectors.framework.spi.Configuration config,
Map<String,? extends Object> configData)
fillConfiguration in interface TestHelpersSpipublic org.identityconnectors.framework.common.objects.SearchResult search(org.identityconnectors.framework.spi.operations.SearchOp<?> search,
org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.filter.Filter filter,
org.identityconnectors.framework.common.objects.ResultsHandler handler,
org.identityconnectors.framework.common.objects.OperationOptions options)
search in interface TestHelpersSpisearch - The search SPIobjectClass - 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 OperationOptionspublic org.identityconnectors.framework.common.objects.ConnectorMessages createDummyMessages()
createDummyMessages in interface TestHelpersSpiCopyright © 2018. All rights reserved.