mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-07 04:08:55 +02:00
tests: Remove teardown env calls
They're already part of the FptContext autoptr cleanup.
This commit is contained in:
parent
18661aae0e
commit
7423deb0ef
1 changed files with 0 additions and 8 deletions
|
|
@ -137,8 +137,6 @@ test_context_remove_device_closed (void)
|
|||
g_assert_cmpint (GPOINTER_TO_INT (tctx->user_data), ==, CTX_DEVICE_REMOVED_CB);
|
||||
|
||||
g_assert_false (g_ptr_array_find (fp_context_get_devices (tctx->fp_context), device, NULL));
|
||||
|
||||
fpt_teardown_virtual_device_environment ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -189,8 +187,6 @@ test_context_remove_device_closing (void)
|
|||
g_assert_cmpint (GPOINTER_TO_INT (tctx->user_data), ==, CTX_DEVICE_REMOVED_CB);
|
||||
|
||||
g_assert_false (g_ptr_array_find (fp_context_get_devices (tctx->fp_context), device, NULL));
|
||||
|
||||
fpt_teardown_virtual_device_environment ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -228,8 +224,6 @@ test_context_remove_device_open (void)
|
|||
g_assert_error (error, FP_DEVICE_ERROR, FP_DEVICE_ERROR_REMOVED);
|
||||
g_assert_null (tctx->device);
|
||||
g_assert_cmpint (GPOINTER_TO_INT (tctx->user_data), ==, CTX_DEVICE_REMOVED_CB);
|
||||
|
||||
fpt_teardown_virtual_device_environment ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -282,8 +276,6 @@ test_context_remove_device_opening (void)
|
|||
|
||||
g_assert_null (tctx->device);
|
||||
g_assert_cmpint (GPOINTER_TO_INT (tctx->user_data), ==, CTX_DEVICE_REMOVED_CB);
|
||||
|
||||
fpt_teardown_virtual_device_environment ();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue