diff options
author | Ted Gould <ted@gould.cx> | 2015-01-29 20:57:16 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2015-01-29 20:57:16 -0600 |
commit | e4ee5134da0cf9656db9ea201f2b7b53e92ac1b7 (patch) | |
tree | 0b90e4626df64466c55586931ae7cf05def4d087 /tests/indicator-test.cc | |
parent | af63886e47b8262189d54712dbb34383ecf83669 (diff) | |
download | ayatana-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.cc | 1 |
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); |