~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
 
241
241
            ASSERT_THAT(connection, IsValid());
242
242
 
243
 
            MirSurfaceParameters const request_params =
244
 
            {
245
 
                __PRETTY_FUNCTION__,
246
 
                640, 480,
247
 
                mir_pixel_format_abgr_8888,
248
 
                mir_buffer_usage_hardware,
249
 
                mir_display_output_id_invalid
250
 
            };
 
243
            auto spec = mir_connection_create_spec_for_normal_surface(
 
244
                connection, 640, 480, mir_pixel_format_abgr_8888);
251
245
 
252
 
            mir_connection_create_surface(connection, &request_params, create_surface_callback, ssync);
 
246
            mir_surface_create(spec, create_surface_callback, ssync);
 
247
            mir_surface_spec_release(spec);
253
248
 
254
249
            wait_for_surface_create(ssync);
255
250