aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp')
-rw-r--r--tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp b/tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp
index f832143935..0d915f98f8 100644
--- a/tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp
+++ b/tests/auto/qml/qqmlconsole/tst_qqmlconsole.cpp
@@ -84,7 +84,7 @@ void tst_qqmlconsole::logging()
QQmlComponent component(&engine, testUrl);
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
delete object;
}
@@ -102,7 +102,7 @@ void tst_qqmlconsole::categorized_logging()
QQmlComponent component(&engine, testUrl);
QObject *object = component.create();
- QVERIFY2(object != 0, component.errorString().toUtf8());
+ QVERIFY2(object != nullptr, component.errorString().toUtf8());
QVERIFY(messageHandler.messages().contains("qt.test: console.info"));
QVERIFY(messageHandler.messages().contains("qt.test: console.warn"));
@@ -135,7 +135,7 @@ void tst_qqmlconsole::tracing()
QQmlComponent component(&engine, testUrl);
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
delete object;
}
@@ -149,7 +149,7 @@ void tst_qqmlconsole::profiling()
QQmlComponent component(&engine, testUrl);
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
delete object;
}
@@ -170,7 +170,7 @@ void tst_qqmlconsole::testAssert()
QQmlComponent component(&engine, testUrl);
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
delete object;
}
@@ -191,7 +191,7 @@ void tst_qqmlconsole::exception()
QQmlComponent component(&engine, testUrl);
QObject *object = component.create();
- QVERIFY(object != 0);
+ QVERIFY(object != nullptr);
delete object;
}