22
33import org .junit .jupiter .api .Test ;
44import org .utplsql .api .CustomTypes ;
5+ import org .utplsql .api .reporter .CoreReporters ;
56
67import java .util .List ;
78
@@ -19,7 +20,7 @@ public void reporterOptions_Default() {
1920 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
2021
2122 ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
22- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
23+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
2324 assertNull (reporterOptions1 .getOutputFileName ());
2425 assertFalse (reporterOptions1 .outputToFile ());
2526 assertTrue (reporterOptions1 .outputToScreen ());
@@ -32,7 +33,7 @@ public void reporterOptions_OneReporter() {
3233 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
3334
3435 ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
35- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
36+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
3637 assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
3738 assertTrue (reporterOptions1 .outputToFile ());
3839 assertFalse (reporterOptions1 .outputToScreen ());
@@ -45,7 +46,7 @@ public void reporterOptions_OneReporterForceScreen() {
4546 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
4647
4748 ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
48- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
49+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
4950 assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
5051 assertTrue (reporterOptions1 .outputToFile ());
5152 assertTrue (reporterOptions1 .outputToScreen ());
@@ -58,7 +59,7 @@ public void reporterOptions_OneReporterForceScreenInverse() {
5859 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
5960
6061 ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
61- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
62+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
6263 assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
6364 assertTrue (reporterOptions1 .outputToFile ());
6465 assertTrue (reporterOptions1 .outputToScreen ());
@@ -73,13 +74,13 @@ public void reporterOptions_TwoReporters() {
7374 List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
7475
7576 ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
76- assertEquals (CustomTypes .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
77+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
7778 assertNull (reporterOptions1 .getOutputFileName ());
7879 assertFalse (reporterOptions1 .outputToFile ());
7980 assertTrue (reporterOptions1 .outputToScreen ());
8081
8182 ReporterOptions reporterOptions2 = reporterOptionsList .get (1 );
82- assertEquals (CustomTypes .UT_COVERAGE_HTML_REPORTER , reporterOptions2 .getReporterName ());
83+ assertEquals (CoreReporters .UT_COVERAGE_HTML_REPORTER , reporterOptions2 .getReporterName ());
8384 assertEquals (reporterOptions2 .getOutputFileName (), "coverage.html" );
8485 assertTrue (reporterOptions2 .outputToFile ());
8586 assertTrue (reporterOptions2 .outputToScreen ());
0 commit comments