~afrantzis/mir/expose-display-buffer-only-for-power-mode-on

« back to all changes in this revision

Viewing changes to tests/unit-tests/scene/test_default_focus_mechanism.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2014-04-04 15:05:56 UTC
  • mfrom: (1526.2.16 mir)
  • Revision ID: tarmac-20140404150556-wlj2g9jama5yrvro
shell: Eliminate shell::SurfaceFactory and shell::Surface and use scene::SurfaceCoordinator and scene::Surface instead.

Approved by Andreas Pokorny, Gerry Boland, Alexandros Frantzis, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include "mir_test/fake_shared.h"
27
27
#include "mir_test_doubles/mock_buffer_stream.h"
28
 
#include "mir_test_doubles/mock_surface_factory.h"
29
28
#include "mir_test_doubles/mock_shell_session.h"
30
29
#include "mir_test_doubles/mock_surface.h"
31
30
#include "mir_test_doubles/mock_surface_coordinator.h"
83
82
        EXPECT_CALL(app1, default_surface()).Times(1)
84
83
            .WillOnce(Return(mt::fake_shared(mock_surface)));
85
84
        EXPECT_CALL(app1, default_surface()).Times(1)
86
 
            .WillOnce(Return(std::shared_ptr<msh::Surface>()));
 
85
            .WillOnce(Return(std::shared_ptr<ms::Surface>()));
87
86
    }
88
87
 
89
88
    NiceMock<mtd::MockInputTargeter> targeter;