From 7d542b82ad098c7f35c30fbf19ac3ff345825a42 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 24 Nov 2016 14:43:40 +0100 Subject: [PATCH] QmlProfiler: Don't test for default kit in attach dialog test The test should also run if there is no kit. Change-Id: Ia2b5d34f2fc792235fb9da9c77f9235c186addde Reviewed-by: Christian Stenger --- src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp b/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp index 8571207bf5f..cf2020f2d89 100644 --- a/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp +++ b/src/plugins/qmlprofiler/tests/qmlprofilerattachdialog_test.cpp @@ -46,9 +46,6 @@ void QmlProfilerAttachDialogTest::testAccessors() dialog.setPort(4444); QCOMPARE(dialog.port(), 4444); - ProjectExplorer::Kit *kit = dialog.kit(); - QVERIFY(kit); - ProjectExplorer::Kit *newKit = new ProjectExplorer::Kit("dings"); ProjectExplorer::KitManager *kitManager = ProjectExplorer::KitManager::instance(); QVERIFY(kitManager);