tests: Isolate more the TOD tests so that we build the driver without clashes

This commit is contained in:
Marco Trevisan (Treviño)
2020-12-03 04:34:17 +01:00
parent d83453de02
commit 9cbb3e5f55
5 changed files with 20 additions and 8 deletions
+2 -2
View File
@@ -147,7 +147,7 @@ test_device_get_driver (void)
g_autoptr(FptContext) tctx = fpt_context_new_with_fake_dev ();
fp_device_open_sync (tctx->device, NULL, NULL);
g_assert_cmpstr (fp_device_get_driver (tctx->device), ==, "fake_test_dev");
g_assert_cmpstr (fp_device_get_driver (tctx->device), ==, "fake_test_dev_tod");
}
static void
@@ -156,7 +156,7 @@ test_device_get_device_id (void)
g_autoptr(FptContext) tctx = fpt_context_new_with_fake_dev ();
fp_device_open_sync (tctx->device, NULL, NULL);
g_assert_cmpstr (fp_device_get_device_id (tctx->device), ==, "fake_test_dev");
g_assert_cmpstr (fp_device_get_device_id (tctx->device), ==, "fake_test_dev_tod");
}
static void