Home
last modified time | relevance | path

Searched refs:TEST_PKG_NAME (Results 1 - 18 of 18) sorted by relevance

/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_sdk_test.cpp36 constexpr char TEST_PKG_NAME[] = "com.softbus.test"; member
195 EXPECT_TRUE(JoinLNN(TEST_PKG_NAME, nullptr, OnJoinLNNDone) != SOFTBUS_OK); in HWTEST_F()
196 EXPECT_TRUE(JoinLNN(TEST_PKG_NAME, &addr, nullptr) != SOFTBUS_OK); in HWTEST_F()
211 EXPECT_TRUE(LeaveLNN(TEST_PKG_NAME, nullptr, OnLeaveLNNDone) != SOFTBUS_OK); in HWTEST_F()
212 EXPECT_TRUE(LeaveLNN(TEST_PKG_NAME, networkId, nullptr) != SOFTBUS_OK); in HWTEST_F()
213 EXPECT_TRUE(LeaveLNN(TEST_PKG_NAME, errNetIdLenMore, OnLeaveLNNDone) != SOFTBUS_OK); in HWTEST_F()
224 EXPECT_TRUE(RegNodeDeviceStateCb(TEST_PKG_NAME, &g_nodeStateCb) == SOFTBUS_OK); in HWTEST_F()
239 EXPECT_TRUE(RegNodeDeviceStateCb(TEST_PKG_NAME, &g_nodeStateCb) == SOFTBUS_OK); in HWTEST_F()
257 EXPECT_TRUE(GetAllNodeDeviceInfo(TEST_PKG_NAME, &info, &infoNum) == SOFTBUS_OK); in HWTEST_F()
278 EXPECT_TRUE(GetLocalNodeDeviceInfo(TEST_PKG_NAME, in HWTEST_F()
[all...]
H A Dbus_center_meta_node_sdk_test.cpp27 static constexpr char TEST_PKG_NAME[] = "com.softbus.test"; member
69 EXPECT_TRUE(DeactiveMetaNode(TEST_PKG_NAME, metaNodeId) != SOFTBUS_OK); in HWTEST_F()
71 EXPECT_TRUE(ActiveMetaNode(TEST_PKG_NAME, &configInfo, metaNodeId) == SOFTBUS_OK); in HWTEST_F()
73 EXPECT_TRUE(ActiveMetaNode(TEST_PKG_NAME, &configInfo, metaNodeId) == SOFTBUS_OK); in HWTEST_F()
74 EXPECT_TRUE(GetAllMetaNodeInfo(TEST_PKG_NAME, infos, &infoNum) == SOFTBUS_OK); in HWTEST_F()
80 EXPECT_TRUE(DeactiveMetaNode(TEST_PKG_NAME, metaNodeId) == SOFTBUS_OK); in HWTEST_F()
81 EXPECT_TRUE(GetAllMetaNodeInfo(TEST_PKG_NAME, infos, &infoNum) == SOFTBUS_OK); in HWTEST_F()
105 EXPECT_TRUE(ActiveMetaNode(TEST_PKG_NAME, &configInfo, metaNodeId) == SOFTBUS_OK); in HWTEST_F()
107 EXPECT_TRUE(ActiveMetaNode(TEST_PKG_NAME, &configInfo, metaNodeId) != SOFTBUS_OK); in HWTEST_F()
110 EXPECT_TRUE(GetAllMetaNodeInfo(TEST_PKG_NAME, info in HWTEST_F()
[all...]
H A Dbus_center_sdk_refresh_small_test.cpp33 constexpr char TEST_PKG_NAME[] = "com.softbus.test"; member
142 ret = RefreshLNN(TEST_PKG_NAME, NULL, &g_refreshCb1); in HWTEST_F()
145 ret = RefreshLNN(TEST_PKG_NAME, &testInfo, NULL); in HWTEST_F()
149 ret = RefreshLNN(TEST_PKG_NAME, &testInfo, &g_refreshCb1); in HWTEST_F()
154 ret = RefreshLNN(TEST_PKG_NAME, &testInfo, &g_refreshCb1); in HWTEST_F()
159 ret = RefreshLNN(TEST_PKG_NAME, &testInfo, &g_refreshCb1); in HWTEST_F()
164 ret = RefreshLNN(TEST_PKG_NAME, &testInfo, &g_refreshCb1); in HWTEST_F()
169 ret = RefreshLNN(TEST_PKG_NAME, &testInfo, &g_refreshCb1); in HWTEST_F()
199 ret = RefreshLNN(TEST_PKG_NAME, NULL, &g_refreshCb1); in HWTEST_F()
202 ret = RefreshLNN(TEST_PKG_NAME, in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/sdk/bus_center/benchmarktest/
H A Dbus_center_test.cpp29 constexpr char TEST_PKG_NAME[] = "com.softbus.test"; member
157 int32_t ret = RegNodeDeviceStateCb(TEST_PKG_NAME, &g_nodeStateCb); in BENCHMARK_F()
177 RegNodeDeviceStateCb(TEST_PKG_NAME, &g_nodeStateCb); in BENCHMARK_F()
199 int32_t ret = GetAllNodeDeviceInfo(TEST_PKG_NAME, &info, &infoNum); in BENCHMARK_F()
220 ret = GetLocalNodeDeviceInfo(TEST_PKG_NAME, &localNode); in BENCHMARK_F()
242 GetLocalNodeDeviceInfo(TEST_PKG_NAME, &info); in BENCHMARK_F()
244 ret = GetNodeKeyInfo(TEST_PKG_NAME, info.networkId, NODE_KEY_UDID, in BENCHMARK_F()
265 ret = PublishLNN(TEST_PKG_NAME, &g_pInfo, &g_publishCb); in BENCHMARK_F()
270 StopPublishLNN(TEST_PKG_NAME, g_pInfo.publishId); in BENCHMARK_F()
288 PublishLNN(TEST_PKG_NAME, in BENCHMARK_F()
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/distributed_stream/
H A Ddistributed_stream_test.cpp192 int32_t ret = GetAllNodeDeviceInfo(TEST_PKG_NAME.c_str(), &onlineDevices, &onlineNum); in SetUpTestCase()
448 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); in HWTEST_F()
450 cout << "pkgName : " << TEST_PKG_NAME << ", sessionName : " << STREAM_SESSION_NAME << endl; in HWTEST_F()
452 ret = CreateSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str(), &g_ctrllistener); in HWTEST_F()
454 cout << "pkgName : " << TEST_PKG_NAME << ", sessionName : " << CONTRL_SESSION_NAME << endl; in HWTEST_F()
465 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in HWTEST_F()
468 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in HWTEST_F()
480 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); in HWTEST_F()
482 cout << "pkgName : " << TEST_PKG_NAME << ", sessionName : " << STREAM_SESSION_NAME << endl; in HWTEST_F()
484 ret = CreateSessionServer(TEST_PKG_NAME in HWTEST_F()
[all...]
H A Ddistributed_stream_test_agent.cpp155 int32_t ret = CreateSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str(), &g_listener); in CreateTestSessionServer()
157 cout << "pkgName : " << TEST_PKG_NAME << ", sessionName : " << STREAM_SESSION_NAME << endl; in CreateTestSessionServer()
159 ret = CreateSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str(), &g_ctrllistener); in CreateTestSessionServer()
161 cout << "pkgName : " << TEST_PKG_NAME << ", sessionName : " << CONTRL_SESSION_NAME << endl; in CreateTestSessionServer()
169 int32_t ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in RemoverTestSessionServer()
172 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in RemoverTestSessionServer()
H A Ddistributed_stream_test.h31 const std::string TEST_PKG_NAME = "dms"; variable
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_channel_callback_test/
H A Dtrans_channel_callback_test.cpp24 #define TEST_PKG_NAME "com.test.trans.demo.pkgname" macro
55 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
107 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
119 receiveData->data = (void *)TEST_PKG_NAME; in HWTEST_F()
147 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
181 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
229 ret = TransServerOnChannelBind(TEST_PKG_NAME, TEST_PID, 1, 2); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_callback_test.cpp27 #define TEST_PKG_NAME "com.test.tcpdirect.demo.pkgname" macro
123 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
143 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
165 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
187 char pkgName[] = TEST_PKG_NAME; in HWTEST_F()
221 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
241 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
H A Dtrans_server_tcp_direct_test.cpp67 #define TEST_PKG_NAME "com.test.trans.demo.pkgname" macro
691 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_proxychannel_common.h20 #define TEST_PKG_NAME "com.trans.proxy.test.pkgname" macro
H A Dsoftbus_proxychannel_listener_test.cpp231 strcpy_s(appInfo->myData.pkgName, SESSIONKEYSIZE, TEST_PKG_NAME); in HWTEST_F()
252 strcpy_s(appInfo->myData.pkgName, SESSIONKEYSIZE, TEST_PKG_NAME); in HWTEST_F()
272 strcpy_s(appInfo->myData.pkgName, SESSIONKEYSIZE, TEST_PKG_NAME); in HWTEST_F()
H A Dtrans_proxy_channel_test.cpp35 #define TEST_PKG_NAME "com.trans.proxy.test.pkgname" macro
H A Dtrans_proxy_manager_test.cpp46 #define TEST_PKG_NAME "com.trans.proxy.test.pkgname" macro
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_lane_manager_test/
H A Dtrans_lane_manager_test.cpp29 #define TEST_PKG_NAME "com.test.trans.demo.pkgname" macro
210 const char *pkgName = TEST_PKG_NAME; in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_channel_manager_test/
H A Dtrans_channel_manager_test.cpp38 #define TEST_PKG_NAME "com.test.trans.demo.pkgname" macro
176 const char *sessionName = TEST_PKG_NAME; in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/
H A Dtrans_lane_common_test.cpp50 const char *TEST_PKG_NAME = "testPkgName"; member
754 char *callerPkg = const_cast<char *>(TEST_PKG_NAME); in HWTEST_F()
H A Dtrans_lane_pending_test.cpp41 const char *TEST_PKG_NAME = "ohos.distributedschedule.dms.test"; member

Completed in 13 milliseconds