tests: Extend subsurface place_{above,below} hierarchy
authorDaniel Stone <daniels@collabora.com>
Tue, 22 Nov 2016 12:40:34 +0000 (12:40 +0000)
committerDaniel Stone <daniels@collabora.com>
Wed, 23 Nov 2016 10:17:43 +0000 (10:17 +0000)
commit998340046535aee0949e0678b329b0034fd0de1a
tree0b81210ca027bff2746fa199ff6f5b47ccbfe956
parent9f3d95e0d7e3c6453ddf149c1b62439c70d80ddf
tests: Extend subsurface place_{above,below} hierarchy

Following on from b8c16c995b, extend the family tree being tested by
place_above and place_below a little, ensuring that subsurfaces can't be
placed above or below surfaces which are related to them, but aren't
their immediate parent or sibling.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/subsurface-test.c