diff --git a/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp b/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp index f31199d8634f98aa18987ff441f6e50daf4a872d..57262fe55e4325c47bac29e4df8bf096b24fde2b 100644 --- a/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp +++ b/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp @@ -20,10 +20,11 @@ #include "devattest_interface.h" #define ATTEST_SOFTWARE_RESULT_SIZE 5 +#define ACTS_DEVATTEST_SUCCESS 0 using namespace std; using namespace testing::ext; - + class DeviceAttestStartTest : public testing::Test { protected: static void SetUpTestCase(void) {} @@ -41,8 +42,8 @@ protected: */ HWTEST_F(DeviceAttestStartTest, subDeviceAttestTest0100, Function | MediumTest | Level1) { - int32_t ret = DEVATTEST_SUCCESS; + int32_t ret = ACTS_DEVATTEST_SUCCESS; ret = StartDevAttestTask(); printf("[CLIENT MAIN] StartDevAttestTask ret:%d.\n", ret); - EXPECT_EQ(ret, DEVATTEST_SUCCESS); -} \ No newline at end of file + EXPECT_EQ(ret, ACTS_DEVATTEST_SUCCESS); +}