mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-11-16 19:47:55 +01:00
test/alloc: add zpos-2x-fail
This commit is contained in:
parent
28d074e5ab
commit
ee8a85a5df
2 changed files with 20 additions and 0 deletions
|
@ -30,6 +30,7 @@ tests = {
|
|||
'simple-1x',
|
||||
'simple-1x-fail',
|
||||
'simple-3x',
|
||||
'zpos-2x-fail',
|
||||
'zpos-3x',
|
||||
'zpos-3x-intersect-fail',
|
||||
'zpos-3x-intersect-partial',
|
||||
|
|
|
@ -123,6 +123,25 @@ static struct test_case tests[] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.name = "zpos-2x-fail",
|
||||
.layers = {
|
||||
{
|
||||
.width = 100,
|
||||
.height = 100,
|
||||
.zpos = 1,
|
||||
.compat = { CURSOR_PLANE },
|
||||
.result = NULL,
|
||||
},
|
||||
{
|
||||
.width = 1920,
|
||||
.height = 1080,
|
||||
.zpos = 2,
|
||||
.compat = { PRIMARY_PLANE },
|
||||
.result = NULL,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.name = "zpos-3x",
|
||||
.layers = {
|
||||
|
|
Loading…
Reference in a new issue