2
2
3
3
import org .junit .jupiter .api .Test ;
4
4
import org .utplsql .api .CustomTypes ;
5
+ import org .utplsql .api .reporter .CoreReporters ;
5
6
6
7
import java .util .List ;
7
8
@@ -19,7 +20,7 @@ public void reporterOptions_Default() {
19
20
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
20
21
21
22
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
22
- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
23
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
23
24
assertNull (reporterOptions1 .getOutputFileName ());
24
25
assertFalse (reporterOptions1 .outputToFile ());
25
26
assertTrue (reporterOptions1 .outputToScreen ());
@@ -32,7 +33,7 @@ public void reporterOptions_OneReporter() {
32
33
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
33
34
34
35
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
35
- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
36
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
36
37
assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
37
38
assertTrue (reporterOptions1 .outputToFile ());
38
39
assertFalse (reporterOptions1 .outputToScreen ());
@@ -45,7 +46,7 @@ public void reporterOptions_OneReporterForceScreen() {
45
46
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
46
47
47
48
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
48
- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
49
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
49
50
assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
50
51
assertTrue (reporterOptions1 .outputToFile ());
51
52
assertTrue (reporterOptions1 .outputToScreen ());
@@ -58,7 +59,7 @@ public void reporterOptions_OneReporterForceScreenInverse() {
58
59
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
59
60
60
61
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
61
- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
62
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
62
63
assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
63
64
assertTrue (reporterOptions1 .outputToFile ());
64
65
assertTrue (reporterOptions1 .outputToScreen ());
@@ -73,13 +74,13 @@ public void reporterOptions_TwoReporters() {
73
74
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
74
75
75
76
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
76
- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
77
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
77
78
assertNull (reporterOptions1 .getOutputFileName ());
78
79
assertFalse (reporterOptions1 .outputToFile ());
79
80
assertTrue (reporterOptions1 .outputToScreen ());
80
81
81
82
ReporterOptions reporterOptions2 = reporterOptionsList .get (1 );
82
- assertEquals (CustomTypes .UT_COVERAGE_HTML_REPORTER , reporterOptions2 .getReporterName ());
83
+ assertEquals (CoreReporters .UT_COVERAGE_HTML_REPORTER , reporterOptions2 .getReporterName ());
83
84
assertEquals (reporterOptions2 .getOutputFileName (), "coverage.html" );
84
85
assertTrue (reporterOptions2 .outputToFile ());
85
86
assertTrue (reporterOptions2 .outputToScreen ());
0 commit comments