Mir

Code review comment for lp:~mir-team/mir/cursor-spike-phase-4-implement-api

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

1912 + StubInputSurface surface{geom::Rectangle{geom::Point{geom::X{1}, geom::Y{1}},
1913 + geom::Size{geom::Width{1}, geom::Height{1}}},
1914 + nullptr};

There's a lot of verbose stuff repeated in the test bodies that could be shifted to the fixture. (Making the tests easier to read.)

E.g.

static geom::Rectangle const rect_1_1_1_1{{1, 1}, {1, 1}};
StubInputSurface surface_1_1_1_1{rect_1_1_1_1, nullptr};

« Back to merge proposal