Searched refs:expectStr (Results 1 - 7 of 7) sorted by relevance
/foundation/ability/idl_tool/test/unittest/cpp_code_emitter_test/ |
H A D | cpp_code_emitter_test.cpp | 123 const String inputStr, expectStr; in HWTEST_F() local 124 EXPECT_EQ(codeEmitter.FileName(inputStr), expectStr); in HWTEST_F() 153 const String emptyStr, expectStr; in HWTEST_F() local 154 EXPECT_EQ(codeEmitter.MacroName(emptyStr), expectStr); in HWTEST_F() 181 std::string expectStr( in HWTEST_F() 184 EXPECT_STREQ(sb.buffer_, expectStr.c_str()); in HWTEST_F() 207 std::string expectStr("const if (!ParcelNameWriteInt32(Name)) {\nconst return ERR_INVALID_DATA;\nconst }\n"); in HWTEST_F() 209 EXPECT_STREQ(sb.buffer_, expectStr.c_str()); in HWTEST_F() 232 std::string expectStr("const if (!ParcelNameWriteInt64(Name)) {\nconst return ERR_INVALID_DATA;\nconst }\n"); in HWTEST_F() 234 EXPECT_STREQ(sb.buffer_, expectStr in HWTEST_F() 730 const String emptyStr, expectStr; HWTEST_F() local 1099 const String inputStr, expectStr; HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/ |
H A D | js_component_test.cpp | 226 std::string expectStr = NapiValueToString(env, array); in AssertArrayContain() local 228 ComponentTestRecord(result, "Expect [" + expectStr + "] to contain '" + actualStr + "'."); in AssertArrayContain() 248 std::string expectStr = NapiValueToString(env, argv[0]); in JSAssertContain() local 250 bool strResult = expectStr.find(actualStr) != std::string::npos; in JSAssertContain() 251 ComponentTestRecord(strResult, "Expect '" + expectStr + "' to contain '" + actualStr + "'."); in JSAssertContain() 314 std::string expectStr(expectStrBuffer, expectBufSize); in JSAssertEqual() 323 "Expect a value equal to '" + expectStr + "', but getting '" + actualStr + "'(different references)."; in JSAssertEqual() 325 assertionDescription = "Expect a value equal to '" + expectStr + "', but getting '" + actualStr + "'."; in JSAssertEqual() 331 assertionDescription = "Expect a value equal to '" + expectStr + "'."; in JSAssertEqual()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_cursor_test.cpp | 447 std::string expectStr = "fghij"; in HWTEST_F() local 454 auto callback = [expectStr](const std::string& str) { EXPECT_EQ(expectStr, str); }; in HWTEST_F() 483 std::string expectStr = "fghij"; in HWTEST_F() local 490 auto onCopy = [expectStr](const std::string& str) { EXPECT_EQ(expectStr, str); }; in HWTEST_F() 491 auto onPaste = [expectStr](const std::string& str) { EXPECT_EQ(expectStr, str); }; in HWTEST_F() 492 auto onPasteWithEvent = [expectStr](const std::string& str, NG::TextCommonEvent& event) { in HWTEST_F() 493 EXPECT_EQ(expectStr, st in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/test/unittest/ |
H A D | ge_magnifier_shader_filter_test.cpp | 74 std::string expectStr = "GEMagnifierShaderFilter"; in HWTEST_F() local 75 EXPECT_EQ(filter->GetDescription(), expectStr); in HWTEST_F()
|
H A D | ge_linear_gradient_blur_shader_filter_test.cpp | 74 std::string expectStr = "GELinearGradientBlurShaderFilter";
in HWTEST_F() local 75 EXPECT_EQ(filter->GetDescription(), expectStr);
in HWTEST_F() 91 std::string expectStr = "GELinearGradientBlurShaderFilterBlur, radius: " +std::to_string(params.blurRadius);
in HWTEST_F() local 92 EXPECT_EQ(filter->GetDetailedDescription(), expectStr);
in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_query_object_helper_test.cpp | 70 std::string expectStr = std::get<std::string>(expectType); in CheckType() local 72 EXPECT_EQ(expectStr, actualStr); in CheckType()
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_sync_common_test.cpp | 536 std::string expectStr = in HWTEST_F() local 540 EXPECT_EQ(res, expectStr); in HWTEST_F()
|
Completed in 6 milliseconds