diff options
author | Jim Miller <jaggies@google.com> | 2015-04-08 22:55:51 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2015-04-11 09:21:56 -0700 |
commit | 1e1f7ba5c99a0f715735c347597e3637e3870626 (patch) | |
tree | 7d46c41fc6403875dc88787d818d3358319c12c0 /tests/fingerprint | |
parent | 3d0ed44138bf5ce3649990275eb5fc6c17517ce3 (diff) | |
download | hardware_libhardware-1e1f7ba5c99a0f715735c347597e3637e3870626.zip hardware_libhardware-1e1f7ba5c99a0f715735c347597e3637e3870626.tar.gz hardware_libhardware-1e1f7ba5c99a0f715735c347597e3637e3870626.tar.bz2 |
Clean up FingerprintManager API and make it public.
Change-Id: I416dcc42fd70926875cc77e0c2cc958fdfcd9f9d
Diffstat (limited to 'tests/fingerprint')
-rw-r--r-- | tests/fingerprint/fingerprint_tests.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/fingerprint/fingerprint_tests.cpp b/tests/fingerprint/fingerprint_tests.cpp index 4ae0d73..db7429c 100644 --- a/tests/fingerprint/fingerprint_tests.cpp +++ b/tests/fingerprint/fingerprint_tests.cpp @@ -24,6 +24,16 @@ TEST_F(FingerprintDevice, isThereEnroll) { << "enroll() function is not implemented"; } +TEST_F(FingerprintDevice, isTherePreEnroll) { + ASSERT_TRUE(NULL != fp_device()->pre_enroll) + << "pre_enroll() function is not implemented"; +} + +TEST_F(FingerprintDevice, isThereCancel) { + ASSERT_TRUE(NULL != fp_device()->cancel) + << "cancel() function is not implemented"; +} + TEST_F(FingerprintDevice, isThereRemove) { ASSERT_TRUE(NULL != fp_device()->remove) << "remove() function is not implemented"; @@ -34,6 +44,11 @@ TEST_F(FingerprintDevice, isThereAuthenticate) { << "authenticate() function is not implemented"; } +TEST_F(FingerprintDevice, isThereSetActiveGroup) { + ASSERT_TRUE(NULL != fp_device()->set_active_group) + << "set_active_group() function is not implemented"; +} + TEST_F(FingerprintDevice, isThereSetNotify) { ASSERT_TRUE(NULL != fp_device()->set_notify) << "set_notify() function is not implemented"; |