TD-10431 rename test file
This commit is contained in:
parent
333cbe6f2e
commit
1f600bb6bb
|
@ -13,7 +13,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "dndTestDeploy.h"
|
||||
#include "deploy.h"
|
||||
|
||||
void initLog(char *path) {
|
||||
mDebugFlag = 207;
|
|
@ -2,8 +2,8 @@ add_executable(dndTest01 "")
|
|||
|
||||
target_sources(dndTest01
|
||||
PRIVATE
|
||||
"dndTest01.cpp"
|
||||
"../util/dndTestDeploy.cpp"
|
||||
"test01.cpp"
|
||||
"../sut/deploy.cpp"
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
|
@ -18,7 +18,7 @@ target_include_directories(dndTest01
|
|||
PUBLIC
|
||||
"${CMAKE_SOURCE_DIR}/include/server/dnode/mgmt"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../../inc"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../util"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../sut"
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "dndTestDeploy.h"
|
||||
#include "deploy.h"
|
||||
|
||||
class DndTest01 : public ::testing::Test {
|
||||
protected:
|
||||
|
@ -44,7 +44,7 @@ TEST_F(DndTest01, connectMsg) {
|
|||
sendMsg(pClient, &rpcMsg);
|
||||
|
||||
SConnectRsp* pRsp = (SConnectRsp*)pClient->pRsp->pCont;
|
||||
ASSERT(pRsp);
|
||||
ASSERT_NE(pRsp, nullptr);
|
||||
pRsp->acctId = htonl(pRsp->acctId);
|
||||
pRsp->clusterId = htonl(pRsp->clusterId);
|
||||
pRsp->connId = htonl(pRsp->connId);
|
Loading…
Reference in New Issue