From 1e1f7ba5c99a0f715735c347597e3637e3870626 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 8 Apr 2015 22:55:51 -0700 Subject: Clean up FingerprintManager API and make it public. Change-Id: I416dcc42fd70926875cc77e0c2cc958fdfcd9f9d --- tests/fingerprint/fingerprint_tests.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tests/fingerprint') 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"; -- cgit v1.1