@@ -19,7 +19,7 @@ class RunCommandTest {
1919
2020 @ Test
2121 void reporterOptions_Default () {
22- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString ());
22+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString ());
2323
2424 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
2525
@@ -32,7 +32,7 @@ void reporterOptions_Default() {
3232
3333 @ Test
3434 void reporterOptions_OneReporter () {
35- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (), "-f=ut_documentation_reporter" , "-o=output.txt" );
35+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (), "-f=ut_documentation_reporter" , "-o=output.txt" );
3636
3737 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
3838
@@ -45,7 +45,7 @@ void reporterOptions_OneReporter() {
4545
4646 @ Test
4747 void reporterOptions_OneReporterForceScreen () {
48- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (), "-f=ut_documentation_reporter" , "-o=output.txt" , "-s" );
48+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (), "-f=ut_documentation_reporter" , "-o=output.txt" , "-s" );
4949
5050 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
5151
@@ -58,7 +58,7 @@ void reporterOptions_OneReporterForceScreen() {
5858
5959 @ Test
6060 void reporterOptions_OneReporterForceScreenInverse () {
61- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (), "-f=ut_documentation_reporter" , "-s" , "-o=output.txt" );
61+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (), "-f=ut_documentation_reporter" , "-s" , "-o=output.txt" );
6262
6363 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
6464
@@ -71,7 +71,7 @@ void reporterOptions_OneReporterForceScreenInverse() {
7171
7272 @ Test
7373 void reporterOptions_TwoReporters () {
74- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (),
74+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (),
7575 "-f=ut_documentation_reporter" ,
7676 "-f=ut_coverage_html_reporter" , "-o=coverage.html" , "-s" );
7777
@@ -90,17 +90,9 @@ void reporterOptions_TwoReporters() {
9090 assertTrue (reporterOptions2 .outputToScreen ());
9191 }
9292
93- @ Test
94- void connectionString_asSysdba () {
95- RunCommand runCmd = TestHelper .createRunCommand ("sys as sysdba/mypass@connectstring/service" );
96-
97- assertEquals ("sys as sysdba/mypass@connectstring/service" ,
98- runCmd .getConnectionInfo ().getConnectionString ());
99- }
100-
10193 @ Test
10294 void randomOrder_default () {
103- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString ());
95+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString ());
10496
10597 TestRunnerOptions options = runCmd .newTestRunner (new ArrayList <>()).getOptions ();
10698 assertThat (options .randomTestOrder , equalTo (false ));
@@ -109,7 +101,7 @@ void randomOrder_default() {
109101
110102 @ Test
111103 void randomOrder_withoutSeed () {
112- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (),
104+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (),
113105 "-random" );
114106
115107 TestRunnerOptions options = runCmd .newTestRunner (new ArrayList <>()).getOptions ();
@@ -119,7 +111,7 @@ void randomOrder_withoutSeed() {
119111
120112 @ Test
121113 void randomOrder_withSeed () {
122- RunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (),
114+ IRunCommand runCmd = TestHelper .createRunCommand (TestHelper .getConnectionString (),
123115 "-seed=42" );
124116
125117 TestRunnerOptions options = runCmd .newTestRunner (new ArrayList <>()).getOptions ();
0 commit comments