tests: Add suspend/resume tests

Also update the critical section test to check the order in which the
requests are processed.
This commit is contained in:
Benjamin Berg
2021-05-18 17:39:05 +02:00
parent 43336a204f
commit 8147372bdd
3 changed files with 289 additions and 6 deletions

View File

@@ -41,6 +41,9 @@ struct _FpiDeviceFake
FpImage *ret_image;
GPtrArray *ret_list;
GError *ret_suspend;
GError *ret_resume;
gpointer action_data;
gpointer user_data;