summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp b/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp
index 2ac739e399..c00d42bacd 100644
--- a/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp
+++ b/tests/auto/widgets/dialogs/qwizard/tst_qwizard.cpp
@@ -855,7 +855,7 @@ public:
void cleanupPage() { ++cleanup; QWizardPage::cleanupPage(); }
bool validatePage() { ++validate; return QWizardPage::validatePage(); }
- bool check(int init, int cleanup)
+ bool sanityCheck(int init, int cleanup)
{
return init == this->init
&& cleanup == this->cleanup
@@ -868,9 +868,9 @@ public:
};
#define CHECK_PAGE_INIT(i0, c0, i1, c1, i2, c2) \
- QVERIFY(page0->check((i0), (c0))); \
- QVERIFY(page1->check((i1), (c1))); \
- QVERIFY(page2->check((i2), (c2)));
+ QVERIFY(page0->sanityCheck((i0), (c0))); \
+ QVERIFY(page1->sanityCheck((i1), (c1))); \
+ QVERIFY(page2->sanityCheck((i2), (c2)));
void tst_QWizard::setOption_IndependentPages()
{