public class IntegrationTestTools extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DBTABLE_CONNECTOR_TYPE |
static String |
DUMMY_CONNECTOR_TYPE |
static Trace |
LOGGER |
static String |
NS_RESOURCE_DUMMY_CONFIGURATION |
static QName |
RESOURCE_DUMMY_CONFIGURATION_USELESS_STRING_ELEMENT_NAME |
Constructor and Description |
---|
IntegrationTestTools() |
Modifier and Type | Method and Description |
---|---|
static void |
applyResourceSchema(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType accountType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
PrismContext prismContext) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType |
assertAssociation(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
QName associationName,
String entitlementOid) |
static <T> void |
assertAttribute(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
QName name,
T... expectedValues) |
static <T> void |
assertAttribute(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
String name,
T... expectedValues) |
static <T> void |
assertAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
QName name,
T... expectedValues) |
static <T> void |
assertAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
String name,
T... expectedValues) |
static <T> void |
assertAttribute(String message,
PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow,
QName name,
T... expectedValues) |
static <T> void |
assertAttribute(String message,
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow,
QName name,
T... expectedValues) |
static void |
assertAttributeDefinition(ResourceAttribute<?> attr,
QName expectedType,
int minOccurs,
int maxOccurs,
boolean canRead,
boolean canCreate,
boolean canUpdate,
Class<?> expetcedAttributeDefinitionClass) |
static void |
assertAttributeNotNull(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow,
QName name) |
static void |
assertAttributeNotNull(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow,
QName name) |
static void |
assertAttributeNotNull(String message,
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow,
QName name) |
static <T> void |
assertEqualsCollection(String message,
Collection<T> expectedValues,
Collection<T> actualValues) |
static <T> void |
assertEqualsCollection(String message,
Collection<T> expectedValues,
T[] actualValues) |
static <T> void |
assertEqualsCollection(String message,
T[] expectedValues,
Collection<T> actualValues) |
static <T> void |
assertExtensionProperty(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object,
QName propertyName,
T... expectedValues) |
static void |
assertGroupMember(DummyGroup group,
String accountId) |
static void |
assertGroupMember(DummyGroup group,
String accountId,
boolean caseIgnore) |
static void |
assertIcfResourceSchemaSanity(ResourceSchema resourceSchema,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType) |
static void |
assertIcfsNameAttribute(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow,
String value) |
static void |
assertIcfsNameAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow,
String value) |
static void |
assertInMessageRecursive(Throwable e,
String substring) |
static void |
assertNoAssociation(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
QName associationName,
String entitlementOid) |
static <T> void |
assertNoAttribute(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
QName name) |
static <T> void |
assertNoExtensionProperty(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object,
QName propertyName) |
static void |
assertNoGroupMember(DummyGroup group,
String accountId) |
static void |
assertNoGroupMembers(DummyGroup group) |
static void |
assertNoRepoCache() |
static void |
assertNoSchema(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType) |
static void |
assertNoSchema(String message,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType) |
static void |
assertNotEmpty(PolyString ps) |
static void |
assertNotEmpty(PolyStringType ps) |
static void |
assertNotEmpty(QName qname) |
static void |
assertNotEmpty(String s) |
static void |
assertNotEmpty(String message,
PolyString ps) |
static void |
assertNotEmpty(String message,
PolyStringType ps) |
static void |
assertNotEmpty(String message,
QName qname) |
static void |
assertNotEmpty(String message,
String s) |
static void |
assertNotInMessageRecursive(Throwable e,
String substring) |
static void |
assertProvisioningAccountShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> account,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
Class<?> expetcedAttributeDefinitionClass) |
static void |
assertProvisioningShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> account,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
Class<?> expetcedAttributeDefinitionClass,
QName objectClass) |
static void |
assertScripts(List<ScriptHistoryEntry> scriptsHistory,
ProvisioningScriptSpec... expectedScripts) |
static <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
assertSearchResultNames(SearchResultList<PrismObject<O>> resultList,
MatchingRule<String> matchingRule,
String... expectedNames) |
static <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
assertSearchResultNames(SearchResultList<PrismObject<O>> resultList,
String... expectedNames) |
static void |
assertSecondaryIdentifier(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow,
String value) |
static void |
assertTestResourceFailure(OperationResult testResult,
ConnectorTestOperation operation) |
static void |
assertTestResourceNotApplicable(OperationResult testResult,
ConnectorTestOperation operation) |
static void |
assertTestResourceSuccess(OperationResult testResult,
ConnectorTestOperation operation) |
static void |
checkAccountShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
MatchingRule<String> uidMatchingRule,
PrismContext prismContext,
OperationResult parentResult) |
static void |
checkAccountShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
PrismContext prismContext,
OperationResult parentResult) |
static void |
checkAllShadows(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
PrismContext prismContext) |
static void |
checkEntitlementShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
String objectClassLocalName,
MatchingRule<String> uidMatchingRule,
PrismContext prismContext,
OperationResult parentResult) |
static void |
checkEntitlementShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
String objectClassLocalName,
PrismContext prismContext,
OperationResult parentResult) |
static void |
checkShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
MatchingRule<String> uidMatchingRule,
PrismContext prismContext,
OperationResult parentResult) |
static void |
checkShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RepositoryService repositoryService,
ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker,
PrismContext prismContext,
OperationResult parentResult) |
static ObjectQuery |
createAllShadowsQuery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
PrismContext prismContext) |
static ObjectQuery |
createAllShadowsQuery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
QName objectClass,
PrismContext prismContext) |
static ObjectQuery |
createAllShadowsQuery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
String objectClassLocalName,
PrismContext prismContext) |
static ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
createDetitleDelta(String accountOid,
QName associationName,
String groupOid,
PrismContext prismContext) |
static ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
createEntitleDelta(String accountOid,
QName associationName,
String groupOid,
PrismContext prismContext) |
static void |
display(org.opends.server.types.Entry response) |
static void |
display(OperationResult result) |
static void |
display(String message) |
static void |
display(String message,
Collection collection) |
static void |
display(String title,
Containerable value) |
static void |
display(String title,
DebugDumpable dumpable) |
static void |
display(String title,
org.opends.server.types.Entry entry) |
static void |
display(String title,
List<Element> elements) |
static void |
display(String title,
Object value) |
static void |
display(String message,
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType o) |
static void |
display(String title,
OperationResult result) |
static void |
display(String title,
com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType result) |
static void |
display(String message,
PrismContainer<?> propertyContainer) |
static void |
display(String message,
org.opends.server.types.SearchResultEntry response) |
static void |
display(String title,
String value) |
static void |
display(String message,
Task task) |
static void |
display(String title,
Throwable e) |
static void |
displayJaxb(String title,
Object o,
QName defaultElementName) |
static void |
displayObjectTypeCollection(String message,
Collection<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> collection) |
static void |
displayScripts(List<ScriptHistoryEntry> scriptsHistory) |
static void |
displayXml(String message,
PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object) |
static String |
getAttributeValue(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow,
QName name) |
static <T> Collection<T> |
getAttributeValues(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
QName name) |
static <T> Collection<T> |
getAttributeValues(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType,
QName name) |
static String |
getIcfsNameAttribute(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow) |
static String |
getIcfsNameAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType) |
static String |
getSecondaryIdentifier(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow) |
static boolean |
hasInMessageRecursive(Throwable e,
String substring) |
static void |
waitFor(String message,
Checker checker,
int timeoutInterval) |
static void |
waitFor(String message,
Checker checker,
int timeoutInterval,
long sleepInterval) |
public static final String DUMMY_CONNECTOR_TYPE
public static final String DBTABLE_CONNECTOR_TYPE
public static final String NS_RESOURCE_DUMMY_CONFIGURATION
public static final QName RESOURCE_DUMMY_CONFIGURATION_USELESS_STRING_ELEMENT_NAME
public static Trace LOGGER
public static void assertTestResourceSuccess(OperationResult testResult, ConnectorTestOperation operation)
public static void assertTestResourceFailure(OperationResult testResult, ConnectorTestOperation operation)
public static void assertTestResourceNotApplicable(OperationResult testResult, ConnectorTestOperation operation)
public static void assertNotEmpty(PolyString ps)
public static void assertNotEmpty(PolyStringType ps)
public static void assertNotEmpty(String message, PolyString ps)
public static void assertNotEmpty(String message, PolyStringType ps)
public static void assertNotEmpty(String s)
public static void assertNotEmpty(QName qname)
public static <T> void assertAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadow, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, String name, T... expectedValues)
public static <T> void assertAttribute(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, String name, T... expectedValues)
public static <T> void assertAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, QName name, T... expectedValues)
public static <T> void assertAttribute(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, QName name, T... expectedValues)
public static <T> void assertAttribute(String message, com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow, QName name, T... expectedValues)
public static <T> void assertAttribute(String message, PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow, QName name, T... expectedValues)
public static <T> void assertNoAttribute(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, QName name)
public static <T> void assertEqualsCollection(String message, Collection<T> expectedValues, Collection<T> actualValues)
public static <T> void assertEqualsCollection(String message, Collection<T> expectedValues, T[] actualValues)
public static <T> void assertEqualsCollection(String message, T[] expectedValues, Collection<T> actualValues)
public static String getIcfsNameAttribute(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow)
public static String getIcfsNameAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType)
public static String getSecondaryIdentifier(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow)
public static void assertSecondaryIdentifier(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow, String value)
public static void assertIcfsNameAttribute(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow, String value)
public static void assertIcfsNameAttribute(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow, String value)
public static void assertAttributeNotNull(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoShadow, QName name)
public static void assertAttributeNotNull(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow, QName name)
public static void assertAttributeNotNull(String message, com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow, QName name)
public static void assertAttributeDefinition(ResourceAttribute<?> attr, QName expectedType, int minOccurs, int maxOccurs, boolean canRead, boolean canCreate, boolean canUpdate, Class<?> expetcedAttributeDefinitionClass)
public static void assertProvisioningAccountShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> account, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, Class<?> expetcedAttributeDefinitionClass)
public static void assertProvisioningShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> account, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, Class<?> expetcedAttributeDefinitionClass, QName objectClass)
public static <T> Collection<T> getAttributeValues(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, QName name)
public static <T> Collection<T> getAttributeValues(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, QName name)
public static String getAttributeValue(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadow, QName name)
public static void waitFor(String message, Checker checker, int timeoutInterval) throws CommonException
CommonException
public static void waitFor(String message, Checker checker, int timeoutInterval, long sleepInterval) throws CommonException
CommonException
public static void displayJaxb(String title, Object o, QName defaultElementName) throws SchemaException
SchemaException
public static void display(String message)
public static void display(String message, org.opends.server.types.SearchResultEntry response)
public static void display(org.opends.server.types.Entry response)
public static void display(String message, com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType o)
public static void display(String message, Collection collection)
public static void displayObjectTypeCollection(String message, Collection<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> collection)
public static void display(String title, org.opends.server.types.Entry entry)
public static void display(String message, PrismContainer<?> propertyContainer)
public static void display(OperationResult result)
public static void display(String title, OperationResult result)
public static void display(String title, com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType result) throws SchemaException
SchemaException
public static void display(String title, DebugDumpable dumpable)
public static void display(String title, Containerable value)
public static <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void assertSearchResultNames(SearchResultList<PrismObject<O>> resultList, MatchingRule<String> matchingRule, String... expectedNames) throws SchemaException
SchemaException
public static <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void assertSearchResultNames(SearchResultList<PrismObject<O>> resultList, String... expectedNames)
public static void checkAllShadows(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, PrismContext prismContext) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
public static ObjectQuery createAllShadowsQuery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, PrismContext prismContext) throws SchemaException
SchemaException
public static ObjectQuery createAllShadowsQuery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, QName objectClass, PrismContext prismContext) throws SchemaException
SchemaException
public static ObjectQuery createAllShadowsQuery(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, String objectClassLocalName, PrismContext prismContext) throws SchemaException
SchemaException
public static void checkAccountShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, PrismContext prismContext, OperationResult parentResult) throws SchemaException
SchemaException
public static void checkAccountShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, MatchingRule<String> uidMatchingRule, PrismContext prismContext, OperationResult parentResult) throws SchemaException
SchemaException
public static void checkEntitlementShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, String objectClassLocalName, PrismContext prismContext, OperationResult parentResult) throws SchemaException
SchemaException
public static void checkEntitlementShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, String objectClassLocalName, MatchingRule<String> uidMatchingRule, PrismContext prismContext, OperationResult parentResult) throws SchemaException
SchemaException
public static void checkShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, PrismContext prismContext, OperationResult parentResult) throws SchemaException
SchemaException
public static void checkShadow(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RepositoryService repositoryService, ObjectChecker<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> checker, MatchingRule<String> uidMatchingRule, PrismContext prismContext, OperationResult parentResult) throws SchemaException
SchemaException
public static void applyResourceSchema(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType accountType, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, PrismContext prismContext) throws SchemaException
SchemaException
public static void assertNotInMessageRecursive(Throwable e, String substring)
public static void assertNoRepoCache()
public static void assertScripts(List<ScriptHistoryEntry> scriptsHistory, ProvisioningScriptSpec... expectedScripts)
public static void displayScripts(List<ScriptHistoryEntry> scriptsHistory)
public static <T> void assertExtensionProperty(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object, QName propertyName, T... expectedValues)
public static <T> void assertNoExtensionProperty(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object, QName propertyName)
public static void assertIcfResourceSchemaSanity(ResourceSchema resourceSchema, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType)
public static void displayXml(String message, PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object) throws SchemaException
SchemaException
public static ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> createEntitleDelta(String accountOid, QName associationName, String groupOid, PrismContext prismContext) throws SchemaException
SchemaException
public static ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> createDetitleDelta(String accountOid, QName associationName, String groupOid, PrismContext prismContext) throws SchemaException
SchemaException
public static void assertGroupMember(DummyGroup group, String accountId)
public static void assertGroupMember(DummyGroup group, String accountId, boolean caseIgnore)
public static void assertNoGroupMember(DummyGroup group, String accountId)
public static void assertNoGroupMembers(DummyGroup group)
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType assertAssociation(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, QName associationName, String entitlementOid)
public static void assertNoAssociation(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, QName associationName, String entitlementOid)
public static void assertNoSchema(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType)
public static void assertNoSchema(String message, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType)
Copyright © 2016 evolveum. All rights reserved.