|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.test.util.TestUtil
public class TestUtil
Unit test utility. The utility is able to locate and unmarshall sample XML objects. It is expected that this will be used by other unit tests to reuse the same XML objects instead of each test creating its own set of testing objects.
Field Summary | |
---|---|
static java.lang.String |
code_id
|
static javax.xml.bind.JAXBContext |
ctx
|
Constructor Summary | |
---|---|
TestUtil()
|
Method Summary | |
---|---|
static ExtensibleObjectType |
getSampleObject(SampleObjects object)
Gets an object from the sample object store and unmarshall it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String code_id
public static final javax.xml.bind.JAXBContext ctx
Constructor Detail |
---|
public TestUtil()
Method Detail |
---|
public static ExtensibleObjectType getSampleObject(SampleObjects object)
SampleObjects
enum.
object
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |