on xenial help sign in
as review
commit687dec51e4a9501c149c9909e7a4c34fe9bd0d6a authorAndrea Cimitan <andrea.cimitan@gmail.com> dateFri 8 Jul 2016, 10:12 (10 years ago) parent96e91a6
3 files changed+7−7
qml/Dash/DashPageHeader.qml+1−1 tests/qmltests/Dash/tst_DashContent.qml+4−4 tests/qmltests/Dash/tst_DashPageHeader.qml+2−2
qml/Dash/DashPageHeader.qml+1−1
@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2013,2015 Canonical, Ltd.
2+ * Copyright (C) 2013,2016 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
tests/qmltests/Dash/tst_DashContent.qml+4−4
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013 Canonical Ltd.
2+ * Copyright (C) 2013,2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -321,7 +321,7 @@ Item {
321321
322322 var headerContainer = findChild(dashContentList.currentItem, "headerContainer");
323323 tryCompare(headerContainer, "clip", false);
324− verify(headerContainer.state != "search");
324+ verify(headerContainer.state !== "search");
325325 mouseClick(searchButton);
326326 tryCompare(peExtraPanel, "visible", true);
327327 waitForRendering(navigationListView);
@@ -386,7 +386,7 @@ Item {
386386 compare(peExtraPanel.visible, false);
387387
388388 tryCompare(headerContainer, "clip", false);
389− verify(headerContainer.state != "search");
389+ verify(headerContainer.state !== "search");
390390 mouseClick(searchButton);
391391 tryCompare(peExtraPanel, "visible", true);
392392 tryCompare(navigationListView.currentItem.navigation, "loaded", true);
@@ -547,7 +547,7 @@ Item {
547547 mouseClick(cancelButton);
548548 tryCompare(headerContainer, "showSearch", false);
549549 tryCompare(headerContainer, "clip", false);
550− verify(headerContainer.state != "search");
550+ verify(headerContainer.state !== "search");
551551
552552 // test within a navigation
553553 goToSecondLevel();
tests/qmltests/Dash/tst_DashPageHeader.qml+2−2
@@ -1,5 +1,5 @@
11/*
2− * Copyright 2013,2015 Canonical Ltd.
2+ * Copyright (C) 2013,2016 Canonical Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -45,7 +45,7 @@ Item {
4545 function doResetSearch() {
4646 pageHeader.resetSearch();
4747 tryCompare(headerContainer, "clip", false);
48− verify(headerContainer.state != "search");
48+ verify(headerContainer.state !== "search");
4949 }
5050
5151 function init() {