https://bugs.kde.org/show_bug.cgi?id=489962

            Bug ID: 489962
           Summary: A check that detects whether QVERIFY can be rewritten
                    to use one of the QCOMPARE macros
    Classification: Developer tools
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: jackhill3...@gmail.com
                CC: smart...@kde.org
  Target Milestone: ---

SUMMARY
Qt 6.4 added macros such as QCOMPARE_GE(computed, baseline) to replace the use
of QVERIFY(computed >= baseline). These macros will output the actual value of
computed and baseline, which makes it easier to debug if a test fails.

I think it would be useful to have a check + fixit to replace instances of
QVERIFY with their QCOMPARE_* counterpart.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to