Search in sources :

Example 66 with BeforeSuite

use of org.testng.annotations.BeforeSuite in project OpenRefine by OpenRefine.

the class ProjectMetadataTests method setUpJson.

@BeforeSuite
public void setUpJson() throws IOException {
    InputStream f = ProjectMetadataTests.class.getClassLoader().getResourceAsStream("example_project_metadata.json");
    jsonNonSaveMode = IOUtils.toString(f);
    f = ProjectMetadataTests.class.getClassLoader().getResourceAsStream("example_project_metadata_save_mode.json");
    jsonSaveMode = IOUtils.toString(f);
}
Also used : InputStream(java.io.InputStream) BeforeSuite(org.testng.annotations.BeforeSuite)

Aggregations

BeforeSuite (org.testng.annotations.BeforeSuite)66 HashMap (java.util.HashMap)13 PrismInternalTestUtil (com.evolveum.midpoint.prism.PrismInternalTestUtil)12 File (java.io.File)11 FileInputStream (java.io.FileInputStream)6 Properties (java.util.Properties)6 WebDriverWait (org.openqa.selenium.support.ui.WebDriverWait)6 ChromeDriver (org.openqa.selenium.chrome.ChromeDriver)5 DesiredCapabilities (org.openqa.selenium.remote.DesiredCapabilities)5 ZNRecordSerializer (org.apache.helix.manager.zk.ZNRecordSerializer)4 ZkClient (org.apache.helix.manager.zk.ZkClient)4 ChromeOptions (org.openqa.selenium.chrome.ChromeOptions)4 Actions (org.openqa.selenium.interactions.Actions)4 IOException (java.io.IOException)3 ArrayList (java.util.ArrayList)3 Random (java.util.Random)3 SubscriptionManagerTasks (rhsm.cli.tasks.SubscriptionManagerTasks)3 SSHCommandResult (com.redhat.qe.tools.SSHCommandResult)2 CloudbreakClient (com.sequenceiq.cloudbreak.client.CloudbreakClient)2 InputStream (java.io.InputStream)2