55import org .approvaltests .reporters .AutoApproveReporter ;
66import org .approvaltests .reporters .DiffMergeReporter ;
77import org .approvaltests .reporters .FirstWorkingReporter ;
8- import org .approvaltests .reporters .QuietReporter ;
8+ import org .approvaltests .reporters .ReportNothing ;
99import org .approvaltests .reporters .UseReporter ;
1010import org .junit .jupiter .api .Test ;
1111import org .lambda .actions .Action1 ;
@@ -104,14 +104,14 @@ void testyMctest() {
104104 + InlineJavaReporter .createNewReceivedFileText (i , "1\n 2" , "testyMctest" ));
105105 }
106106 @ Test
107- @ UseReporter (QuietReporter .class )
107+ @ UseReporter (ReportNothing .class )
108108 public void testReportingCode ()
109109 {
110110 Options inlineWithCode = new Options ().inline ("" , InlineOptions .showCode (true ));
111111 Options inlineNoCode = new Options ().inline ("" , InlineOptions .showCode (false ));
112112 var resultWithCode = inlineWithCode .getReporter ();
113113 assertEquals (InlineJavaReporter .class , resultWithCode .getClass ());
114- assertEquals (QuietReporter .class ,
114+ assertEquals (ReportNothing .class ,
115115 ((FirstWorkingReporter ) inlineNoCode .getReporter ()).getReporters ()[1 ].getClass ());
116116 }
117117 @ Test
@@ -172,7 +172,7 @@ private static Mutable<String> hijackInlineReporter(Options options)
172172 {
173173 InlineJavaReporter reporter = (InlineJavaReporter ) options .getReporter ();
174174 assertEquals (reporter .reporter .getClass (), AutoApproveReporter .class );
175- reporter .reporter = new QuietReporter ();
175+ reporter .reporter = new ReportNothing ();
176176 Mutable <String > result = new Mutable <>("" );
177177 reporter .createNewReceivedFileText = (s , a , m ) -> result .set (a );
178178 return result ;
@@ -188,7 +188,7 @@ void testSemiAutomaticMessage()
188188 {
189189 var options = new Options ().inline (expected , InlineOptions .semiAutomatic ());
190190 InlineJavaReporter reporter = (InlineJavaReporter ) options .getReporter ();
191- reporter .reporter = new QuietReporter ();
191+ reporter .reporter = new ReportNothing ();
192192 Approvals .verify ("41" , options );
193193 }
194194 catch (Throwable e )
0 commit comments