~raof/mir/proper-driver-loading

« back to all changes in this revision

Viewing changes to tests/mir_test_framework/stubbed_server_configuration.cpp

  • Committer: Christopher James Halse Rogers
  • Date: 2014-11-27 04:57:28 UTC
  • Revision ID: christopher.halse.rogers@canonical.com-20141127045728-rtlr58ckdkhnbocy
Implement server-side graphics platform probe

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include "mir_test_framework/stubbed_server_configuration.h"
20
20
#include "mir_test_framework/command_line_server_configuration.h"
21
21
 
22
 
#include "stubbed_graphics_platform.h"
 
22
#include "mir_test_framework/stub_server_platform_factory.h"
23
23
 
24
24
#include "mir/options/default_configuration.h"
25
25
#include "mir/graphics/cursor.h"
92
92
{
93
93
    if (!graphics_platform)
94
94
    {
95
 
        graphics_platform = std::make_shared<StubGraphicPlatform>(display_rects);
 
95
        graphics_platform = mtf::make_stubbed_server_graphics_platform(display_rects);
96
96
    }
97
97
 
98
98
    return graphics_platform;