diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-17 11:51:51 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-17 11:51:51 -0500 |
commit | b3d8778a52576b66ab00b08aa939612136a49a01 (patch) | |
tree | 4dc77aeee18620be145cd1765b8eb0902af40b3e /tests/glib-fixture.h | |
parent | 790f43bcea23f926f6617e0fe41026a3adaee8cc (diff) | |
download | ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.gz ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.bz2 ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.zip |
fix flint++ warnings
Diffstat (limited to 'tests/glib-fixture.h')
-rw-r--r-- | tests/glib-fixture.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h index 1914b8c..f888c59 100644 --- a/tests/glib-fixture.h +++ b/tests/glib-fixture.h @@ -17,6 +17,9 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef INDICATOR_DATETIME_TESTS_GLIB_FIXTURE_H +#define INDICATOR_DATETIME_TESTS_GLIB_FIXTURE_H + #include <map> #include <glib.h> @@ -29,6 +32,10 @@ class GlibFixture : public ::testing::Test { + public: + + virtual ~GlibFixture() =default; + private: //GLogFunc realLogHandler; @@ -59,7 +66,7 @@ class GlibFixture : public ::testing::Test protected: - virtual void SetUp() + virtual void SetUp() override { setlocale(LC_ALL, "C.UTF-8"); @@ -76,7 +83,7 @@ class GlibFixture : public ::testing::Test } - virtual void TearDown() + virtual void TearDown() override { #if 0 // confirm there aren't any unexpected log messages @@ -136,3 +143,5 @@ class GlibFixture : public ::testing::Test GMainLoop * loop; }; + +#endif /* INDICATOR_DATETIME_TESTS_GLIB_FIXTURE_H */ |