diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-19 14:34:50 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-09-19 14:34:50 +0000 |
commit | 16a4e034c30f2bc6b151b04707d3ec1a490dba44 (patch) | |
tree | f726165c9979fcb13ce478fd2dafa1ae1efad52b /tests/state-fixture.h | |
parent | ac54aebec5fa0ba95fb2d583316c0a64ce3384dd (diff) | |
parent | b3d8778a52576b66ab00b08aa939612136a49a01 (diff) | |
download | ayatana-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-fixture.h')
-rw-r--r-- | tests/state-fixture.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/tests/state-fixture.h b/tests/state-fixture.h index 7d8358e..e466a79 100644 --- a/tests/state-fixture.h +++ b/tests/state-fixture.h @@ -17,18 +17,30 @@ * Charles Kerr <charles.kerr@canonical.com> */ +#ifndef INDICATOR_DATETIME_TESTS_STATE_FIXTURE_H +#define INDICATOR_DATETIME_TESTS_STATE_FIXTURE_H + #include "glib-fixture.h" #include "actions-mock.h" #include "state-mock.h" -using namespace unity::indicator::datetime; +namespace unity { +namespace indicator { +namespace datetime { + +/*** +**** +***/ class StateFixture: public GlibFixture { private: typedef GlibFixture super; +public: + virtual ~StateFixture() =default; + protected: std::shared_ptr<MockState> m_mock_state; std::shared_ptr<State> m_state; @@ -56,5 +68,15 @@ protected: super::TearDown(); } + }; +/*** +**** +***/ + +} // namespace datetime +} // namespace indicator +} // namespace unity + +#endif /* INDICATOR_DATETIME_TESTS_STATE_FIXTURE_H */ |