Home
last modified time | relevance | path

Searched refs:testData (Results 1 – 15 of 15) sorted by relevance

/base/web/webview/test/unittest/nweb_value_test/
Dnweb_value_test.cpp77 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/
Dcrypto_md_test.cpp155 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 …]
Dcrypto_md_sm3_test.cpp102 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)};
Dcrypto_sm3_mac_test.cpp169 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 …]
Dcrypto_mac_test.cpp173 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/
Dwidget_callback_service_test.cpp56 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/
Dinputer_set_data_stub_test.cpp48 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));
Dinputer_data_impl_test.cpp49 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/
Dsetcustomdata_fuzzer.cpp29 PasteCustomData testData; in DoSomethingInterestingWithMyAPI() local
30 dataRecordAdapterImpl->SetCustomData(testData); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hisysevent/test/fuzztest/common/hisysevent_fuzzer/
Dhisysevent_fuzzer.cpp41 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/
Dhcfmdcreate_fuzzer.cpp36 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/
Dhcfmaccreate_fuzzer.cpp46 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/
Dpkg_verify_unittest.cpp178 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/
Dhdi_service_impl.cpp35 float testData[] = {9.8}; variable
38 .data = (uint8_t *)testData,
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp856 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);