tests: update testcase for #314

Handle more (hopefully all) edge-cases when updating `opacity_target_old`:
* `MAPPING` transitions to `FADING` if new target is reached. Otherwise
no update.
* `FADING` clamps to current `opacity` if old target is too small.
* `UNMAPPING`/`DESTROYING` clamps to current `opacity` if old target is
too small.
This commit is contained in:
Bernd Busse
2020-04-07 13:35:06 +02:00
committed by Yuxuan Shui
parent cd4913876f
commit c1d985eb7c
5 changed files with 118 additions and 8 deletions

View File

@@ -10,3 +10,5 @@ cd $(dirname $0)
./run_one_test.sh $exe configs/issue239_3.conf testcases/issue239_3.py
./run_one_test.sh $exe configs/issue239_3.conf testcases/issue239_3_norefresh.py
./run_one_test.sh $exe configs/issue314.conf testcases/issue314.py
./run_one_test.sh $exe configs/issue314.conf testcases/issue314_2.py
./run_one_test.sh $exe configs/issue314.conf testcases/issue314_3.py