~raof/mir/hack-hack-hack-remove-a-hack

« back to all changes in this revision

Viewing changes to tests/unit-tests/graphics/android/test_android_buffer_allocator.cpp

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2013-11-26 19:06:17 UTC
  • mfrom: (1244.3.9 fix-1253486)
  • Revision ID: tarmac-20131126190617-42i8elpsm8exqbzj
clean up unit tests (ran under android) so there's no uninitialized value 
errors for the unit-tests/graphics/android tests, and make the tests run 
without gmock warning, unexpected call errors. (LP: #1172184). Fixes: https://bugs.launchpad.net/bugs/1172184, https://bugs.launchpad.net/bugs/1253486.

Approved by PS Jenkins bot, Alan Griffiths, Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
    std::shared_ptr<mg::BufferInitializer> const null_buffer_initializer;
44
44
    testing::NiceMock<mtd::HardwareAccessMock> hw_access_mock;
45
 
    mtd::MockEGL mock_egl;
 
45
    testing::NiceMock<mtd::MockEGL> mock_egl;
46
46
};
47
47
 
48
48
TEST_F(AndroidGraphicBufferAllocatorTest, allocator_accesses_gralloc_module)