on xenial help sign in
Remove the redundant clear() in tst_Shell.qml
c795826handsome_feng
tests/qmltests/tst_Shell.qml−4
@@ -608,8 +608,6 @@ Rectangle {
608
608
609 compare(dashCommunicatorSpy.count, 1);
609 compare(dashCommunicatorSpy.count, 1);
610 compare(dashCommunicatorSpy.signalArguments[0][0], 0);
610 compare(dashCommunicatorSpy.signalArguments[0][0], 0);
611−
612− dashCommunicatorSpy.clear();
613 }
611 }
614
612
615 function test_showInputMethod() {
613 function test_showInputMethod() {
@@ -1111,8 +1109,6 @@ Rectangle {
1111 // check that the launcher got dismissed
1109 // check that the launcher got dismissed
1112 var launcherPanel = findChild(shell, "launcherPanel");
1110 var launcherPanel = findChild(shell, "launcherPanel");
1113 tryCompare(launcherPanel, "x", -launcherPanel.width);
1111 tryCompare(launcherPanel, "x", -launcherPanel.width);
1114−
1115− launcherShowDashHomeSpy.clear();
1116 }
1112 }
1117
1113
1118 function test_background_data() {
1114 function test_background_data() {