~vanvugt/mir/testfix-1211700

« back to all changes in this revision

Viewing changes to tests/acceptance-tests/test_persistent_surface_store.cpp

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2017-03-07 10:27:36 UTC
  • mfrom: (4068.4.2 mir2)
  • Revision ID: tarmac-20170307102736-2r1k41109j0n70bv
Rename ConnectedClientWithASurface to ConnectedClientWithAWindow.

Approved by Andreas Pokorny, mir-ci-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "mir/shell/persistent_surface_store.h"
21
21
 
22
22
#include "mir/test/doubles/wrap_shell_to_track_latest_surface.h"
23
 
#include "mir_test_framework/connected_client_with_a_surface.h"
 
23
#include "mir_test_framework/connected_client_with_a_window.h"
24
24
#include "mir/test/fake_shared.h"
25
25
 
26
26
#include <gtest/gtest.h>
36
36
 
37
37
namespace
38
38
{
39
 
struct TestPersistentSurfaceStore : mtf::ConnectedClientWithASurface
 
39
struct TestPersistentSurfaceStore : mtf::ConnectedClientWithAWindow
40
40
{
41
41
    void SetUp() override
42
42
    {
47
47
            return msc;
48
48
        });
49
49
 
50
 
        mtf::ConnectedClientWithASurface::SetUp();
 
50
        mtf::ConnectedClientWithAWindow::SetUp();
51
51
    }
52
52
 
53
53
    void TearDown() override
54
54
    {
55
55
        shell.reset();
56
 
        mtf::ConnectedClientWithASurface::TearDown();
 
56
        mtf::ConnectedClientWithAWindow::TearDown();
57
57
    }
58
58
 
59
59
    std::shared_ptr<ms::Surface> latest_shell_surface() const