diff options
author | Andreas Pokorny <andreas.pokorny@canonical.com> | 2015-07-29 16:09:59 +0200 |
---|---|---|
committer | Andreas Pokorny <andreas.pokorny@canonical.com> | 2015-07-29 16:09:59 +0200 |
commit | dbd9caa4e84030d47800550aa924b5dbf06cc969 (patch) | |
tree | 4943ee254cb356d564463cc5335648caf2ecd2f6 | |
parent | 5ae685f052b5d8609b5a808bf398cbbef76204da (diff) |
pass an aribtrary application name to MirServer
Preparation for 0.15.
-rw-r--r-- | tests/modules/common/qtmir_test.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/modules/common/qtmir_test.h b/tests/modules/common/qtmir_test.h index 59b9dac..334ef63 100644 --- a/tests/modules/common/qtmir_test.h +++ b/tests/modules/common/qtmir_test.h @@ -64,11 +64,14 @@ private: {std::make_shared<StubPromptSessionManager>()}; }; + +static char const* args = "qtmir-test"; + class FakeMirServer: private TestMirServerInit, public MirServer { public: FakeMirServer() - : MirServer(0, nullptr) + : MirServer(1, &args) { } |