com.evolveum.midpoint.test
Class IntegrationTestTools

java.lang.Object
  extended by com.evolveum.midpoint.test.IntegrationTestTools

public class IntegrationTestTools
extends java.lang.Object

Author:
Radovan Semancik

Field Summary
static boolean checkResults
           
static Trace logger
           
 
Constructor Summary
IntegrationTestTools()
           
 
Method Summary
static void assertAttribute(ResourceObjectShadowType repoShadow, javax.xml.namespace.QName name, java.lang.String value)
           
static void assertAttribute(ResourceObjectShadowType repoShadow, ResourceType resource, java.lang.String name, java.lang.String value)
           
static void assertAttribute(org.opends.server.types.SearchResultEntry response, java.lang.String name, java.lang.String value)
           
static void assertAttribute(java.lang.String message, ResourceObjectShadowType repoShadow, javax.xml.namespace.QName name, java.lang.String value)
           
static void assertAttributeNotNull(ResourceObjectShadowType repoShadow, javax.xml.namespace.QName name)
           
static void assertAttributeNotNull(java.lang.String message, ResourceObjectShadowType repoShadow, javax.xml.namespace.QName name)
           
static void assertNotEmpty(java.lang.String s)
           
static void assertNotEmpty(java.lang.String message, java.lang.String s)
           
static void assertSuccess(java.lang.String message, OperationResult result)
           
static void assertSuccess(java.lang.String message, OperationResultType result)
           
static void display(org.opends.server.types.SearchResultEntry response)
           
static void display(java.lang.String title, org.opends.server.types.Entry entry)
           
static void display(java.lang.String message, ObjectType o)
           
static void display(java.lang.String message, PropertyContainer propertyContainer)
           
static void display(java.lang.String message, org.opends.server.types.SearchResultEntry response)
           
static void display(java.lang.String message, Task task)
           
static void displayJaxb(java.lang.Object o, javax.xml.namespace.QName qname)
           
static void displayJaxb(java.lang.String title, java.lang.Object o, javax.xml.namespace.QName qname)
           
static void displayTestTile(java.lang.String title)
           
static java.util.List<java.lang.String> getAttributeValues(ResourceObjectShadowType repoShadow, javax.xml.namespace.QName name)
           
static void waitFor(java.lang.String message, Checker checker, int timeoutInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checkResults

public static boolean checkResults

logger

public static Trace logger
Constructor Detail

IntegrationTestTools

public IntegrationTestTools()
Method Detail

assertSuccess

public static void assertSuccess(java.lang.String message,
                                 OperationResultType result)

assertSuccess

public static void assertSuccess(java.lang.String message,
                                 OperationResult result)

assertNotEmpty

public static void assertNotEmpty(java.lang.String message,
                                  java.lang.String s)

assertNotEmpty

public static void assertNotEmpty(java.lang.String s)

assertAttribute

public static void assertAttribute(ResourceObjectShadowType repoShadow,
                                   ResourceType resource,
                                   java.lang.String name,
                                   java.lang.String value)

assertAttribute

public static void assertAttribute(ResourceObjectShadowType repoShadow,
                                   javax.xml.namespace.QName name,
                                   java.lang.String value)

assertAttribute

public static void assertAttribute(java.lang.String message,
                                   ResourceObjectShadowType repoShadow,
                                   javax.xml.namespace.QName name,
                                   java.lang.String value)

assertAttributeNotNull

public static void assertAttributeNotNull(ResourceObjectShadowType repoShadow,
                                          javax.xml.namespace.QName name)

assertAttributeNotNull

public static void assertAttributeNotNull(java.lang.String message,
                                          ResourceObjectShadowType repoShadow,
                                          javax.xml.namespace.QName name)

getAttributeValues

public static java.util.List<java.lang.String> getAttributeValues(ResourceObjectShadowType repoShadow,
                                                                  javax.xml.namespace.QName name)

assertAttribute

public static void assertAttribute(org.opends.server.types.SearchResultEntry response,
                                   java.lang.String name,
                                   java.lang.String value)

displayTestTile

public static void displayTestTile(java.lang.String title)

waitFor

public static void waitFor(java.lang.String message,
                           Checker checker,
                           int timeoutInterval)
                    throws java.lang.Exception
Throws:
java.lang.Exception

displayJaxb

public static void displayJaxb(java.lang.String title,
                               java.lang.Object o,
                               javax.xml.namespace.QName qname)
                        throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

displayJaxb

public static void displayJaxb(java.lang.Object o,
                               javax.xml.namespace.QName qname)
                        throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

display

public static void display(java.lang.String message,
                           org.opends.server.types.SearchResultEntry response)

display

public static void display(org.opends.server.types.SearchResultEntry response)

display

public static void display(java.lang.String message,
                           Task task)

display

public static void display(java.lang.String message,
                           ObjectType o)

display

public static void display(java.lang.String title,
                           org.opends.server.types.Entry entry)

display

public static void display(java.lang.String message,
                           PropertyContainer propertyContainer)


Copyright © 2011 evolveum. All Rights Reserved.