~khurshid-alam/indicator-sound/fix-build-hirsuit

« back to all changes in this revision

Viewing changes to tests/integration/indicator-sound-test-base.cpp

  • Committer: Khurshid Alam
  • Date: 2021-04-17 07:45:19 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20210417074519-ot2msocws1yr0a11
Try 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
void IndicatorSoundTestBase::TearDown()
81
81
{
82
82
    unsetenv("XDG_DATA_DIRS");
 
83
    unsetenv("XDG_RUNTIME_DIR");
 
84
    unsetenv("XDG_CONFIG_HOME");
 
85
    unsetenv("HOME");
83
86
    unsetenv("PULSE_SERVER");
84
87
    unsetenv("DBUS_SYSTEM_BUS_ADDRESS");
 
88
    unsetenv("DBUS_SESSION_BUS_ADDRESS");
85
89
}
86
90
 
87
91
void gvariant_deleter(GVariant* varptr)
330
334
                                                      << QString("--load=module-null-sink sink_name=indicator_sound_test_speaker sink_properties=device.bus=%1").arg(getDevicePortString(speakerPort))
331
335
                                                      << QString("--load=module-null-sink sink_name=indicator_sound_test_headphones sink_properties=device.bus=%1").arg(getDevicePortString(headphonesPort))
332
336
                                                      << QString("--load=module-null-sink sink_name=indicator_sound_test_mic")
333
 
                                                      << QString("--load=module-stream-restore restore_device=false restore_muted=false fallback_table=%1").arg(STREAM_RESTORE_TABLE)
 
337
                                                      << QString("--load=module-stream-restore restore_device=false restore_muted=false fallback_table=\"%1\"").arg(STREAM_RESTORE_TABLE)
334
338
                                                      << "--log-target=file:/tmp/indicator-sound-test-pulse-daemon-phone.log"
335
339
                                                      << "--load=module-dbus-protocol"
336
 
                                                       << QString("--load=module-stream-restore restore_device=false restore_muted=false fallback_table=\"%1\"").arg(STREAM_RESTORE_TABLE)
337
340
                                                      << "--load=module-native-protocol-tcp auth-ip-acl=127.0.0.1"
338
341
                ));
339
342
        pulseaudio->start(dbusTestRunner.sessionConnection());