remove the code in test
commit8bd86b2ffb32fa640271b8adcbf4159b6e27cc79
authorhandsome_feng <445865575@qq.com>
dateWed 29 Apr 2015, 15:46 (11 years ago)
parentde9c303
tests/mocks/Unity/DashCommunicator/dashcommunicator.cpp−5
@@ -35,8 +35,3 @@ void DashCommunicator::setCurrentScope(int index, bool animate, bool reset)
3535{
3636 Q_EMIT setCurrentScopeCalled(index, animate, reset);
3737}
38−
39−void DashCommunicator::resetAll()
40−{
41− Q_EMIT resetAllCalled();
42−}
tests/mocks/Unity/DashCommunicator/dashcommunicator.h−2
@@ -30,12 +30,10 @@ public:
3030
3131public Q_SLOTS:
3232 void setCurrentScope(int index, bool animate, bool reset);
33− void resetAll();
3433
3534Q_SIGNALS:
3635 // This mock just emits calls back to the QML api for the plugin to verify calls
3736 void setCurrentScopeCalled(int index, bool animate, bool reset);
38− void resetAllCalled();
3937};
4038
4139#endif