summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSasha Levitskiy <sanek@google.com>2015-04-16 14:45:04 -0700
committerAndres Morales <anmorales@google.com>2015-04-16 21:52:28 +0000
commit468b5673166ade001a1d23ab65787ce1750f9077 (patch)
tree6b65aa92f8eda6f18d5e5d0c24e2aae4719939ef /tests
parent6fa82480aeb702ca60bc20d5c8df3c4a62904e3b (diff)
downloadhardware_libhardware-468b5673166ade001a1d23ab65787ce1750f9077.zip
hardware_libhardware-468b5673166ade001a1d23ab65787ce1750f9077.tar.gz
hardware_libhardware-468b5673166ade001a1d23ab65787ce1750f9077.tar.bz2
Fingerprint: Add an API to get authenticator id
Change-Id: If45ebc228425eaa43bf9abde934f8bb4e7d97e6c Signed-off-by: Sasha Levitskiy <sanek@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/fingerprint/fingerprint_tests.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fingerprint/fingerprint_tests.cpp b/tests/fingerprint/fingerprint_tests.cpp
index db7429c..dbb248f 100644
--- a/tests/fingerprint/fingerprint_tests.cpp
+++ b/tests/fingerprint/fingerprint_tests.cpp
@@ -29,6 +29,11 @@ TEST_F(FingerprintDevice, isTherePreEnroll) {
<< "pre_enroll() function is not implemented";
}
+TEST_F(FingerprintDevice, isThereGetAuthenticatorId) {
+ ASSERT_TRUE(NULL != fp_device()->get_authenticator_id)
+ << "get_authenticator_id() function is not implemented";
+}
+
TEST_F(FingerprintDevice, isThereCancel) {
ASSERT_TRUE(NULL != fp_device()->cancel)
<< "cancel() function is not implemented";