diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-12-05 15:00:51 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-05 09:02:15 +0100 |
commit | 260a2e52b2ab58bb6e27bb4915ebc2196fd1f2d4 (patch) | |
tree | efced0f0ec61fc5e9415b65be7a9f3fc7515192c /tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp | |
parent | 4bca278d634b63058dae1ccd7ebe3c4b58bb9227 (diff) |
Fixing naming of selftests.
Make the test object names correspond to the test program names, so that
it is easier to see which test produced each block of test output.
Change-Id: Ib19a955938b549f27cdcaac83bfa9150285b396d
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp')
-rw-r--r-- | tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp b/tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp index 6b0e61b7cd..53454fc1ac 100644 --- a/tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp +++ b/tests/auto/testlib/selftests/printdatatagswithglobaltags/tst_printdatatagswithglobaltags.cpp @@ -42,7 +42,7 @@ #include <QtTest/QtTest> -class tst_MyTestCase: public QObject +class tst_PrintDataTagsWithGlobalTags: public QObject { Q_OBJECT private slots: @@ -58,7 +58,7 @@ private slots: void c() const; }; -void tst_MyTestCase::initTestCase_data() const +void tst_PrintDataTagsWithGlobalTags::initTestCase_data() const { QTest::addColumn<int>("f"); QTest::addColumn<int>("g"); @@ -67,11 +67,11 @@ void tst_MyTestCase::initTestCase_data() const QTest::newRow("global data tag 2") << 1 << 2; } -void tst_MyTestCase::initTestCase() const +void tst_PrintDataTagsWithGlobalTags::initTestCase() const { } -void tst_MyTestCase::a_data() const +void tst_PrintDataTagsWithGlobalTags::a_data() const { QTest::addColumn<int>("x"); QTest::addColumn<int>("y"); @@ -80,15 +80,15 @@ void tst_MyTestCase::a_data() const QTest::newRow("data tag a2") << 1 << 2; } -void tst_MyTestCase::a() const +void tst_PrintDataTagsWithGlobalTags::a() const { } -void tst_MyTestCase::b() const +void tst_PrintDataTagsWithGlobalTags::b() const { } -void tst_MyTestCase::c_data() const +void tst_PrintDataTagsWithGlobalTags::c_data() const { QTest::addColumn<int>("x"); @@ -97,10 +97,10 @@ void tst_MyTestCase::c_data() const QTest::newRow("data tag c3") << 1; } -void tst_MyTestCase::c() const +void tst_PrintDataTagsWithGlobalTags::c() const { } -QTEST_MAIN(tst_MyTestCase) +QTEST_MAIN(tst_PrintDataTagsWithGlobalTags) #include "tst_printdatatagswithglobaltags.moc" |