/commonlibrary/ets_utils/js_sys_module/console/test/ |
H A D | test_console.cpp | 141 napi_value res1 = nullptr; in HWTEST_F() local 144 napi_call_function(env, nullptr, cb, argc, argv, &res1); in HWTEST_F() 145 ASSERT_CHECK_VALUE_TYPE(env, res1, napi_undefined); in HWTEST_F() 438 napi_value res1 = nullptr; in HWTEST_F() local 440 napi_call_function(env, nullptr, cb, argc2, argv2, &res1); in HWTEST_F() 441 ASSERT_CHECK_VALUE_TYPE(env, res1, napi_undefined); in HWTEST_F() 469 napi_value res1 = nullptr; in HWTEST_F() local 474 napi_call_function(env, nullptr, cb, argc, argv2, &res1); in HWTEST_F() 475 ASSERT_CHECK_VALUE_TYPE(env, res1, napi_undefined); in HWTEST_F() 502 napi_value res1 in HWTEST_F() local 668 napi_value res1 = nullptr; HWTEST_F() local 696 napi_value res1 = nullptr; HWTEST_F() local 755 bool res1 = 0; HWTEST_F() local 791 napi_value res1 = nullptr; HWTEST_F() local 842 napi_value res1 = nullptr; HWTEST_F() local 868 napi_value res1 = nullptr; HWTEST_F() local [all...] |
/commonlibrary/ets_utils/js_sys_module/timer/test/ |
H A D | test_timer.cpp | 67 bool res1 = Timer::RegisterTime(nullptr); in HWTEST_F() local 68 ASSERT_TRUE(!res1); in HWTEST_F() 281 bool res1 = Timer::HasTimer(env); in HWTEST_F() local 282 ASSERT_TRUE(!res1); in HWTEST_F()
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/ |
H A D | mod.rs | 1294 ($res1:expr, $res2:expr) => {{ 1296 .scheme($res1.0) 1297 .authority($res1.1) 1298 .path($res1.2) 1299 .query($res1.3)
|
/commonlibrary/ets_utils/js_api_module/xml/test/ |
H A D | test_xml.cpp | 1149 std::string res1 = " note [\n<!ENTITY foo \"baa\">]note\r\nfuncrion matchwo(a,6)\r\n{\r\nreturn 1;\r\n}\r\n"; in HWTEST_F() local 1152 std::string result = res1 + res2 + res3; in HWTEST_F() 1233 std::string res1 = "note\r\nfuncrion matchwo(a,6)\r\n{\r\nreturn 1;\r\n}\r\nHello, World! companyJohn &"; in HWTEST_F() local 1236 std::string result = res1 + res2 + res3; in HWTEST_F() 1317 std::string res1 = " note [\n<!ENTITY foo \"baa\">]note\r\nfuncrion matchwo(a,6)\r\n{\r\nreturn 1;\r\n}\r\n"; in HWTEST_F() local 1320 std::string result = res1 + res2 + res3; in HWTEST_F() 1360 std::string res1 = " note [\n<!ENTITY foo \"baa\">]note\r\nfuncrion matchwo(a,6)\r\n{\r\nreturn 1;\r\n}\r\n"; in HWTEST_F() local 1363 std::string result = res1 + res2 + res3; in HWTEST_F() 1444 std::string res1 = "note\r\nfuncrion matchwo(a,6)\r\n{\r\nreturn 1;\r\n}\r\nHello, World! companyJohn &"; in HWTEST_F() local 1447 std::string result = res1 in HWTEST_F() 1487 std::string res1 = "note\\r\\nfuncrion matchwo(a,6)\\r\\n{\\r\\nreturn 1;\\r\\n}\\r\\nHello, World! companyJohn &"; HWTEST_F() local 1531 std::string res1 = " note [\\n<!ENTITY foo \\"baa\\">]note\\r\\nfuncrion matchwo(a,6)\\r\\n{\\r\\nreturn 1;\\r\\n}\\r\\n"; HWTEST_F() local 2225 std::string res1 = XmlTest::GetNamespace(env, prefix, depth); HWTEST_F() local [all...] |
/commonlibrary/ets_utils/js_api_module/url/test/ |
H A D | test_napi.cpp | 1906 bool res1 = false; in HWTEST_F() local 1907 napi_get_value_bool(env, tempFn, &res1); in HWTEST_F() 1908 ASSERT_TRUE(res1); in HWTEST_F() 1911 res1 = true; in HWTEST_F() 1912 napi_get_value_bool(env, tempFn, &res1); in HWTEST_F() 1913 ASSERT_FALSE(res1); in HWTEST_F() 2067 bool res1 = false; in HWTEST_F() local 2068 napi_get_value_bool(env, result, &res1); in HWTEST_F() 2069 ASSERT_TRUE(res1); in HWTEST_F()
|
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/ |
H A D | mapped_benchmark_test.cpp | 207 std::string res1; in BENCHMARK_F() local 208 LoadStringFromFile(filename, res1); in BENCHMARK_F() 209 AssertEqual(res1, "Complete.normal use.", "res1 did not equal \"Complete.normal use.\" as expected.", state); in BENCHMARK_F()
|
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_mapped_file_test.cpp | 344 std::string res1; in HWTEST_F() local 345 LoadStringFromFile(filename, res1); in HWTEST_F() 346 EXPECT_EQ(res1, "Complete.normal use."); // While no changes will be sync in the original file. in HWTEST_F()
|
/commonlibrary/ets_utils/js_api_module/uri/test/ |
H A D | test_napi.cpp | 879 bool res1 = true; in HWTEST_F() local 880 napi_get_value_bool(env, result1, &res1); in HWTEST_F() 881 ASSERT_FALSE(res1); in HWTEST_F()
|
/commonlibrary/ets_utils/js_util_module/util/test/ |
H A D | test_util.cpp | 2988 unsigned char* res1 = OHOS::Util::EncodeAchieves(env, stdEncodeInfo1); in HWTEST_F() local 2989 ASSERT_EQ(0x35, static_cast<unsigned char>(*res1)); in HWTEST_F()
|