@@ -138,9 +138,7 @@ class TestProcessExecutorBase : public TestFixture {
138138 TEST_CASE (one_error_less_files);
139139 TEST_CASE (one_error_several_files);
140140 TEST_CASE (showtime_top5_file);
141- TEST_CASE (showtime_top5_summary);
142141 TEST_CASE (showtime_file);
143- TEST_CASE (showtime_summary);
144142 TEST_CASE (showtime_file_total);
145143 TEST_CASE (suppress_error_library);
146144 TEST_CASE (unique_errors);
@@ -255,20 +253,6 @@ class TestProcessExecutorBase : public TestFixture {
255253 TODO_ASSERT_EQUALS (static_cast <long long >(5 + 1 + 1 ) * 2 , 0 , cppcheck::count_all_of (output_s, ' \n ' ));
256254 }
257255
258- void showtime_top5_summary () {
259- REDIRECT;
260- check (2 , 2 , 0 ,
261- " int main() {}" ,
262- dinit (CheckOptions,
263- $.showtime = ShowTime::TOP5_SUMMARY));
264- const std::string output_s = GET_REDIRECT_OUTPUT;
265- // once: top5 results + overall + empty line
266- TODO_ASSERT_EQUALS (5 + 1 + 1 , 1 , cppcheck::count_all_of (output_s, ' \n ' ));
267- // should only report the top5 once
268- ASSERT (output_s.find (" 1 result(s)" ) == std::string::npos);
269- TODO_ASSERT (output_s.find (" 2 result(s)" ) != std::string::npos);
270- }
271-
272256 void showtime_file () {
273257 REDIRECT; // should not cause TSAN failures as the showtime logging is synchronized
274258 check (2 , 2 , 0 ,
@@ -279,18 +263,6 @@ class TestProcessExecutorBase : public TestFixture {
279263 TODO_ASSERT_EQUALS (2 , 0 , cppcheck::count_all_of (output_s, " Overall time:" ));
280264 }
281265
282- void showtime_summary () {
283- REDIRECT; // should not cause TSAN failures as the showtime logging is synchronized
284- check (2 , 2 , 0 ,
285- " int main() {}" ,
286- dinit (CheckOptions,
287- $.showtime = ShowTime::SUMMARY));
288- const std::string output_s = GET_REDIRECT_OUTPUT;
289- // should only report the actual summary once
290- ASSERT (output_s.find (" 1 result(s)" ) == std::string::npos);
291- TODO_ASSERT (output_s.find (" 2 result(s)" ) != std::string::npos);
292- }
293-
294266 void showtime_file_total () {
295267 REDIRECT; // should not cause TSAN failures as the showtime logging is synchronized
296268 check (2 , 2 , 0 ,
0 commit comments