Page MenuHomePhabricator

tests/ecore_wl2: Add test for ecore_wl2_window_aux_hint functions

Authored by CHAN on Nov 27 2019, 11:16 PM.



tests/ecore_wl2: Add test for ecore_wl2_window_aux_hint functions

ref T8016

Diff Detail

rEFL core/efl
No Linters Available
No Unit Test Coverage
Build Status
Buildable 14721
Build 10142: arc lint + arc unit
CHAN created this revision.Nov 27 2019, 11:16 PM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added:

CHAN requested review of this revision.Nov 27 2019, 11:16 PM
CHAN edited the summary of this revision. (Show Details)Nov 27 2019, 11:18 PM
CHAN added a reviewer: devilhorns.

@devilhorns hello.

I expected that when i called ecore_wl2_window_aux_hint_add() after that

ecore_wl2_window_aux_hints_supported_get() will return list that includes added value.

But it's not there in list.

Um... any idea to create TC for this?

window aux hints is something that is only going to be supported using Enlightenment as the wayland compositor, that is why the wl2_window_aux_hints_supported_get function is only called when Enlightenment is the compositor. (getenv("E_START")). The actual test code you wrote here looks fine.

CHAN added a comment.Dec 9 2019, 12:14 AM

@devilhorns hello.

I tested it on Enligntenment actually.

When i called ecore_wl2_window_aux_hint_add().
I expected that the _aux_hints_supported_aux_hints() will be called and it will updated win->supported_aux_hints list.
But, _aux_hints_supported_aux_hints() is not called for this case.

Any point to check? or any suggestion about it?

@CHAN To be honest, I am unsure. Aux Hints support was something that mike added. I will take a look through the code and see if I can find out how it is meant to be used.

CHAN abandoned this revision.Jan 7 2020, 2:18 AM