aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-08-03 23:14:29 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-08-03 23:14:29 +0000
commit658f6b8549fd8dc4eac24faddb95065bf8041ced (patch)
tree38eec5403ca9f05f178eab0446932356533f6c04
parent8d3e05158aa84e73025f2598e09ffdfe2e844156 (diff)
parent363e8dad5d1109d1e88f35d23e627ea7cce521b5 (diff)
downloadsystem-test-harness-658f6b8549fd8dc4eac24faddb95065bf8041ced.tar.gz
Change-Id: I8d94849591623800457fe3838aedfb4193d56ab8
-rw-r--r--src/faceauth_tests.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/faceauth_tests.cc b/src/faceauth_tests.cc
index 41aefcc..14a01cb 100644
--- a/src/faceauth_tests.cc
+++ b/src/faceauth_tests.cc
@@ -463,12 +463,6 @@ TEST_F(FaceAuthTest, ZeroChallengeShouldError) {
.Run()
.GetResult(),
Result(FACEAUTH_ERR_INVALID_CHALLENGE));
- EXPECT_REQ(Transaction(Task(PROFILE_1, FACEAUTH_CMD_RESET_LOCKOUT),
- Embedding(EMBEDDING_VECTOR_1, 1), Token())
- .Finalize()
- .Run()
- .GetResult(),
- Result(FACEAUTH_ERR_INVALID_CHALLENGE));
}
TEST_F(FaceAuthTest, InvalidChallengeShouldError) {
@@ -494,12 +488,6 @@ TEST_F(FaceAuthTest, InvalidChallengeShouldError) {
.Run()
.GetResult(),
Result(FACEAUTH_ERR_INVALID_CHALLENGE));
- EXPECT_REQ(Transaction(Task(PROFILE_1, FACEAUTH_CMD_RESET_LOCKOUT),
- Embedding(EMBEDDING_VECTOR_1, 1), Token(rand(), 0, 0))
- .Finalize()
- .Run()
- .GetResult(),
- Result(FACEAUTH_ERR_INVALID_CHALLENGE));
}
TEST_F(FaceAuthTest, EmbeddingCRCErrorShouldBeDetected) {
@@ -835,11 +823,6 @@ TEST_F(FaceAuthTest, ValidUserIDCheck) {
Result enroll_result = user1.Enroll(PROFILE_1);
EXPECT_REQ(enroll_result,
Result(FACEAUTH_SUCCESS).SetChallenge(user1.GetAuthID()));
-
- /* Reset Lockout User ID Check */
- EXPECT_REQ(user1.ResetLockout(PROFILE_1), Result(FACEAUTH_SUCCESS));
- EXPECT_REQ(user2.ResetLockout(PROFILE_1),
- Result(FACEAUTH_ERR_INVALID_USER_ID));
/* Set Feature User ID Check */
EXPECT_REQ(user1.SetFeature(PROFILE_1, 0), Result(FACEAUTH_SUCCESS));
EXPECT_REQ(user2.SetFeature(PROFILE_1, 0),