public abstract class AbstractModelIntegrationTest extends AbstractIntegrationTest
COMMON_DIR_NAME, DEFAULT_INTENT, derbyController, initializedClasses, OPENDJ_PEOPLE_SUFFIX, openDJController, protector, taskManager
Constructor and Description |
---|
AbstractModelIntegrationTest() |
addResourceFromFile, applySyncSettings, assertEffectiveActivation, assertNoChanges, assertNoChanges, assertObject, assertShadow, assertShadowCommon, assertShadowRepo, assertShadowRepo, assertUser, assertUser, assertValidityStatus, assumeAssignmentPolicy, assumeResourceAssigmentPolicy, deleteResourceAssigmentPolicy, fillInConnectorRef, findConnectorByType, findConnectorByTypeAndVersion, getAssignmentPolicyEnforcementType, getSystemConfiguration, initSystemConditional, isSystemInitialized, parseObjectType, parseObjectType, parseObjectTypeFromFile, repoAddObject, repoAddObject, repoAddObjectFromFile, repoAddObjectFromFile, repoAddObjectsFromFile, unmarshallJaxbFromFile, unmarshallJaxbFromFile, unmarshallJaxbFromFile
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
protected static final int DEFAULT_TASK_WAIT_TIMEOUT
protected static final long DEFAULT_TASK_SLEEP_TIME
protected static final String CONNECTOR_DUMMY_TYPE
protected static final String CONNECTOR_DUMMY_VERSION
protected static final String CONNECTOR_DUMMY_NAMESPACE
protected static final ItemPath ACTIVATION_ADMINISTRATIVE_STATUS_PATH
protected static final ItemPath ACTIVATION_VALID_FROM_PATH
protected static final ItemPath ACTIVATION_VALID_TO_PATH
@Autowired(required=true) protected ModelService modelService
@Autowired(required=true) protected ModelInteractionService modelInteractionService
@Autowired(required=true) protected ModelDiagnosticService modelDiagnosticService
@Autowired(required=true) protected ModelPortType modelWeb
@Autowired(required=true) protected RepositoryService repositoryService
@Autowired(required=true) protected ProvisioningService provisioningService
@Autowired(required=true) protected HookRegistry hookRegistry
@Autowired(required=true) protected Clock clock
@Autowired(required=true) protected PrismContext prismContext
@Autowired(required=false) protected DummyNotifier dummyNotifier
@Autowired(required=false) protected DummyTransport dummyTransport
@Autowired(required=false) protected NotificationManager notificationManager
protected DummyAuditService dummyAuditService
protected boolean verbose
public void initSystem(Task initTask, OperationResult initResult) throws Exception
initSystem
in class AbstractIntegrationTest
Exception
protected void importObjectFromFile(String filename) throws FileNotFoundException
FileNotFoundException
protected void importObjectFromFile(File file) throws FileNotFoundException
FileNotFoundException
protected void importObjectFromFile(String filename, OperationResult result) throws FileNotFoundException
FileNotFoundException
protected void importObjectFromFile(File file, OperationResult result) throws FileNotFoundException
FileNotFoundException
protected <T extends ObjectType> PrismObject<T> importAndGetObjectFromFile(Class<T> type, String filename, String oid, Task task, OperationResult result) throws FileNotFoundException, ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected <T extends ObjectType> PrismObject<T> importAndGetObjectFromFile(Class<T> type, File file, String oid, Task task, OperationResult result) throws FileNotFoundException, ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected void applyResourceSchema(ShadowType accountType, ResourceType resourceType) throws SchemaException
SchemaException
protected void assertUsers(int expectedNumberOfUsers) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertUserProperty(String userOid, QName propertyName, Object... expectedPropValues) throws ObjectNotFoundException, SchemaException
protected void assertUserProperty(PrismObject<UserType> user, QName propertyName, Object... expectedPropValues)
protected void assertLinked(String userOid, String accountOid) throws ObjectNotFoundException, SchemaException
protected void assertLinked(PrismObject<UserType> user, PrismObject<ShadowType> account) throws ObjectNotFoundException, SchemaException
protected void assertLinked(PrismObject<UserType> user, String accountOid) throws ObjectNotFoundException, SchemaException
protected void assertNoLinkedAccount(PrismObject<UserType> user)
protected void assertAccount(PrismObject<UserType> user, String resourceOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertAccounts(String userOid, int numAccounts) throws ObjectNotFoundException, SchemaException
protected void assertAccounts(PrismObject<UserType> user, int numAccounts) throws ObjectNotFoundException, SchemaException
protected void assertAdministrativeStatusEnabled(PrismObject<? extends ObjectType> user)
protected void assertAdministrativeStatusDisabled(PrismObject<? extends ObjectType> user)
protected void assertAdministrativeStatus(PrismObject<? extends ObjectType> object, ActivationStatusType expected)
protected ObjectDelta<UserType> createModifyUserReplaceDelta(String userOid, QName propertyName, Object... newRealValue)
protected ObjectDelta<UserType> createModifyUserReplaceDelta(String userOid, ItemPath propertyName, Object... newRealValue)
protected ObjectDelta<UserType> createModifyUserAddDelta(String userOid, ItemPath propertyName, Object... newRealValue)
protected ObjectDelta<UserType> createModifyUserDeleteDelta(String userOid, ItemPath propertyName, Object... newRealValue)
protected ObjectDelta<UserType> createModifyUserAddAccount(String userOid, PrismObject<ResourceType> resource) throws SchemaException
SchemaException
protected ObjectDelta<UserType> createModifyUserDeleteAccount(String userOid, PrismObject<ResourceType> resource) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected ObjectDelta<UserType> createModifyUserUnlinkAccount(String userOid, PrismObject<ResourceType> resource) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected ObjectDelta<ShadowType> createModifyAccountShadowEmptyDelta(String accountOid)
protected ObjectDelta<ShadowType> createModifyAccountShadowReplaceAttributeDelta(String accountOid, PrismObject<ResourceType> resource, String attributeName, Object... newRealValue) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
protected ObjectDelta<ShadowType> createModifyAccountShadowReplaceAttributeDelta(String accountOid, PrismObject<ResourceType> resource, QName attributeName, Object... newRealValue) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
protected ObjectDelta<ShadowType> createModifyAccountShadowReplaceDelta(String accountOid, PrismObject<ResourceType> resource, ItemPath itemPath, Object... newRealValue) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
protected <T> PropertyDelta<T> createAttributeReplaceDelta(PrismObject<ResourceType> resource, String attributeLocalName, T... newRealValue) throws SchemaException
SchemaException
protected <T> PropertyDelta<T> createAttributeReplaceDelta(PrismObject<ResourceType> resource, QName attributeQName, T... newRealValue) throws SchemaException
SchemaException
protected <T> PropertyDelta<T> createAttributeAddDelta(PrismObject<ResourceType> resource, String attributeLocalName, T... newRealValue) throws SchemaException
SchemaException
protected <T> PropertyDelta<T> createAttributeAddDelta(PrismObject<ResourceType> resource, QName attributeQName, T... newRealValue) throws SchemaException
SchemaException
protected <T> PropertyDelta<T> createAttributeDeleteDelta(PrismObject<ResourceType> resource, String attributeLocalName, T... newRealValue) throws SchemaException
SchemaException
protected <T> PropertyDelta<T> createAttributeDeleteDelta(PrismObject<ResourceType> resource, QName attributeQName, T... newRealValue) throws SchemaException
SchemaException
protected ResourceAttributeDefinition getAttributeDefinition(PrismObject<ResourceType> resource, QName attributeName) throws SchemaException
SchemaException
protected ObjectDelta<ShadowType> createModifyAccountShadowAddDelta(String accountOid, ItemPath propertyName, Object... newRealValue)
protected void modifyUserReplace(String userOid, QName propertyName, Task task, OperationResult result, Object... newRealValue) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void modifyUserReplace(String userOid, ItemPath propertyPath, Task task, OperationResult result, Object... newRealValue) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void modifyUserDelete(String userOid, ItemPath propertyPath, Task task, OperationResult result, Object... newRealValue) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void modifyAccountShadowReplace(String accountOid, ItemPath propertyPath, Task task, OperationResult result, Object... newRealValue) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void assignRole(String userOid, String roleOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void unassignRole(String userOid, String roleOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void assignRole(String userOid, String roleOid, PrismContainer<?> extension, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void unassignRole(String userOid, String roleOid, PrismContainer<?> extension, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void assignOrg(String userOid, String orgOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void assignOrg(String userOid, String orgOid, QName relation, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void unassignOrg(String userOid, String orgOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void unassignOrg(String userOid, String orgOid, QName relation, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void modifyUserAssignment(String userOid, String roleOid, QName refType, QName relation, Task task, PrismContainer<?> extension, boolean add, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected void unassignAll(String userOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, ObjectAlreadyExistsException, PolicyViolationException, SecurityViolationException
protected ContainerDelta<AssignmentType> createAssignmentModification(String roleOid, QName refType, QName relation, PrismContainer<?> extension, boolean add) throws SchemaException
SchemaException
protected ObjectDelta<UserType> createAssignmentUserDelta(String userOid, String roleOid, QName refType, QName relation, PrismContainer<?> extension, boolean add) throws SchemaException
SchemaException
protected ContainerDelta<AssignmentType> createAccountAssignmentModification(String resourceOid, String intent, boolean add) throws SchemaException
SchemaException
protected AssignmentType createAccountAssignment(String resourceOid, String intent)
protected ConstructionType createAccountConstruction(String resourceOid, String intent) throws SchemaException
SchemaException
protected ObjectDelta<UserType> createReplaceAccountConstructionUserDelta(String userOid, Long id, ConstructionType newValue) throws SchemaException
SchemaException
protected ObjectDelta<UserType> createAccountAssignmentUserDelta(String userOid, String resourceOid, String intent, boolean add) throws SchemaException
SchemaException
protected void assignAccount(String userOid, String resourceOid, String intent, Task task, OperationResult result) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected void unassignAccount(String userOid, String resourceOid, String intent, Task task, OperationResult result) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected PrismObject<UserType> getUser(String userOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected PrismObject<UserType> findUserByUsername(String username) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected PrismObject<ShadowType> findAccountByUsername(String username, PrismObject<ResourceType> resource) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected PrismObject<ShadowType> findAccountByUsername(String username, PrismObject<ResourceType> resource, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected Collection<PrismObject<ShadowType>> listAccounts(PrismObject<ResourceType> resource, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected PrismObject<ShadowType> getAccount(String accountOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected PrismObject<ShadowType> getAccountNoFetch(String accountOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected PrismObject<ShadowType> getAccount(String accountOid, boolean noFetch, boolean assertSuccess) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected <O extends ObjectType> void assertNoObject(Class<O> type, String oid, Task task, OperationResult result) throws SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertNoShadow(String username, PrismObject<ResourceType> resource, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertHasShadow(String username, PrismObject<ResourceType> resource, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected String getSingleUserAccountRef(PrismObject<UserType> user)
protected String getAccountRef(String userOid, String resourceOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected String getAccountRef(PrismObject<UserType> user, String resourceOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertUserNoAccountRefs(PrismObject<UserType> user)
protected void assertNoAccountShadow(String accountOid) throws SchemaException
SchemaException
protected void assertAssignedRole(String userOid, String roleOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertAssignedRole(PrismObject<UserType> user, String roleOid)
protected void assertNotAssignedRole(String userOid, String roleOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertNotAssignedRole(PrismObject<UserType> user, String roleOid)
protected void assertAssignedOrg(String userOid, String orgOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertAssignedOrg(PrismObject<UserType> user, String orgOid, QName relation)
protected void assertAssignedOrg(PrismObject<UserType> user, String orgOid)
protected void assertHasOrg(String userOid, String orgOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertHasOrg(PrismObject<UserType> user, String orgOid)
protected void assertHasOrg(PrismObject<UserType> user, String orgOid, QName relation)
protected void assertHasNoOrg(PrismObject<UserType> user)
protected void assertHasOrgs(PrismObject<UserType> user, int expectedNumber)
protected void assertAssignments(PrismObject<UserType> user, int expectedNumber)
protected void assertAssigned(PrismObject<UserType> user, String targetOid, QName refType)
protected void assertAssignedNoOrg(String userOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertAssignedNoOrg(PrismObject<UserType> user)
protected void assertAssignedNoRole(String userOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertAssignedNoRole(PrismObject<UserType> user)
protected void assertAssignedNo(PrismObject<UserType> user, QName refType)
protected void assertAssignedAccount(String userOid, String resourceOid, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException
protected void assertAssignedAccount(PrismObject<UserType> user, String resourceOid) throws ObjectNotFoundException, SchemaException
protected void assertAssignedNoAccount(PrismObject<UserType> user, String resourceOid) throws ObjectNotFoundException, SchemaException
protected PrismObjectDefinition<UserType> getUserDefinition()
protected PrismObjectDefinition<ShadowType> getShadowDefinition()
protected PrismContainerDefinition<AssignmentType> getAssignmentDefinition()
protected PrismContainerDefinition<?> getAssignmentExtensionDefinition()
protected PrismContainer<?> getAssignmentExtensionInstance()
protected PrismObjectDefinition<ResourceType> getResourceDefinition()
protected PrismObjectDefinition<ShadowType> getAccountShadowDefinition()
protected PrismObject<UserType> createUser(String name, String fullName) throws SchemaException
SchemaException
protected PrismObject<UserType> createUser(String name, String fullName, Boolean enabled) throws SchemaException
SchemaException
protected void fillinUser(PrismObject<UserType> user, String name, String fullName)
protected void fillinUserAssignmentAccountConstruction(PrismObject<UserType> user, String resourceOid)
protected PrismObject<ShadowType> createAccount(PrismObject<ResourceType> resource, String name, boolean enabled) throws SchemaException
SchemaException
protected void setDefaultUserTemplate(String userTemplateOid) throws ObjectNotFoundException, SchemaException, ObjectAlreadyExistsException
protected ItemPath getIcfsNameAttributePath()
protected void assertResolvedResourceRefs(ModelContext<UserType,ShadowType> context)
protected void breakAssignmentDelta(Collection<ObjectDelta<? extends ObjectType>> deltas) throws SchemaException
SchemaException
protected void breakAssignmentDelta(ObjectDelta<UserType> userDelta) throws SchemaException
SchemaException
protected void purgeResourceSchema(String resourceOid) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected List<PrismObject<OrgType>> searchOrg(String baseOrgOid, Integer minDepth, Integer maxDepth, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertShadowModel(PrismObject<ShadowType> accountShadow, String oid, String username, ResourceType resourceType)
protected QName getAttributeQName(PrismObject<ResourceType> resource, String attributeLocalName)
protected ItemPath getAttributePath(PrismObject<ResourceType> resource, String attributeLocalName)
protected void waitForTaskFinish(Task task, boolean checkSubresult) throws Exception
Exception
protected void waitForTaskFinish(Task task, boolean checkSubresult, int timeout) throws Exception
Exception
protected void waitForTaskFinish(String taskOid, boolean checkSubresult) throws Exception
Exception
protected void waitForTaskFinish(String taskOid, boolean checkSubresult, int timeout) throws Exception
Exception
protected void waitForTaskFinish(String taskOid, boolean checkSubresult, int timeout, boolean errorOk) throws Exception
Exception
protected void waitForTaskStart(String taskOid, boolean checkSubresult) throws Exception
Exception
protected void waitForTaskStart(String taskOid, boolean checkSubresult, int timeout) throws Exception
Exception
protected void waitForTaskNextRun(String taskOid, boolean checkSubresult) throws Exception
Exception
protected void waitForTaskNextRun(String taskOid, boolean checkSubresult, int timeout) throws Exception
Exception
protected void restartTask(String taskOid) throws ObjectNotFoundException, SchemaException, ObjectAlreadyExistsException
protected void setSecurityContextUser(String userOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected void assertEffectiveActivationDeltaOnly(ObjectDelta<UserType> userDelta, String desc, ActivationStatusType expectedEfficientActivation)
protected void assertValidFrom(PrismObject<? extends ObjectType> obj, Date expectedDate)
protected void assertValidTo(PrismObject<? extends ObjectType> obj, Date expectedDate)
protected PrismObject<TaskType> getTask(String taskOid) throws ObjectNotFoundException, SchemaException, SecurityViolationException, CommunicationException, ConfigurationException
protected <O extends ObjectType> void addObject(File file) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected <O extends ObjectType> void addObject(PrismObject<O> object) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected <O extends ObjectType> void deleteObject(Class<O> type, String oid, Task task, OperationResult result) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected void addTrigger(String oid, XMLGregorianCalendar timestamp, String uri) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException
protected <O extends ObjectType> void assertTrigger(PrismObject<O> object, String handlerUri, XMLGregorianCalendar start, XMLGregorianCalendar end) throws ObjectNotFoundException, SchemaException
protected <O extends ObjectType> void assertNoTrigger(Class<O> type, String oid) throws ObjectNotFoundException, SchemaException
protected PrismObject<ShadowType> createShadow(PrismObject<ResourceType> resource, String id) throws SchemaException
SchemaException
protected PrismObject<ShadowType> createShadow(PrismObject<ResourceType> resource, String uid, String name) throws SchemaException
SchemaException
protected void prepareNotifications()
protected void checkDummyTransportMessages(String name, int expectedCount)
protected void checkDummyTransportMessagesAtLeast(String name, int expectedCount)
protected DummyAccount getDummyAccount(String dummyInstanceName, String username)
protected void assertDummyAccount(String username, String fullname, boolean active)
protected void assertDummyAccount(String dummyInstanceName, String username, String fullname, boolean active)
protected void assertNoDummyAccount(String username)
protected void assertDefaultDummyAccountAttribute(String username, String attributeName, Object... expectedAttributeValues)
protected void assertDummyAccountAttribute(String dummyInstanceName, String username, String attributeName, Object... expectedAttributeValues)
protected void assertOpenDjAccount(String uid, String cn, Boolean active) throws org.opends.server.types.DirectoryException
org.opends.server.types.DirectoryException
protected void assertNoOpenDjAccount(String uid) throws org.opends.server.types.DirectoryException
org.opends.server.types.DirectoryException
protected void assertIteration(PrismObject<ShadowType> shadow, Integer expectedIteration, String expectedIterationToken)
protected void assertIterationDelta(ObjectDelta<ShadowType> shadowDelta, Integer expectedIteration, String expectedIterationToken)
protected void assertEnableTimestampFocus(PrismObject<? extends FocusType> focus, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime)
protected void assertDisableTimestampFocus(PrismObject<? extends FocusType> focus, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime)
protected void assertEnableTimestampShadow(PrismObject<? extends ShadowType> shadow, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime)
protected void assertDisableTimestampShadow(PrismObject<? extends ShadowType> shadow, XMLGregorianCalendar startTime, XMLGregorianCalendar endTime)
Copyright © 2013 evolveum. All rights reserved.