@@ -307,7 +307,7 @@ class TestSingleExecutorBase : public TestFixture {
307307 $.showtime = SHOWTIME_MODES::SHOWTIME_TOP5_FILE));
308308 const std::string output_s = GET_REDIRECT_OUTPUT;
309309 // for each file: top5 results + overall + empty line
310- TODO_ASSERT_EQUALS ((5 + 1 + 1 ) * 2 , ( 5 + 1 + 1 ) , cppcheck::count_all_of (output_s, ' \n ' ));
310+ ASSERT_EQUALS ((5 + 1 + 1 ) * 2 , cppcheck::count_all_of (output_s, ' \n ' ));
311311 }
312312
313313 void showtime_top5_summary () {
@@ -318,10 +318,10 @@ class TestSingleExecutorBase : public TestFixture {
318318 $.showtime = SHOWTIME_MODES::SHOWTIME_TOP5_SUMMARY));
319319 const std::string output_s = GET_REDIRECT_OUTPUT;
320320 // once: top5 results + overall + empty line
321- TODO_ASSERT_EQUALS (5 + 1 + 1 , 0 , cppcheck::count_all_of (output_s, ' \n ' ));
321+ ASSERT_EQUALS (5 + 1 + 1 , cppcheck::count_all_of (output_s, ' \n ' ));
322322 // should only report the top5 once
323323 ASSERT (output_s.find (" 1 result(s)" ) == std::string::npos);
324- TODO_ASSERT (output_s.find (" 2 result(s)" ) != std::string::npos);
324+ ASSERT (output_s.find (" 2 result(s)" ) != std::string::npos);
325325 }
326326
327327 void showtime_file () {
@@ -331,7 +331,7 @@ class TestSingleExecutorBase : public TestFixture {
331331 dinit (CheckOptions,
332332 $.showtime = SHOWTIME_MODES::SHOWTIME_FILE));
333333 const std::string output_s = GET_REDIRECT_OUTPUT;
334- TODO_ASSERT_EQUALS ( 2 , 1 , cppcheck::count_all_of (output_s, " Overall time:" ));
334+ ASSERT_EQUALS ( 2 , cppcheck::count_all_of (output_s, " Overall time:" ));
335335 }
336336
337337 void showtime_summary () {
@@ -343,7 +343,7 @@ class TestSingleExecutorBase : public TestFixture {
343343 const std::string output_s = GET_REDIRECT_OUTPUT;
344344 // should only report the actual summary once
345345 ASSERT (output_s.find (" 1 result(s)" ) == std::string::npos);
346- TODO_ASSERT (output_s.find (" 2 result(s)" ) != std::string::npos);
346+ ASSERT (output_s.find (" 2 result(s)" ) != std::string::npos);
347347 }
348348
349349 // TODO: test whole program analysis
0 commit comments