fpi-device: Ensure FpDeviceClass is still compatible with TODv1 ABI

Tests are ensuring it, adapt internal tests to ignore new features when
using old drivers
This commit is contained in:
Marco Trevisan (Treviño)
2021-08-28 03:04:30 +02:00
parent 2e00b03a43
commit 2d20c6a8f2
3 changed files with 161 additions and 36 deletions
+5 -5
View File
@@ -32,8 +32,6 @@ struct _FpiDeviceFake
gpointer last_called_function;
gboolean return_action_error;
GCancellable *ext_cancellable;
GError *ret_error;
FpPrint *ret_print;
FpPrint *ret_match;
@@ -41,12 +39,14 @@ struct _FpiDeviceFake
FpImage *ret_image;
GPtrArray *ret_list;
GError *ret_suspend;
GError *ret_resume;
gpointer action_data;
gpointer user_data;
GCancellable *ext_cancellable;
GError *ret_suspend;
GError *ret_resume;
FpDeviceFeature probe_features_update;
FpDeviceFeature probe_features_value;
};