~mterry/mir/session-for-surface

« back to all changes in this revision

Viewing changes to tests/unit-tests/compositor/test_buffer_stream.cpp

  • Committer: Michael Terry
  • Date: 2013-07-29 17:51:51 UTC
  • mfrom: (832.1.58 trunk)
  • Revision ID: michael.terry@canonical.com-20130729175151-3thcnlepeihhzbb8
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
 
91
91
    mc::BufferStreamSurfaces buffer_stream(mock_bundle);
92
92
 
93
 
    buffer_stream.lock_back_buffer();
 
93
    buffer_stream.lock_compositor_buffer();
94
94
}
95
95
 
96
96
TEST_F(BufferStreamTest, get_buffer_for_compositor_can_lock)
105
105
 
106
106
    mc::BufferStreamSurfaces buffer_stream(mock_bundle);
107
107
 
108
 
    buffer_stream.lock_back_buffer();
 
108
    buffer_stream.lock_compositor_buffer();
109
109
}
110
110
 
111
111
TEST_F(BufferStreamTest, get_buffer_for_client_releases_resources)