com.evolveum.midpoint.test
Class AbstractIntegrationTest
java.lang.Object
com.evolveum.midpoint.test.ldap.OpenDJUnitTestAdapter
com.evolveum.midpoint.test.AbstractIntegrationTest
public abstract class AbstractIntegrationTest
- extends OpenDJUnitTestAdapter
- Author:
- Radovan Semancik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
djUtil
protected static OpenDJUtil djUtil
- Utility to control embedded OpenDJ instance (start/stop)
jaxbctx
protected static javax.xml.bind.JAXBContext jaxbctx
- Unmarshalled resource definition to reach the embedded OpenDJ instance.
Used for convenience - the tests method may find it handy.
unmarshaller
protected static javax.xml.bind.Unmarshaller unmarshaller
repositoryService
protected RepositoryService repositoryService
repoInitialized
protected static boolean repoInitialized
taskManager
protected TaskManager taskManager
AbstractIntegrationTest
public AbstractIntegrationTest()
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
init
public static void init()
throws java.lang.Exception
- Initialize embedded OpenDJ instance
- Throws:
java.lang.Exception
shutdown
public static void shutdown()
throws java.lang.Exception
- Shutdown embedded OpenDJ instance
- Throws:
java.lang.Exception
initRepositoryConditional
public void initRepositoryConditional()
throws java.lang.Exception
- Throws:
java.lang.Exception
initRepository
public abstract void initRepository()
throws java.lang.Exception
- Throws:
java.lang.Exception
addObjectFromFile
protected ObjectType addObjectFromFile(java.lang.String filePath)
throws java.lang.Exception
- Throws:
java.lang.Exception
unmarshallJaxbFromFile
protected static <T> T unmarshallJaxbFromFile(java.lang.String filePath,
java.lang.Class<T> clazz)
throws java.io.FileNotFoundException,
javax.xml.bind.JAXBException
- Throws:
java.io.FileNotFoundException
javax.xml.bind.JAXBException
Copyright © 2011 evolveum. All Rights Reserved.