未验证 提交 34717db8 编写于 作者: O openharmony_ci 提交者: Gitee

!9687 修复编译问题

Merge pull request !9687 from 罗键铭/master
...@@ -20,10 +20,11 @@ ...@@ -20,10 +20,11 @@
#include "devattest_interface.h" #include "devattest_interface.h"
#define ATTEST_SOFTWARE_RESULT_SIZE 5 #define ATTEST_SOFTWARE_RESULT_SIZE 5
#define ACTS_DEVATTEST_SUCCESS 0
using namespace std; using namespace std;
using namespace testing::ext; using namespace testing::ext;
class DeviceAttestStartTest : public testing::Test { class DeviceAttestStartTest : public testing::Test {
protected: protected:
static void SetUpTestCase(void) {} static void SetUpTestCase(void) {}
...@@ -41,8 +42,8 @@ protected: ...@@ -41,8 +42,8 @@ protected:
*/ */
HWTEST_F(DeviceAttestStartTest, subDeviceAttestTest0100, Function | MediumTest | Level1) HWTEST_F(DeviceAttestStartTest, subDeviceAttestTest0100, Function | MediumTest | Level1)
{ {
int32_t ret = DEVATTEST_SUCCESS; int32_t ret = ACTS_DEVATTEST_SUCCESS;
ret = StartDevAttestTask(); ret = StartDevAttestTask();
printf("[CLIENT MAIN] StartDevAttestTask ret:%d.\n", ret); printf("[CLIENT MAIN] StartDevAttestTask ret:%d.\n", ret);
EXPECT_EQ(ret, DEVATTEST_SUCCESS); EXPECT_EQ(ret, ACTS_DEVATTEST_SUCCESS);
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册