-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathAbstractZosFileLocalRSE.java
More file actions
40 lines (28 loc) · 1.13 KB
/
AbstractZosFileLocalRSE.java
File metadata and controls
40 lines (28 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Copyright contributors to the Galasa project
*/
package dev.galasa.inttests.zosFile;
import static org.assertj.core.api.Assertions.assertThat;
import com.google.gson.JsonObject;
import dev.galasa.Test;
import dev.galasa.galasaecosystem.IGenericEcosystem;
import dev.galasa.githubissue.GitHubIssue;
public abstract class AbstractZosFileLocalRSE {
@Test
public void testZosFileIvtTestRSE() throws Exception {
getEcosystem().setCpsProperty("zos.bundle.extra.file.manager", "dev.galasa.zosfile.rseapi.manager");
String runName = getEcosystem().submitRun(null,
null,
null,
"dev.galasa.zos.manager.ivt",
"dev.galasa.zos.manager.ivt.ZosManagerFileIVT",
null,
null,
null,
null);
JsonObject run = getEcosystem().waitForRun(runName);
String result = run.get("result").getAsString();
assertThat(result).as("The test indicates the test passes").isEqualTo("Passed");
}
abstract protected IGenericEcosystem getEcosystem();
}