~alan-griffiths/miral/fix-1621917

« back to all changes in this revision

Viewing changes to test/test_server.cpp

  • Committer: Alan Griffiths
  • Date: 2016-09-09 13:28:01 UTC
  • mfrom: (320.2.3 miral)
  • Revision ID: alam@octopull.co.uk-20160909132801-1rmrc2tl74qrhhkl
mergeĀ :parent

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <miral/set_window_managment_policy.h>
23
23
 
24
24
#include <mir_test_framework/executable_path.h>
25
 
#include <mir_test_framework/stub_server_platform_factory.h>
 
25
#include "mir_test_framework/stub_server_platform_factory.h"
26
26
 
27
27
#include <mir/fd.h>
28
28
#include <mir/main_loop.h>
29
29
#include <mir/server.h>
30
30
#include <mir/version.h>
31
31
 
32
 
#if MIR_SERVER_VERSION >= MIR_VERSION_NUMBER(0, 25, 0)
33
 
#include <mir_test_framework/headless_display_buffer_compositor_factory.h>
34
 
#endif
35
 
 
36
32
#include <boost/throw_exception.hpp>
37
33
 
38
34
 
76
72
                                     started.notify_one();
77
73
                                });
78
74
                        });
79
 
 
80
 
#if MIR_SERVER_VERSION >= MIR_VERSION_NUMBER(0, 25, 0)
81
 
                    server.override_the_display_buffer_compositor_factory([]
82
 
                        {
83
 
                            return std::make_shared<mtf::HeadlessDisplayBufferCompositorFactory>();
84
 
                        });
85
 
#endif
86
75
                };
87
76
 
88
77
            try