@@ -20,7 +20,7 @@ public void reporterOptions_Default() {
20
20
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
21
21
22
22
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
23
- assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
23
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER . name () , reporterOptions1 .getReporterName ());
24
24
assertNull (reporterOptions1 .getOutputFileName ());
25
25
assertFalse (reporterOptions1 .outputToFile ());
26
26
assertTrue (reporterOptions1 .outputToScreen ());
@@ -33,7 +33,7 @@ public void reporterOptions_OneReporter() {
33
33
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
34
34
35
35
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
36
- assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
36
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER . name () , reporterOptions1 .getReporterName ());
37
37
assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
38
38
assertTrue (reporterOptions1 .outputToFile ());
39
39
assertFalse (reporterOptions1 .outputToScreen ());
@@ -46,7 +46,7 @@ public void reporterOptions_OneReporterForceScreen() {
46
46
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
47
47
48
48
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
49
- assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
49
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER . name () , reporterOptions1 .getReporterName ());
50
50
assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
51
51
assertTrue (reporterOptions1 .outputToFile ());
52
52
assertTrue (reporterOptions1 .outputToScreen ());
@@ -59,7 +59,7 @@ public void reporterOptions_OneReporterForceScreenInverse() {
59
59
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
60
60
61
61
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
62
- assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
62
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER . name () , reporterOptions1 .getReporterName ());
63
63
assertEquals (reporterOptions1 .getOutputFileName (), "output.txt" );
64
64
assertTrue (reporterOptions1 .outputToFile ());
65
65
assertTrue (reporterOptions1 .outputToScreen ());
@@ -74,13 +74,13 @@ public void reporterOptions_TwoReporters() {
74
74
List <ReporterOptions > reporterOptionsList = runCmd .getReporterOptionsList ();
75
75
76
76
ReporterOptions reporterOptions1 = reporterOptionsList .get (0 );
77
- assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER , reporterOptions1 .getReporterName ());
77
+ assertEquals (CoreReporters .UT_DOCUMENTATION_REPORTER . name () , reporterOptions1 .getReporterName ());
78
78
assertNull (reporterOptions1 .getOutputFileName ());
79
79
assertFalse (reporterOptions1 .outputToFile ());
80
80
assertTrue (reporterOptions1 .outputToScreen ());
81
81
82
82
ReporterOptions reporterOptions2 = reporterOptionsList .get (1 );
83
- assertEquals (CoreReporters .UT_COVERAGE_HTML_REPORTER , reporterOptions2 .getReporterName ());
83
+ assertEquals (CoreReporters .UT_COVERAGE_HTML_REPORTER . name () , reporterOptions2 .getReporterName ());
84
84
assertEquals (reporterOptions2 .getOutputFileName (), "coverage.html" );
85
85
assertTrue (reporterOptions2 .outputToFile ());
86
86
assertTrue (reporterOptions2 .outputToScreen ());
0 commit comments