Search in sources :

Example 11 with PrismInternalTestUtil

use of com.evolveum.midpoint.prism.PrismInternalTestUtil in project midpoint by Evolveum.

the class TestProtectedString method setupDebug.

@BeforeSuite
public void setupDebug() throws SchemaException, SAXException, IOException {
    PrettyPrinter.setDefaultNamespacePrefix(DEFAULT_NAMESPACE_PREFIX);
    PrismTestUtil.resetPrismContext(new PrismInternalTestUtil());
}
Also used : PrismInternalTestUtil(com.evolveum.midpoint.prism.PrismInternalTestUtil) BeforeSuite(org.testng.annotations.BeforeSuite)

Example 12 with PrismInternalTestUtil

use of com.evolveum.midpoint.prism.PrismInternalTestUtil in project midpoint by Evolveum.

the class TestMatchingRule method setup.

@BeforeSuite
public void setup() throws SchemaException, SAXException, IOException {
    PrettyPrinter.setDefaultNamespacePrefix(DEFAULT_NAMESPACE_PREFIX);
    PrismTestUtil.resetPrismContext(new PrismInternalTestUtil());
    matchingRuleRegistry = MatchingRuleRegistryFactory.createRegistry();
}
Also used : PrismInternalTestUtil(com.evolveum.midpoint.prism.PrismInternalTestUtil) BeforeSuite(org.testng.annotations.BeforeSuite)

Aggregations

PrismInternalTestUtil (com.evolveum.midpoint.prism.PrismInternalTestUtil)12 BeforeSuite (org.testng.annotations.BeforeSuite)12