Home
last modified time | relevance | path

Searched refs:handleEcmaStr1 (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/tests/
Dnumber_helper_test.cpp88 JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToString(thread, 37, radix)); in HWTEST_F_L0() local
89 EXPECT_EQ(EcmaStringAccessor::Compare(instance, handleEcmaStr1, resultStr), 0); in HWTEST_F_L0()
135 … JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToString(thread, 2.99099, radix)); in HWTEST_F_L0() local
136 EXPECT_EQ(EcmaStringAccessor::Compare(instance, handleEcmaStr1, resultStr), 0); in HWTEST_F_L0()
321 …JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToExponential(thread, 123.9876, ra… in HWTEST_F_L0() local
322 EXPECT_EQ(EcmaStringAccessor::Compare(instance, handleEcmaStr1, resultStr), 0); in HWTEST_F_L0()
357 … JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToFixed(thread, 123.456, radix)); in HWTEST_F_L0() local
358 EXPECT_EQ(EcmaStringAccessor::Compare(instance, handleEcmaStr1, resultStr), 0); in HWTEST_F_L0()
397 … JSHandle<EcmaString> handleEcmaStr1(thread, NumberHelper::DoubleToPrecision(thread, 0.0, radix)); in HWTEST_F_L0() local
398 EXPECT_EQ(EcmaStringAccessor::Compare(instance, handleEcmaStr1, resultStr), 0); in HWTEST_F_L0()
Dbuiltins_base_test.cpp130 JSHandle<EcmaString> handleEcmaStr1(thread, resultStr1); in HWTEST_F_L0() local
131 EXPECT_STREQ(EcmaStringAccessor(handleEcmaStr1).ToCString().c_str(), "BuiltinsBase"); in HWTEST_F_L0()
Djson_stringifier_test.cpp115 JSHandle<EcmaString> handleEcmaStr1(resultString1); in HWTEST_F_L0() local
116 EXPECT_STREQ("false", EcmaStringAccessor(handleEcmaStr1).ToCString().c_str()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Dconstant_string_test.cpp308 JSHandle<EcmaString> handleEcmaStr1(thread, in HWTEST_F_L0() local
311 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
312 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr1, handleEcmaStr, posStart), -1); in HWTEST_F_L0()
314 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
316 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
318 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
320 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), -1); in HWTEST_F_L0()
Decma_string_test.cpp984 JSHandle<EcmaString> handleEcmaStr1(thread, in HWTEST_F_L0() local
987 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
988 EXPECT_EQ(handleEcmaStr1->IndexOf(*handleEcmaStr, posStart), -1); in HWTEST_F_L0()
990 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
992 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
994 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
996 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), -1); in HWTEST_F_L0()
1015 JSHandle<EcmaString> handleEcmaStr1(thread, in HWTEST_F_L0() local
1018 EXPECT_EQ(handleEcmaStr1->IndexOf(*handleEcmaStr, posStart), 6); in HWTEST_F_L0()
1019 EXPECT_EQ(handleEcmaStr->IndexOf(*handleEcmaStr1, posStart), -1); in HWTEST_F_L0()
[all …]
Decma_string_accessor_test.cpp908 JSHandle<EcmaString> handleEcmaStr1(thread, in HWTEST_F_L0() local
911 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
912 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr1, handleEcmaStr, posStart), -1); in HWTEST_F_L0()
914 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
916 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
918 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), 2); in HWTEST_F_L0()
920 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), -1); in HWTEST_F_L0()
939 JSHandle<EcmaString> handleEcmaStr1(thread, EcmaStringAccessor::CreateFromUtf16( in HWTEST_F_L0() local
942 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr1, handleEcmaStr, posStart), 6); in HWTEST_F_L0()
943 EXPECT_EQ(EcmaStringAccessor::IndexOf(ecmaVMPtr, handleEcmaStr, handleEcmaStr1, posStart), -1); in HWTEST_F_L0()
[all …]