~kdub/mir/gbm-ext-v2

« back to all changes in this revision

Viewing changes to tests/acceptance-tests/test_new_display_configuration.cpp

  • Committer: Kevin DuBois
  • Date: 2017-03-08 16:00:15 UTC
  • mfrom: (4033.2.40 development-branch)
  • Revision ID: kevin.dubois@canonical.com-20170308160015-00qzdg3u35zt9hv1
mergeĀ inĀ mir

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "mir/graphics/display_configuration_observer.h"
26
26
#include "mir/observer_registrar.h"
27
27
 
28
 
#include "mir_test_framework/connected_client_with_a_surface.h"
 
28
#include "mir_test_framework/connected_client_with_a_window.h"
29
29
#include "mir/test/doubles/null_platform.h"
30
30
#include "mir/test/doubles/fake_display.h"
31
31
#include "mir/test/doubles/null_display_sync_group.h"
97
97
};
98
98
}
99
99
 
100
 
struct DisplayConfigurationTest : mtf::ConnectedClientWithASurface
 
100
struct DisplayConfigurationTest : mtf::ConnectedClientWithAWindow
101
101
{
102
102
    class NotifyingConfigurationObserver : public mg::DisplayConfigurationObserver
103
103
    {
172
172
    {
173
173
        server.override_the_session_authorizer([this] { return mt::fake_shared(stub_authorizer); });
174
174
        preset_display(mt::fake_shared(mock_display));
175
 
        mtf::ConnectedClientWithASurface::SetUp();
 
175
        mtf::ConnectedClientWithAWindow::SetUp();
176
176
 
177
177
        server.the_display_configuration_observer_registrar()->register_interest(observer);
178
178
    }