use of org.testng.annotations.BeforeSuite in project midpoint by Evolveum.
the class AbstractLexicalProcessorTest method setupDebug.
@BeforeSuite
public void setupDebug() throws SchemaException, SAXException, IOException {
PrettyPrinter.setDefaultNamespacePrefix(DEFAULT_NAMESPACE_PREFIX);
PrismTestUtil.resetPrismContext(new PrismInternalTestUtil());
}
use of org.testng.annotations.BeforeSuite 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());
}
use of org.testng.annotations.BeforeSuite 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();
}
use of org.testng.annotations.BeforeSuite in project gatk by broadinstitute.
the class BwaMemIntegrationTest method loadIndex.
@BeforeSuite
public void loadIndex() {
final String imageFile = createTempFile(b37_reference_20_21, ".img").toString();
BwaMemIndex.createIndexImage(b37_reference_20_21, imageFile);
index = new BwaMemIndex(imageFile);
}
use of org.testng.annotations.BeforeSuite in project Payara by payara.
the class NucleusStartStopTest method setUp.
@BeforeSuite
public void setUp(ITestContext context) throws IOException {
// Copy testing libraries into Nucleus distribution
Collection<File> testLibs = new ArrayList<File>();
context.setAttribute(TEST_LIBS_KEY, testLibs);
String basedir = System.getProperty("basedir");
assertNotNull(basedir);
File addondir = new File(basedir, "target/addon");
for (Map.Entry<String, String> entry : COPY_LIB.entrySet()) {
copyLibraries(new File(addondir, entry.getKey()), new File(NucleusTestUtils.getNucleusRoot(), entry.getValue()), testLibs);
}
// Start
assertTrue(nadmin("start-domain"));
}
Aggregations