aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-26 10:33:34 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-26 10:33:34 +0200
commitb16069da49970a7875763a9fd12134f61f6d4502 (patch)
tree42cb52daae0a41550277c7c45fc78f359d6df4c7 /tests
parent67a3944dad4efda6ab20c4b6d6b1d96e245ba8c3 (diff)
downloadayatana-indicator-datetime-b16069da49970a7875763a9fd12134f61f6d4502.tar.gz
ayatana-indicator-datetime-b16069da49970a7875763a9fd12134f61f6d4502.tar.bz2
ayatana-indicator-datetime-b16069da49970a7875763a9fd12134f61f6d4502.zip
Revert "Geoclue -> Geoclue2 blind shot. More namespace changes."
This reverts commit 67a3944dad4efda6ab20c4b6d6b1d96e245ba8c3.
Diffstat (limited to 'tests')
-rw-r--r--tests/geoclue-fixture.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/geoclue-fixture.h b/tests/geoclue-fixture.h
index cd12a02..a6641d6 100644
--- a/tests/geoclue-fixture.h
+++ b/tests/geoclue-fixture.h
@@ -47,24 +47,24 @@ class GeoclueFixture : public GlibFixture
super::SetUp();
GError * error = nullptr;
- const auto master_path = "/org/freedesktop/Geoclue2/Master";
- const auto client_path = "/org/freedesktop/Geoclue2/Master/client0";
+ const auto master_path = "/org/freedesktop/Geoclue/Master";
+ const auto client_path = "/org/freedesktop/Geoclue/Master/client0";
GString * gstr = g_string_new (nullptr);
service = dbus_test_service_new (nullptr);
- mock = dbus_test_dbus_mock_new ("org.freedesktop.Geoclue2.Master");
+ mock = dbus_test_dbus_mock_new ("org.freedesktop.Geoclue.Master");
- auto interface = "org.freedesktop.Geoclue2.Master";
+ auto interface = "org.freedesktop.Geoclue.Master";
obj_geo_m = dbus_test_dbus_mock_get_object (mock, master_path, interface, nullptr);
g_string_printf (gstr, "ret = '%s'", client_path);
dbus_test_dbus_mock_object_add_method (mock, obj_geo_m, "Create", nullptr, G_VARIANT_TYPE_OBJECT_PATH, gstr->str, &error);
- interface = "org.freedesktop.Geoclue2.MasterClient";
+ interface = "org.freedesktop.Geoclue.MasterClient";
obj_geo_mc = dbus_test_dbus_mock_get_object (mock, client_path, interface, nullptr);
dbus_test_dbus_mock_object_add_method (mock, obj_geo_mc, "SetRequirements", G_VARIANT_TYPE("(iibi)"), nullptr, "", &error);
dbus_test_dbus_mock_object_add_method (mock, obj_geo_mc, "AddressStart", nullptr, nullptr, "", &error);
- interface = "org.freedesktop.Geoclue2";
+ interface = "org.freedesktop.Geoclue";
obj_geo = dbus_test_dbus_mock_get_object (mock, client_path, interface, nullptr);
dbus_test_dbus_mock_object_add_method (mock, obj_geo, "AddReference", nullptr, nullptr, "", &error);
g_string_printf (gstr, "ret = (1385238033, {'timezone': '%s'}, (3, 0.0, 0.0))", timezone_1.c_str());
@@ -126,7 +126,7 @@ private:
GError * error = nullptr;
dbus_test_dbus_mock_object_emit_signal(data->mock, data->obj_geo_addr,
- //"org.freedesktop.Geoclue2.Address",
+ //"org.freedesktop.Geoclue.Address",
"AddressChanged",
G_VARIANT_TYPE("(ia{ss}(idd))"),
g_variant_new_parsed (fmt),