/base/web/webview/test/unittest/nweb_value_test/ |
D | nweb_value_test.cpp | 77 const std::string testData = "Hello,String"; variable 80 nwebValue->SetString(testData); 83 EXPECT_STREQ(testData.c_str(), actual.c_str()); 94 int testData = 12345; variable 97 nwebValue->SetInt(testData); 100 EXPECT_EQ(testData, actual); 114 const std::string testData = "{\"name\":\"zhangsan\",\"city\":\"hangzhou\"}"; variable 115 nwebValue->SetJsonString(testData); 118 EXPECT_STREQ(testData.c_str(), actual.c_str()); 132 double testData = 1.234567; variable [all …]
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_md_test.cpp | 155 uint8_t testData[] = "My test data"; variable 157 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 187 uint8_t testData[] = "My test data"; variable 189 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 242 uint8_t testData[] = "My test data"; variable 244 … struct HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 265 uint8_t testData[] = "My test data"; variable 267 … struct HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 288 uint8_t testData[] = "My test data"; variable 290 … struct HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; [all …]
|
D | crypto_md_sm3_test.cpp | 102 uint8_t testData[] = "My test data"; variable 104 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 135 uint8_t testData[] = "My test data"; variable 137 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 168 uint8_t testData[] = "My test data"; variable 170 … struct HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)};
|
D | crypto_sm3_mac_test.cpp | 169 uint8_t testData[] = "My test data"; variable 171 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 223 uint8_t testData[] = "My test data"; variable 225 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 306 uint8_t testData[] = "My test data"; variable 308 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 415 uint8_t testData[] = "My test data"; variable 416 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 448 uint8_t testData[] = "My test data"; variable 449 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; [all …]
|
D | crypto_mac_test.cpp | 173 uint8_t testData[] = "My test data"; variable 175 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 227 uint8_t testData[] = "My test data"; variable 229 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 310 uint8_t testData[] = "My test data"; variable 312 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 419 uint8_t testData[] = "My test data"; variable 420 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; 455 uint8_t testData[] = "My test data"; variable 456 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = sizeof(testData)}; [all …]
|
/base/useriam/user_auth_framework/test/unittest/inner_api/src/ |
D | widget_callback_service_test.cpp | 56 std::string testData = "cmd"; variable 62 [&testData](const std::string &cmdData) { in __anonf20a46ed0102() 63 EXPECT_EQ(cmdData, testData); in __anonf20a46ed0102() 69 service->SendCommand(testData);
|
/base/useriam/pin_auth/test/unittest/src/ |
D | inputer_set_data_stub_test.cpp | 48 std::vector<uint8_t> testData = {1, 2, 3, 4, 5}; variable 65 EXPECT_TRUE(data.WriteUInt8Vector(testData)); 75 std::vector<uint8_t> testData = {1, 2, 3, 4, 5}; variable 83 EXPECT_TRUE(data.WriteUInt8Vector(testData));
|
D | inputer_data_impl_test.cpp | 49 std::vector<uint8_t> testData = {6, 7, 8, 9}; variable 53 std::vector<uint8_t> testScrypt = scryptPtr->GetScrypt(testData); 69 inputerDataImpl->OnSetData(testAuthSubType, testData);
|
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setcustomdata_fuzzer/ |
D | setcustomdata_fuzzer.cpp | 29 PasteCustomData testData; in DoSomethingInterestingWithMyAPI() local 30 dataRecordAdapterImpl->SetCustomData(testData); in DoSomethingInterestingWithMyAPI()
|
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisysevent_fuzzer/ |
D | hisysevent_fuzzer.cpp | 41 std::string testData(reinterpret_cast<const char*>(data), size); in RawDataBuilderJsonParserTest() 42 RawDataBuilderJsonParser parser(testData); in RawDataBuilderJsonParserTest()
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmdcreate_fuzzer/ |
D | hcfmdcreate_fuzzer.cpp | 36 char testData[] = "My test data"; in TestMd() local 38 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = testDataLen}; in TestMd()
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/ |
D | hcfmaccreate_fuzzer.cpp | 46 char testData[] = "My test data"; in TestMac() local 48 HcfBlob inBlob = {.data = reinterpret_cast<uint8_t *>(testData), .len = testDataLen}; in TestMac()
|
/base/update/updater/test/unittest/package/ |
D | pkg_verify_unittest.cpp | 178 size_t testData = 0; in TestPkgVerifyFailed() local 182 ret = pkgVerify.GetSignature(nullptr, testData, data, commentTotalLenAll); in TestPkgVerifyFailed() 184 ret = pkgVerify.HashCheck(nullptr, testData, data); in TestPkgVerifyFailed() 186 ret = pkgVerify.ParsePackage(nullptr, testData, testData, commentTotalLenAll); in TestPkgVerifyFailed()
|
/base/sensors/medical_sensor/services/medical_sensor/hdi_connection/hardware/src/ |
D | hdi_service_impl.cpp | 35 float testData[] = {9.8}; variable 38 .data = (uint8_t *)testData,
|
/base/web/webview/test/unittest/pasteboard_adapter/ |
D | pasteboard_client_adapter_test.cpp | 856 PasteCustomData testData; variable 857 testData.insert(std::make_pair(format, data)); 859 bool reset = g_datarecordnull->SetCustomData(testData); 863 reset = g_datarecord->SetCustomData(testData); 906 PasteCustomData testData; variable 907 g_datarecord->SetCustomData(testData);
|