summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/qtestlib/README4
-rw-r--r--src/corelib/kernel/qobject_p.h2
-rw-r--r--src/testlib/doc/qttestlib.qdocconf4
-rw-r--r--src/testlib/doc/src/qttest-index.qdoc2
-rw-r--r--src/testlib/qbenchmark.cpp2
-rw-r--r--src/testlib/qbenchmark.h2
-rw-r--r--src/testlib/qtestcase.cpp4
-rw-r--r--src/widgets/kernel/qapplication.cpp2
-rw-r--r--src/widgets/widgets/qsplashscreen.cpp2
-rw-r--r--tests/README2
-rw-r--r--tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp8
-rw-r--r--tests/auto/widgets/widgets/qdatetimeedit/tst_qdatetimeedit.cpp2
12 files changed, 18 insertions, 18 deletions
diff --git a/examples/qtestlib/README b/examples/qtestlib/README
index 7ca55b2eb3..d75e8218cd 100644
--- a/examples/qtestlib/README
+++ b/examples/qtestlib/README
@@ -1,5 +1,5 @@
-The QTestLib framework is a tool for unit testing Qt based applications
-and libraries. QTestLib provides all the functionality commonly found
+The Qt Test framework is a tool for unit testing Qt based applications
+and libraries. Qt Test provides all the functionality commonly found
in unit testing frameworks as well as extensions for testing graphical
user interfaces.
diff --git a/src/corelib/kernel/qobject_p.h b/src/corelib/kernel/qobject_p.h
index d8bc87d13e..e4b4ce8b42 100644
--- a/src/corelib/kernel/qobject_p.h
+++ b/src/corelib/kernel/qobject_p.h
@@ -69,7 +69,7 @@ class QThreadData;
class QObjectConnectionListVector;
namespace QtSharedPointer { struct ExternalRefCountData; }
-/* for QtTestLib */
+/* for Qt Test */
struct QSignalSpyCallbackSet
{
typedef void (*BeginCallback)(QObject *caller, int signal_or_method_index, void **argv);
diff --git a/src/testlib/doc/qttestlib.qdocconf b/src/testlib/doc/qttestlib.qdocconf
index 2a2a1e4ea0..3785bd6503 100644
--- a/src/testlib/doc/qttestlib.qdocconf
+++ b/src/testlib/doc/qttestlib.qdocconf
@@ -15,8 +15,8 @@ qhp.QtTestLib.virtualFolder = qttest
qhp.QtTestLib.indexTitle = Qt Test
qhp.QtTestLib.indexRoot =
-qhp.QtTestLib.filterAttributes = qttestlib 5.0.1 qtrefdoc
-qhp.QtTestLib.customFilters.Qt.name = QtTestLib 5.0.1
+qhp.QtTestLib.filterAttributes = qttest 5.0.1 qtrefdoc
+qhp.QtTestLib.customFilters.Qt.name = QtTest 5.0.1
qhp.QtTestLib.customFilters.Qt.filterAttributes = qttest 5.0.1
qhp.QtTestLib.subprojects = classes
diff --git a/src/testlib/doc/src/qttest-index.qdoc b/src/testlib/doc/src/qttest-index.qdoc
index fb0b639847..db42db1687 100644
--- a/src/testlib/doc/src/qttest-index.qdoc
+++ b/src/testlib/doc/src/qttest-index.qdoc
@@ -25,7 +25,7 @@
**
****************************************************************************/
/*!
- \page qttestlib-index.html
+ \page qttest-index.html
\title Qt Test
\brief Provides classes for unit testing Qt applications and libraries.
diff --git a/src/testlib/qbenchmark.cpp b/src/testlib/qbenchmark.cpp
index 450dce46ab..796d817ae2 100644
--- a/src/testlib/qbenchmark.cpp
+++ b/src/testlib/qbenchmark.cpp
@@ -266,7 +266,7 @@ quint64 QTest::endBenchmarkMeasurement()
Sets the benchmark result for this test function to \a result.
Use this function if you want to report benchmark results without
- using the QBENCHMARK macro. Use \a metric to specify how QTestLib
+ using the QBENCHMARK macro. Use \a metric to specify how Qt Test
should interpret the results.
The context for the result will be the test function name and any
diff --git a/src/testlib/qbenchmark.h b/src/testlib/qbenchmark.h
index 942e8f69fd..f166955249 100644
--- a/src/testlib/qbenchmark.h
+++ b/src/testlib/qbenchmark.h
@@ -58,7 +58,7 @@ namespace QTest
// -------------
//
// The QBenchmarkIterationController class is not a part of the
-// QTestlib API. It exists purely as an implementation detail.
+// Qt Test API. It exists purely as an implementation detail.
//
//
class Q_TESTLIB_EXPORT QBenchmarkIterationController
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index 951631ba33..987c5d88b2 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1837,7 +1837,7 @@ char *toHexRepresentation(const char *ba, int length)
* running out of memory and flooding things when the byte array
* is large.
*
- * maxLen can't be for example 200 because QTestLib is sprinkled with fixed
+ * maxLen can't be for example 200 because Qt Test is sprinkled with fixed
* size char arrays.
* */
const int maxLen = 50;
@@ -2037,7 +2037,7 @@ FatalSignalHandler::~FatalSignalHandler()
are executed if they exist. See \l{Creating a Test} for more details.
Optionally, the command line arguments \a argc and \a argv can be provided.
- For a list of recognized arguments, read \l {QTestLib Command Line Arguments}.
+ For a list of recognized arguments, read \l {Qt Test Command Line Arguments}.
The following example will run all tests in \c MyTestObject:
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp
index 95a8840a9d..4c6d8cfdc7 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -2720,7 +2720,7 @@ bool QApplication::notify(QObject *receiver, QEvent *e)
if(e->spontaneous()) {
// Capture the current mouse and keyboard states. Doing so here is
- // required in order to support QTestLib synthesized events. Real mouse
+ // required in order to support Qt Test synthesized events. Real mouse
// and keyboard state updates from the platform plugin are managed by
// QGuiApplicationPrivate::process(Mouse|Wheel|Key|Touch|Tablet)Event();
switch (e->type()) {
diff --git a/src/widgets/widgets/qsplashscreen.cpp b/src/widgets/widgets/qsplashscreen.cpp
index 1ad8fe07cd..3711b2f43e 100644
--- a/src/widgets/widgets/qsplashscreen.cpp
+++ b/src/widgets/widgets/qsplashscreen.cpp
@@ -225,7 +225,7 @@ void QSplashScreen::clearMessage()
repaint();
}
-// A copy of QTestLib's qWaitForWindowExposed() and qSleep().
+// A copy of Qt Test's qWaitForWindowExposed() and qSleep().
inline static bool waitForWindowExposed(QWindow *window, int timeout = 1000)
{
enum { TimeOutMs = 10 };
diff --git a/tests/README b/tests/README
index f94d5a2f13..5a8f2a21cd 100644
--- a/tests/README
+++ b/tests/README
@@ -1,4 +1,4 @@
-This directory contains autotests and benchmarks based on QTestlib. In order
+This directory contains autotests and benchmarks based on Qt Test. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.
diff --git a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
index 73f89115af..d2e090bf53 100644
--- a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
+++ b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
@@ -224,7 +224,7 @@ static QString documentElement(const QByteArray &document)
* Since this suite is fairly large, it runs the tests sequentially in order to not
* have them all loaded into memory at once. In this way, the maximum memory usage stays
* low, which means one can run valgrind on this test. However, the drawback is that
- * QTestLib's usual error reporting and testing mechanisms are slightly bypassed.
+ * Qt Test's usual error reporting and testing mechanisms are slightly bypassed.
*
* Part of this code is a manual, ad-hoc implementation of xml:base.
*
@@ -611,11 +611,11 @@ void tst_QXmlStream::reportFailures_data()
QTest::addColumn<QString>("description");
/* We loop over all our failures(if any!), and output them such
- * that they appear in the QTestLib log. */
+ * that they appear in the Qt Test log. */
for(int i = 0; i < len; ++i)
QTest::newRow(m_handler.failures.at(i).first.toLatin1().constData()) << true << m_handler.failures.at(i).second;
- /* We need to add at least one column of test data, otherwise QTestLib complains. */
+ /* We need to add at least one column of test data, otherwise Qt Test complains. */
if(len == 0)
QTest::newRow("Whole test suite passed") << false << QString();
@@ -1140,7 +1140,7 @@ void tst_QXmlStream::crashInUTF16Codec() const
}
/*
- In addition to QTestLib's flags, one can specify "-c <filename>" and have that file output in its canonical form.
+ In addition to Qt Test's flags, one can specify "-c <filename>" and have that file output in its canonical form.
*/
int main(int argc, char *argv[])
{
diff --git a/tests/auto/widgets/widgets/qdatetimeedit/tst_qdatetimeedit.cpp b/tests/auto/widgets/widgets/qdatetimeedit/tst_qdatetimeedit.cpp
index ca2f8e7afc..9ecb0650c5 100644
--- a/tests/auto/widgets/widgets/qdatetimeedit/tst_qdatetimeedit.cpp
+++ b/tests/auto/widgets/widgets/qdatetimeedit/tst_qdatetimeedit.cpp
@@ -3218,7 +3218,7 @@ void tst_QDateTimeEdit::cachedDayTest()
testWidget->setDate(QDate(2007, 1, 30));
testWidget->setCurrentSection(QDateTimeEdit::DaySection);
//QTest::keyClick(testWidget->lineEdit(), Qt::Key_Up); // this doesn't work
- //on Mac. QTestLib bug? ###
+ //on Mac. Qt Test bug? ###
QTest::keyClick(testWidget, Qt::Key_Up);
testWidget->setCurrentSection(QDateTimeEdit::MonthSection);
QTest::keyClick(testWidget, Qt::Key_Up);