tests: Isolate the tests from the D-BUS env
commitdee3802ce29bbc91139687480748443fd2bc4a1f
authorJan Kundrát <jkt@kde.org>
Mon, 5 Sep 2016 15:06:16 +0000 (5 17:06 +0200)
committerJan Kundrát <jkt@kde.org>
Mon, 5 Sep 2016 22:22:50 +0000 (6 00:22 +0200)
tree4a09885b251f2e7d711df8da0134cb2ea062035f
parent76a5e1c62fdacc69eead49059c31757502f8951a
tests: Isolate the tests from the D-BUS env

This started when ASAN-ing a test for MsgPartNetAccessManager. Turned
out that that thing loads real platform-specific modules, which is not
something that we want.

Let's ensure that our tests are sufficiently independent here (and let's
wait for a first test some time in future which happens to talk to a
mocked systemwide service...).

Change-Id: Ifb28383a99833e1ae7e8ff9c7572430840c47569
tests/Utils/LibMailboxSync.cpp