~ubuntu-branches/ubuntu/vivid/mir/vivid

« back to all changes in this revision

Viewing changes to tests/integration-tests/shell/test_session_lifecycle_event.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-08-11 19:52:06 UTC
  • mto: This revision was merged to the branch mainline in revision 77.
  • Revision ID: package-import@ubuntu.com-20140811195206-05ee991qbzvdbmel
Tags: upstream-0.6.0+14.10.20140811
ImportĀ upstreamĀ versionĀ 0.6.0+14.10.20140811

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
            mir_connection_set_lifecycle_event_callback(connection, lifecycle_callback, this);
87
87
 
88
88
            EXPECT_CALL(*handler, state_changed(Eq(mir_lifecycle_state_will_suspend))).Times(1);
 
89
            EXPECT_CALL(*handler, state_changed(Eq(mir_lifecycle_connection_lost))).Times(AtMost(1));
89
90
            mir_connection_release(connection);
90
91
 
91
92
            handler.reset();