mirror of
https://gitee.com/openharmony/xts_hats
synced 2024-12-13 10:27:39 +00:00
New Use Cases for XTS
Signed-off-by: qiaozzzh <qiaozhang@huawei.com> Change-Id: Ic59db480814cc519b074c37b5392de61f74b10a3
This commit is contained in:
parent
b87d33ffa6
commit
e0c58d8ee5
@ -23,7 +23,8 @@ using namespace std;
|
|||||||
using namespace testing::ext;
|
using namespace testing::ext;
|
||||||
using namespace OHOS::UserIam::Common;
|
using namespace OHOS::UserIam::Common;
|
||||||
using namespace OHOS::HDI::FaceAuth;
|
using namespace OHOS::HDI::FaceAuth;
|
||||||
using namespace OHOS::HDI::FaceAuth::V1_1;
|
using namespace OHOS::HDI::FaceAuth::V1_0;
|
||||||
|
using CommandIdV1_1 = OHOS::HDI::FaceAuth::V1_1::CommandId;
|
||||||
|
|
||||||
static OHOS::Parcel parcel;
|
static OHOS::Parcel parcel;
|
||||||
|
|
||||||
@ -109,10 +110,10 @@ HWTEST_F(FaceAuthTypeTest, Security_IAM_Face_HDI_FUNC_0203, Function | MediumTes
|
|||||||
HWTEST_F(FaceAuthTypeTest, Security_IAM_Face_HDI_FUNC_0204, Function | MediumTest | Level1)
|
HWTEST_F(FaceAuthTypeTest, Security_IAM_Face_HDI_FUNC_0204, Function | MediumTest | Level1)
|
||||||
{
|
{
|
||||||
cout << "start test CommandId" << endl;
|
cout << "start test CommandId" << endl;
|
||||||
CommandId lock_template = OHOS::HDI::FaceAuth::V1_1::LOCK_TEMPLATE;
|
CommandId lock_template = LOCK_TEMPLATE;
|
||||||
CommandId unlock_template = OHOS::HDI::FaceAuth::V1_1::UNLOCK_TEMPLATE;
|
CommandId unlock_template = UNLOCK_TEMPLATE;
|
||||||
CommandId vendor_command_begin = OHOS::HDI::FaceAuth::V1_1::VENDOR_COMMAND_BEGIN;
|
CommandId vendor_command_begin = VENDOR_COMMAND_BEGIN;
|
||||||
CommandId init_algorithm = OHOS::HDI::FaceAuth::V1_1::INIT_ALGORITHM;
|
CommandIdV1_1 init_algorithm = OHOS::HDI::FaceAuth::V1_1::INIT_ALGORITHM;
|
||||||
EXPECT_EQ(lock_template, 1);
|
EXPECT_EQ(lock_template, 1);
|
||||||
EXPECT_EQ(unlock_template, 2);
|
EXPECT_EQ(unlock_template, 2);
|
||||||
EXPECT_EQ(vendor_command_begin, 10000);
|
EXPECT_EQ(vendor_command_begin, 10000);
|
||||||
|
Loading…
Reference in New Issue
Block a user