aboutsummaryrefslogtreecommitdiff
path: root/tests/state-mock.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-19 14:34:50 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-09-19 14:34:50 +0000
commit16a4e034c30f2bc6b151b04707d3ec1a490dba44 (patch)
treef726165c9979fcb13ce478fd2dafa1ae1efad52b /tests/state-mock.h
parentac54aebec5fa0ba95fb2d583316c0a64ce3384dd (diff)
parentb3d8778a52576b66ab00b08aa939612136a49a01 (diff)
downloadayatana-indicator-datetime-16a4e034c30f2bc6b151b04707d3ec1a490dba44.tar.gz
ayatana-indicator-datetime-16a4e034c30f2bc6b151b04707d3ec1a490dba44.tar.bz2
ayatana-indicator-datetime-16a4e034c30f2bc6b151b04707d3ec1a490dba44.zip
Fix flint++ warnings
Approved by: Ted Gould, PS Jenkins bot
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 */