aboutsummaryrefslogtreecommitdiff
path: root/tests/state-mock.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-17 11:51:51 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-17 11:51:51 -0500
commitb3d8778a52576b66ab00b08aa939612136a49a01 (patch)
tree4dc77aeee18620be145cd1765b8eb0902af40b3e /tests/state-mock.h
parent790f43bcea23f926f6617e0fe41026a3adaee8cc (diff)
downloadayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.gz
ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.bz2
ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.zip
fix flint++ warnings
Diffstat (limited to 'tests/state-mock.h')
-rw-r--r--tests/state-mock.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/tests/state-mock.h b/tests/state-mock.h
index 792c60d..caa6393 100644
--- a/tests/state-mock.h
+++ b/tests/state-mock.h
@@ -17,12 +17,21 @@
* Charles Kerr <charles.kerr@canonical.com>
*/
+#ifndef INDICATOR_DATETIME_STATE_MOCK_H
+#define INDICATOR_DATETIME_STATE_MOCK_H
+
#include "planner-mock.h"
#include <datetime/clock-mock.h>
#include <datetime/state.h>
-using namespace unity::indicator::datetime;
+namespace unity {
+namespace indicator {
+namespace datetime {
+
+/***
+****
+***/
class MockState: public State
{
@@ -47,3 +56,12 @@ public:
}
};
+/***
+****
+***/
+
+} // namespace datetime
+} // namespace indicator
+} // namespace unity
+
+#endif /* INDICATOR_DATETIME_STATE_MOCK_H */