aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-01-29 20:57:16 -0600
committerTed Gould <ted@gould.cx>2015-01-29 20:57:16 -0600
commite4ee5134da0cf9656db9ea201f2b7b53e92ac1b7 (patch)
tree0b90e4626df64466c55586931ae7cf05def4d087 /tests/indicator-test.cc
parentaf63886e47b8262189d54712dbb34383ecf83669 (diff)
downloadayatana-indicator-sound-e4ee5134da0cf9656db9ea201f2b7b53e92ac1b7.tar.gz
ayatana-indicator-sound-e4ee5134da0cf9656db9ea201f2b7b53e92ac1b7.tar.bz2
ayatana-indicator-sound-e4ee5134da0cf9656db9ea201f2b7b53e92ac1b7.zip
Setup the PA mock as part of the indicator test
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r--tests/indicator-test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc
index 40755e3..37bf719 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -37,6 +37,7 @@ protected:
{
//addMock(buildBustleMock("indicator-test-session.bustle", DBUS_TEST_SERVICE_BUS_SESSION));
//addMock(buildBustleMock("indicator-test-system.bustle", DBUS_TEST_SERVICE_BUS_SYSTEM));
+ g_setenv("LD_PRELOAD", PA_MOCK_LIB, TRUE);
as = std::make_shared<AccountsServiceMock>();
addMock(*as);