Skip to content

Commit 0573f20

Browse files
committed
Merge branch 'connection_string' into travis_cfg
2 parents c1a985d + 5373496 commit 0573f20

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/java/io/github/utplsql/cli/RunCommandTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
public class RunCommandTest {
1414

15-
private RunCommand createCommand(String... args) {
15+
private RunCommand createRunCommand(String... args) {
1616
RunCommand runCmd = new RunCommand();
1717

1818
JCommander.newBuilder()
@@ -25,7 +25,7 @@ private RunCommand createCommand(String... args) {
2525

2626
@Test
2727
public void reporterOptions_Default() {
28-
RunCommand runCmd = createCommand("run", "app/app");
28+
RunCommand runCmd = createRunCommand("app/app@xe");
2929

3030
List<ReporterOptions> reporterOptionsList = runCmd.getReporterOptionsList();
3131

@@ -38,7 +38,7 @@ public void reporterOptions_Default() {
3838

3939
@Test
4040
public void reporterOptions_OneReporter() {
41-
RunCommand runCmd = createCommand("run", "app/app", "-f=ut_documentation_reporter", "-o=output.txt");
41+
RunCommand runCmd = createRunCommand("app/app@xe", "-f=ut_documentation_reporter", "-o=output.txt");
4242

4343
List<ReporterOptions> reporterOptionsList = runCmd.getReporterOptionsList();
4444

@@ -51,7 +51,7 @@ public void reporterOptions_OneReporter() {
5151

5252
@Test
5353
public void reporterOptions_OneReporterForceScreen() {
54-
RunCommand runCmd = createCommand("run", "app/app", "-f=ut_documentation_reporter", "-o=output.txt", "-s");
54+
RunCommand runCmd = createRunCommand("app/app@xe", "-f=ut_documentation_reporter", "-o=output.txt", "-s");
5555

5656
List<ReporterOptions> reporterOptionsList = runCmd.getReporterOptionsList();
5757

@@ -64,7 +64,7 @@ public void reporterOptions_OneReporterForceScreen() {
6464

6565
@Test
6666
public void reporterOptions_OneReporterForceScreenInverse() {
67-
RunCommand runCmd = createCommand("run", "app/app", "-f=ut_documentation_reporter", "-s", "-o=output.txt");
67+
RunCommand runCmd = createRunCommand("app/app@xe", "-f=ut_documentation_reporter", "-s", "-o=output.txt");
6868

6969
List<ReporterOptions> reporterOptionsList = runCmd.getReporterOptionsList();
7070

@@ -77,7 +77,7 @@ public void reporterOptions_OneReporterForceScreenInverse() {
7777

7878
@Test
7979
public void reporterOptions_TwoReporters() {
80-
RunCommand runCmd = createCommand("run", "app/app",
80+
RunCommand runCmd = createRunCommand("app/app@xe",
8181
"-f=ut_documentation_reporter",
8282
"-f=ut_coverage_html_reporter", "-o=coverage.html", "-s");
8383

0 commit comments

Comments
 (0)