提交 9dbca03d 编写于 作者: O openharmony_ci 提交者: Gitee

!168 修改测试套以支持共享内存【release】

Merge pull request !168 from liushijiu/addshmRelease
......@@ -61,6 +61,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -213,4 +215,4 @@ HWTEST_F(AieClientAsyncProcessFunctionTest, testAieClientAsyncProcessFunction020
HILOGI("[Test]testAieClientAsyncProcessFunction0201.");
bool isAsyncProcessInputInfoNull = GetRandomBool();
TestAieClientAsyncProcess(false, isAsyncProcessInputInfoNull, false, false);
}
\ No newline at end of file
}
......@@ -52,6 +52,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -235,4 +237,4 @@ HWTEST_F(AieClientDestroyFunctionTest, testAieClientDestroyFunction003, Function
{
HILOGI("[Test]testAieClientDestroyFunction003.");
TestAieClientDestroy(true);
}
\ No newline at end of file
}
......@@ -56,6 +56,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -195,4 +197,4 @@ HWTEST_F(AieClientInitFunctionTest, testAieClientInitFunction0301, Function | Me
HILOGI("[Test]testAieClientInitFunction0301.");
bool isAsync = GetRandomBool();
TestAieClientInit(CONFIG_DESCRIPTION, isAsync, false);
}
\ No newline at end of file
}
......@@ -55,6 +55,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -276,4 +278,4 @@ HWTEST_F(AieClientPrepareFunctionTest, testAieClientPrepareFunction0204, Functio
{
HILOGI("[Test]testAieClientPrepareFunction0204.");
TestAieClientPrepare(true, true, true, false, false);
}
\ No newline at end of file
}
......@@ -52,6 +52,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -225,4 +227,4 @@ HWTEST_F(AieClientReleaseFunctionTest, testAieClientReleaseFunction004, Function
{
HILOGI("[Test]testAieClientReleaseFunction004.");
TestAieClientRelease(true, true);
}
\ No newline at end of file
}
......@@ -60,6 +60,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -325,4 +327,4 @@ HWTEST_F(AieClientSetOptionFunctionTest, testAieClientSetOptionFunction0202, Fun
HILOGI("[Test]testAieClientSetOptionFunction0202.");
bool isAsync = GetRandomBool();
TestAieClientSetOptionWithoutPrepare(isAsync, false);
}
\ No newline at end of file
}
......@@ -56,6 +56,8 @@ static void GetClientInfo(ClientInfo &clientInfo)
.clientVersion = CLIENT_VERSION_VALID,
.clientId = INVALID_CLIENT_ID,
.sessionId = INVALID_SESSION_ID,
.serverUid = INVALID_UID,
.clientUid = INVALID_UID,
.extendLen = len,
.extendMsg = (unsigned char*)extendMsg,
};
......@@ -213,4 +215,4 @@ HWTEST_F(AieClientSyncProcessFunctionTest, testAieClientSyncProcessFunction0201,
HILOGI("[Test]testAieClientSyncProcessFunction0201.");
bool isSyncProcessInputInfoNull = GetRandomBool();
TestAieClientSyncProcess(true, isSyncProcessInputInfoNull, false, false);
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册