/foundation/communication/netmanager_base/test/fuzztest/netbasebranch_fuzzer/ |
H A D | net_base_branch_fuzzer.cpp | 100 std::string testString = ""; in NetHttpProbeBranchFuzzTest() local 101 instance_->GetAddrInfo(testString); in NetHttpProbeBranchFuzzTest() 102 instance_->SetResolveOption(probeType, testString, testString, testId); in NetHttpProbeBranchFuzzTest() 103 instance_->SetResolveOption(probeType, "test", testString, testId); in NetHttpProbeBranchFuzzTest() 104 testString = GetStringFromData(STR_LEN); in NetHttpProbeBranchFuzzTest() 105 instance_->GetAddrInfo(testString); in NetHttpProbeBranchFuzzTest() 108 instance_->SetHttpOptions(probeType, curl, testString); in NetHttpProbeBranchFuzzTest() 111 instance_->SetResolveOption(probeType, testString, testString, testI in NetHttpProbeBranchFuzzTest() [all...] |
/foundation/communication/netstack/test/unittest/tls_test/server/ |
H A D | tls_socket_branch_test.cpp | 72 auto testString = server.MakeAddressString(addr); in HWTEST_F() local 73 EXPECT_TRUE(testString.empty()); in HWTEST_F() 77 testString = server.MakeAddressString(&addrInfo); in HWTEST_F() 78 EXPECT_TRUE(testString.empty()); in HWTEST_F() 81 testString = server.MakeAddressString(&addrInfo); in HWTEST_F() 82 EXPECT_FALSE(testString.empty()); in HWTEST_F() 85 testString = server.MakeAddressString(&addrInfo); in HWTEST_F() 86 EXPECT_FALSE(testString.empty()); in HWTEST_F()
|
H A D | tls_socket_server_branch_test.cpp | 146 std::string testString = "test"; in HWTEST_F() local 147 connection->CallOnErrorCallback(err, testString); in HWTEST_F() 159 tlsSocketServer->CallOnErrorCallback(err, testString); in HWTEST_F() 269 std::string testString = "test"; in HWTEST_F() local 270 tlsServerSendOptions.SetSendData(testString); in HWTEST_F() 272 EXPECT_EQ(data, testString); in HWTEST_F() 306 connection->CallOnMessageCallback(socketFd, testString, remoteInfo); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tlssocket/server/ |
H A D | tls_socket_branch_test.cpp | 72 auto testString = server.MakeAddressString(addr); in HWTEST_F() local 73 EXPECT_TRUE(testString.empty()); in HWTEST_F() 77 testString = server.MakeAddressString(&addrInfo); in HWTEST_F() 78 EXPECT_TRUE(testString.empty()); in HWTEST_F() 81 testString = server.MakeAddressString(&addrInfo); in HWTEST_F() 82 EXPECT_FALSE(testString.empty()); in HWTEST_F() 85 testString = server.MakeAddressString(&addrInfo); in HWTEST_F() 86 EXPECT_FALSE(testString.empty()); in HWTEST_F()
|
H A D | tls_socket_server_branch_test.cpp | 146 std::string testString = "test"; in HWTEST_F() local 147 connection->CallOnErrorCallback(err, testString); in HWTEST_F() 159 tlsSocketServer->CallOnErrorCallback(err, testString); in HWTEST_F() 269 std::string testString = "test"; in HWTEST_F() local 270 tlsServerSendOptions.SetSendData(testString); in HWTEST_F() 272 EXPECT_EQ(data, testString); in HWTEST_F() 306 connection->CallOnMessageCallback(socketFd, testString, remoteInfo); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/common/storage/ |
H A D | storage_test.cpp | 116 std::string testString = stroage->GetString("test");
in HWTEST_F() local 117 EXPECT_EQ(testString, FALSE_TEST);
in HWTEST_F() 140 std::string testString = distributedStorage->GetString("test");
in HWTEST_F() local 141 EXPECT_EQ(testString, FALSE_TEST);
in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/network/ |
H A D | network_tcp_unit_test.cpp | 326 char testString[] = "hello world"; in HWTEST_F() local 327 size_t testStringLen = strlen(testString); in HWTEST_F() 328 ret = clientPtr->Send(testString, testStringLen); in HWTEST_F() 345 char testString[] = "hello world"; in HWTEST_F() local 346 size_t testStringLen = strlen(testString); in HWTEST_F() 347 buf->PushData(testString, testStringLen); in HWTEST_F() 366 char testString[] = "hello world"; in HWTEST_F() local 367 size_t testStringLen = strlen(testString); in HWTEST_F() 368 auto ret = clientPtr->Send(testString, testStringLen); in HWTEST_F() 379 char testString[] in HWTEST_F() local [all...] |
H A D | network_udp_unit_test.cpp | 319 char testString[] = "hello world"; in HWTEST_F() local 320 size_t testStringLen = strlen(testString); in HWTEST_F() 321 ret = clientPtr->Send(testString, testStringLen); in HWTEST_F() 338 char testString[] = "hello world"; in HWTEST_F() local 339 size_t testStringLen = strlen(testString); in HWTEST_F() 340 buf->PushData(testString, testStringLen); in HWTEST_F() 359 char testString[] = "hello world"; in HWTEST_F() local 360 size_t testStringLen = strlen(testString); in HWTEST_F() 361 auto ret = clientPtr->Send(testString, testStringLen); in HWTEST_F() 372 char testString[] in HWTEST_F() local [all...] |
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | SecureDataTest.cpp | 42 std::string testString = "Secure Data string Test"; in HWTEST_F() local 43 SecureData structureData(testString); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/tls_test/client/ |
H A D | SecureDataTest.cpp | 42 std::string testString = "Secure Data string Test";
in HWTEST_F() local 43 SecureData structureData(testString);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_animation_test.cpp | 177 std::string testString;
in HWTEST_F() local 178 auto lambda = [&testString]() { testString = SUCCESS_STRING; };
in HWTEST_F() 199 EXPECT_STREQ(SUCCESS_STRING.c_str(), testString.c_str());
in HWTEST_F() 223 std::string testString;
in HWTEST_F() local 224 auto lambda = [&testString]() { testString = SUCCESS_STRING; };
in HWTEST_F() 244 EXPECT_STREQ(SUCCESS_STRING.c_str(), testString.c_str());
in HWTEST_F() 266 std::string testString;
in HWTEST_F() local 267 auto lambda = [&testString]() { testStrin in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/ |
H A D | wrapper_decoder_test.cpp | 359 std::string testString = ""; in HWTEST_F() local 361 ret = decoder->SaveAddressMsg(testString, addrMsg, testString, cacheInfo, testString); in HWTEST_F() 370 ret = decoder->SaveRtMsg(testString, testString, testString, length, family); in HWTEST_F() 374 testString = "test"; in HWTEST_F() 375 ret = decoder->SaveRtMsg(testString, testString, testStrin in HWTEST_F() [all...] |
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
H A D | networkshare_tracker_test.cpp | 728 std::string testString = ""; in HWTEST_F() local 730 auto ret = callback.OnInterfaceAddressUpdated(testString, testString, testNumber, testNumber); in HWTEST_F() 733 ret = callback.OnInterfaceAddressRemoved(testString, testString, testNumber, testNumber); in HWTEST_F() 736 ret = callback.OnInterfaceAdded(testString); in HWTEST_F() 739 ret = callback.OnInterfaceRemoved(testString); in HWTEST_F() 742 ret = callback.OnInterfaceChanged(testString, false); in HWTEST_F() 745 ret = callback.OnInterfaceLinkStateChanged(testString, false); in HWTEST_F() 748 ret = callback.OnRouteChanged(false, testString, testStrin in HWTEST_F() [all...] |
/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | watchdog_task_test.cpp | 76 std::string testString = "12345"; in HWTEST_F() local 77 bool ret = watchdogtask.IsNumberic(testString); in HWTEST_F()
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | test_service_client.cpp | 134 std::string testString; in StartLoopTest() local 137 testString += "0123456789abcdefghijklmnopqrstuvwxyz~!@#$%^&*()_+{}?/[]<>-='|~"; in StartLoopTest() 138 testService_->TestStringTransaction(testString); in StartLoopTest()
|
H A D | test_service_skeleton.cpp | 807 const std::string testString = data.ReadString(); in ServerStringTransaction() local 808 int testSize = TestStringTransaction(testString); in ServerStringTransaction() 810 reply.WriteString(testString); in ServerStringTransaction()
|
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/ |
H A D | dev_interface_state_test.cpp | 155 std::string testString = ""; in HWTEST_F() local 156 auto result = devInterfaceState.GetIpv4Prefix(testString, netMaskList); in HWTEST_F() 164 devInterfaceState.GetDumpInfo(testString); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | netsys_controller_service_impl_test.cpp | 396 std::string testString = ""; in HWTEST_F() local 397 ret = instance_->IpEnableForwarding(testString); in HWTEST_F() 400 ret = instance_->IpDisableForwarding(testString); in HWTEST_F() 473 std::string testString = ""; in HWTEST_F() local 474 ret = instance_->EnableNat(testString, testString); in HWTEST_F() 477 ret = instance_->DisableNat(testString, testString); in HWTEST_F() 480 ret = instance_->IpfwdAddInterfaceForward(testString, testString); in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_utils_test.cpp | 154 string testString = "123456"; in HWTEST_F() local 156 EXPECT_EQ(MediaFileUtils::WriteStrToFile("", testString), false); in HWTEST_F() 158 EXPECT_EQ(MediaFileUtils::WriteStrToFile(testPath, testString), false); in HWTEST_F() 161 EXPECT_EQ(MediaFileUtils::WriteStrToFile(testPath, testString), true); in HWTEST_F() 162 EXPECT_EQ(CheckFileString(testPath, testString), true); in HWTEST_F() 169 string testString = "123456"; in HWTEST_F() local 173 EXPECT_EQ(MediaFileUtils::WriteStrToFile(oldPath, testString), true); in HWTEST_F() 180 EXPECT_EQ(CheckFileString(newPath, testString), true); in HWTEST_F()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_conn_service_test.cpp | 943 std::string testString = "test"; in HWTEST_F() local 947 NetConnService::GetInstance()->RegisterNetSupplier(NetBearType::BEARER_BLUETOOTH, testString, netCaps, supplierId); in HWTEST_F() 1001 std::string testString = "test"; in HWTEST_F() local 1003 auto ret = stateCallback.OnInterfaceAddressUpdated(testString, testString, testInt, testInt); in HWTEST_F() 1006 ret = stateCallback.OnInterfaceAddressRemoved(testString, testString, testInt, testInt); in HWTEST_F() 1009 ret = stateCallback.OnInterfaceAdded(testString); in HWTEST_F() 1012 ret = stateCallback.OnInterfaceRemoved(testString); in HWTEST_F() 1015 ret = stateCallback.OnInterfaceChanged(testString, fals in HWTEST_F() [all...] |
H A D | net_conn_manager_test.cpp | 798 std::string testString = "test"; in HWTEST_F() local 801 NetBearType::BEARER_CELLULAR, testString, netCaps, supplierId); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_service_test.cpp | 944 std::string testString = "test"; in HWTEST_F() local 949 NetConnService::GetInstance()->RegisterNetSupplier(NetBearType::BEARER_BLUETOOTH, testString, netCaps, supplierId); in HWTEST_F() 1003 std::string testString = "test"; in HWTEST_F() local 1005 auto ret = stateCallback.OnInterfaceAddressUpdated(testString, testString, testInt, testInt); in HWTEST_F() 1008 ret = stateCallback.OnInterfaceAddressRemoved(testString, testString, testInt, testInt); in HWTEST_F() 1011 ret = stateCallback.OnInterfaceAdded(testString); in HWTEST_F() 1014 ret = stateCallback.OnInterfaceRemoved(testString); in HWTEST_F() 1017 ret = stateCallback.OnInterfaceChanged(testString, fals in HWTEST_F() [all...] |
H A D | net_conn_manager_test.cpp | 798 std::string testString = "test"; in HWTEST_F() local 801 NetBearType::BEARER_CELLULAR, testString, netCaps, supplierId); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_data_mgr_test.cpp | 6396 std::string testString = "testString"; in HWTEST_F() local 6397 proxyData.uri = testString; in HWTEST_F() 6398 proxyData.requiredReadPermission = testString; in HWTEST_F() 6399 proxyData.requiredWritePermission = testString; in HWTEST_F() 6414 std::string testString = "testString"; in HWTEST_F() local 6415 routerItem.name = testString; in HWTEST_F() 6416 routerItem.pageSourceFile = testString; in HWTEST_F() 6417 routerItem.buildFunction = testString; in HWTEST_F() [all...] |
/foundation/arkui/napi/test/unittest/ |
H A D | test_napi.cpp | 1753 napi_value testString = nullptr; in HWTEST_F() local 1754 napi_create_string_utf8(env, testStringStr, strlen(testStringStr), &testString); in HWTEST_F() 1756 napi_strict_equals(env, testString, testString, &isStrictEquals); in HWTEST_F()
|