aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp')
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp68
1 files changed, 0 insertions, 68 deletions
diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp b/tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp
index 7f8ded51ba..73abc03e28 100644
--- a/tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp
+++ b/tests/auto/qml/debugger/qqmldebuggingenabler/tst_qqmldebuggingenabler.cpp
@@ -55,17 +55,9 @@ private slots:
void cleanup();
void qmlscene();
void qmlsceneBlock();
- void qmlsceneInvalidPorts();
- void qmlsceneBlockInvalidPorts();
- void qmlsceneMixedPorts();
- void qmlsceneBlockMixedPorts();
void custom();
void customBlock();
- void customInvalidPorts();
- void customBlockInvalidPorts();
- void customMixedPorts();
- void customBlockMixedPorts();
private:
QQmlDebugProcess *process;
@@ -161,30 +153,6 @@ void tst_QQmlDebuggingEnabler::qmlsceneBlock()
QVERIFY(init(true, true, 5555, 5565));
}
-void tst_QQmlDebuggingEnabler::qmlsceneInvalidPorts()
-{
- QVERIFY(!init(false, true, 10, 20));
- QVERIFY(process->output().contains(
- QLatin1String("QML Debugger: Unable to listen to ports 10 - 20.")));
-}
-
-void tst_QQmlDebuggingEnabler::qmlsceneBlockInvalidPorts()
-{
- QVERIFY(!init(true, true, 10, 20));
- QVERIFY(process->output().contains(
- QLatin1String("QML Debugger: Unable to listen to ports 10 - 20.")));
-}
-
-void tst_QQmlDebuggingEnabler::qmlsceneMixedPorts()
-{
- QVERIFY(init(false, true, 1020, 1030));
-}
-
-void tst_QQmlDebuggingEnabler::qmlsceneBlockMixedPorts()
-{
- QVERIFY(init(true, true, 1020, 1030));
-}
-
void tst_QQmlDebuggingEnabler::custom()
{
QVERIFY(init(false, false, 5555, 5565));
@@ -195,42 +163,6 @@ void tst_QQmlDebuggingEnabler::customBlock()
QVERIFY(init(true, false, 5555, 5565));
}
-void tst_QQmlDebuggingEnabler::customInvalidPorts()
-{
- QVERIFY(!init(false, false, 10, 20));
- for (int i = 10; i < 20; ++i) {
- QVERIFY(process->output().contains(
- QString(QLatin1String("QML Debugger: Unable to listen to port %1.")).arg(i)));
- }
-}
-
-void tst_QQmlDebuggingEnabler::customBlockInvalidPorts()
-{
- QVERIFY(!init(true, false, 10, 20));
- for (int i = 10; i < 20; ++i) {
- QVERIFY(process->output().contains(
- QString(QLatin1String("QML Debugger: Unable to listen to port %1.")).arg(i)));
- }
-}
-
-void tst_QQmlDebuggingEnabler::customMixedPorts()
-{
- QVERIFY(init(false, false, 1020, 1030));
- for (int i = 1020; i < 1024; ++i) {
- QVERIFY(process->output().contains(
- QString(QLatin1String("QML Debugger: Unable to listen to port %1.")).arg(i)));
- }
-}
-
-void tst_QQmlDebuggingEnabler::customBlockMixedPorts()
-{
- QVERIFY(init(true, false, 1020, 1030));
- for (int i = 1020; i < 1024; ++i) {
- QVERIFY(process->output().contains(
- QString(QLatin1String("QML Debugger: Unable to listen to port %1.")).arg(i)));
- }
-}
-
namespace QQmlDebuggingEnablerTest {
QTEST_MAIN(tst_QQmlDebuggingEnabler)
}