~morphis/unity-system-compositor/changes-for-virtual-output

« back to all changes in this revision

Viewing changes to tests/integration-tests/test_unity_screen_service.cpp

  • Committer: CI Train Bot
  • Author(s): Cemil Azizoglu, Alexandros Frantzis
  • Date: 2015-09-22 16:44:52 UTC
  • mfrom: (200.2.54 usc-0.1)
  • Revision ID: ci-train-bot@canonical.com-20150922164452-ds83msd04iutfbvx
USC 0.1.2 release corresponding to Mir 0.16.0 release.
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
#include "src/unity_screen_service.h"
20
20
#include "src/dbus_connection_handle.h"
 
21
#include "src/dbus_connection_thread.h"
21
22
#include "src/dbus_message_handle.h"
22
23
#include "src/screen.h"
23
24
#include "src/power_state_change_reason.h"
185
186
    std::shared_ptr<MockScreen> const mock_screen =
186
187
        std::make_shared<testing::NiceMock<MockScreen>>();
187
188
    UnityScreenDBusClient client{bus.address()};
188
 
    usc::UnityScreenService service{bus.address(), mock_screen};
 
189
    std::shared_ptr<usc::DBusConnectionThread> const dbus_thread =
 
190
        std::make_shared<usc::DBusConnectionThread>(bus.address());
 
191
    usc::UnityScreenService service{dbus_thread, mock_screen};
189
192
};
190
193
 
191
194
}