on xenial help sign in
remove the code in test
8bd86b2handsome_feng
tests/mocks/Unity/DashCommunicator/dashcommunicator.cpp−5
@@ -35,8 +35,3 @@ void DashCommunicator::setCurrentScope(int index, bool animate, bool reset)
35{
35{
36 Q_EMIT setCurrentScopeCalled(index, animate, reset);
36 Q_EMIT setCurrentScopeCalled(index, animate, reset);
37}
37}
38−
39−void DashCommunicator::resetAll()
40−{
41− Q_EMIT resetAllCalled();
42−}
tests/mocks/Unity/DashCommunicator/dashcommunicator.h−2
@@ -30,12 +30,10 @@ public:
30
30
31public Q_SLOTS:
31public Q_SLOTS:
32 void setCurrentScope(int index, bool animate, bool reset);
32 void setCurrentScope(int index, bool animate, bool reset);
33− void resetAll();
34
33
35Q_SIGNALS:
34Q_SIGNALS:
36 // This mock just emits calls back to the QML api for the plugin to verify calls
35 // This mock just emits calls back to the QML api for the plugin to verify calls
37 void setCurrentScopeCalled(int index, bool animate, bool reset);
36 void setCurrentScopeCalled(int index, bool animate, bool reset);
38− void resetAllCalled();
39};
37};
40
38
41#endif
39#endif