diff --git a/tests/ProgressBarCounterTest.cpp b/tests/ProgressBarCounterTest.cpp index dd86023..98cebfe 100644 --- a/tests/ProgressBarCounterTest.cpp +++ b/tests/ProgressBarCounterTest.cpp @@ -37,32 +37,3 @@ void ProgressBarCounterTest::testReseting() ProgressBarCounter progressBar(QString::fromLatin1(""), max_); ProgressBarCommon::checkReseting(progressBar); } - -// void ProgressBarCounterTest::checkInitialPaint() -// { -// ProgressBarCounter progressBar(QLatin1String("Initial"), max_); -// auto actual{progressBar.grab().toImage()}; -// QImage expected(":/res/counterInitial.png"); -// expected = expected.convertToFormat(actual.format()); -// QCOMPARE(actual, expected); -// } - -// void ProgressBarCounterTest::checkPaintAfterUpdate() -// { -// ProgressBarCounter progressBar(QLatin1String("Updated"), max_); -// progressBar.updateProgress(10); -// auto actual{progressBar.grab().toImage()}; -// QImage expected(":/res/counterUpdated.png"); -// expected = expected.convertToFormat(actual.format()); -// QCOMPARE(actual, expected); -// } - -// void ProgressBarCounterTest::checkPaintFinished() -// { -// ProgressBarCounter progressBar(QLatin1String("Finished"), max_); -// progressBar.updateProgress(100); -// auto actual{progressBar.grab().toImage()}; -// QImage expected(":/res/counterFinished.png"); -// expected = expected.convertToFormat(actual.format()); -// QCOMPARE(actual, expected); -// } diff --git a/tests/ProgressBarCounterTest.h b/tests/ProgressBarCounterTest.h index 1279a03..e9467d1 100644 --- a/tests/ProgressBarCounterTest.h +++ b/tests/ProgressBarCounterTest.h @@ -16,12 +16,6 @@ private Q_SLOTS: static void testReseting(); - // static void checkInitialPaint(); - - // static void checkPaintAfterUpdate(); - - // static void checkPaintFinished(); - private: static constexpr int max_{100}; };