aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/indicator-sound-test-base.cpp
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-18 16:29:32 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-09-18 16:29:32 +0200
commit83e68a4d2b9e40d7d4f047a2e58c70c484cbd916 (patch)
tree61d507e74e248de38359c00a43aea028d7198e52 /tests/integration/indicator-sound-test-base.cpp
parent09fc613f1ce55910698aca6b8b5d909ac3ae77a0 (diff)
downloadayatana-indicator-sound-83e68a4d2b9e40d7d4f047a2e58c70c484cbd916.tar.gz
ayatana-indicator-sound-83e68a4d2b9e40d7d4f047a2e58c70c484cbd916.tar.bz2
ayatana-indicator-sound-83e68a4d2b9e40d7d4f047a2e58c70c484cbd916.zip
Updated schema dir for integration tests
Diffstat (limited to 'tests/integration/indicator-sound-test-base.cpp')
-rw-r--r--tests/integration/indicator-sound-test-base.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp
index 10717c7..49e2ec5 100644
--- a/tests/integration/indicator-sound-test-base.cpp
+++ b/tests/integration/indicator-sound-test-base.cpp
@@ -163,11 +163,15 @@ mh::MenuMatcher::Parameters IndicatorSoundTestBase::desktopParameters()
void IndicatorSoundTestBase::SetUp()
{
+ setenv("GSETTINGS_SCHEMA_DIR", SCHEMA_DIR, true);
+ setenv("GSETTINGS_BACKEND", "memory", true);
setenv("DBUS_SYSTEM_BUS_ADDRESS", dbusTestRunner.systemBus().toStdString().c_str(), true);
}
void IndicatorSoundTestBase::TearDown()
{
+ unsetenv("GSETTINGS_SCHEMA_DIR");
+ unsetenv("GSETTINGS_BACKEND");
unsetenv("PULSE_SERVER");
}