aboutsummaryrefslogtreecommitdiff
path: root/tests/test-dbus-fixture.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-08 22:05:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-08 22:05:22 +0100
commitb439ad041ff4478453f0bd4e00f55224d653c69b (patch)
treed04a05b67e5e7d325ca5f18a567906bcaefad6e1 /tests/test-dbus-fixture.h
parent4e9da1fb0791336cc25b323aed3bbbb20c1b9fb5 (diff)
parent91af5e2854d40d06515416b4b89eb66b346ebe56 (diff)
downloadayatana-indicator-datetime-b439ad041ff4478453f0bd4e00f55224d653c69b.tar.gz
ayatana-indicator-datetime-b439ad041ff4478453f0bd4e00f55224d653c69b.tar.bz2
ayatana-indicator-datetime-b439ad041ff4478453f0bd4e00f55224d653c69b.zip
Merge branch 'tari01-pr/fix-cppcheck-suppressions'
Attributes GH PR #86: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/86
Diffstat (limited to 'tests/test-dbus-fixture.h')
-rw-r--r--tests/test-dbus-fixture.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-dbus-fixture.h b/tests/test-dbus-fixture.h
index 0f19b50..7525e06 100644
--- a/tests/test-dbus-fixture.h
+++ b/tests/test-dbus-fixture.h
@@ -1,5 +1,6 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#ifndef INDICATOR_DATETIME_TESTS_DBUS_FIXTURE_H
@@ -65,8 +67,8 @@ class TestDBusFixture: public GlibFixture
protected:
- GTestDBus * test_dbus;
- GDBusConnection * system_bus;
+ GTestDBus * test_dbus = NULL;
+ GDBusConnection * system_bus = NULL;
const std::vector<std::string> service_dirs;
virtual void SetUp() override