Home
last modified time | relevance | path

Searched refs:result3 (Results 1 – 22 of 22) sorted by relevance

/arkcompiler/runtime_core/assembler/tests/
Decmascript_meta_test.cpp47 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.extends", "val… variable
48 EXPECT_FALSE(result3.has_value());
122 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.annotation", "… variable
123 EXPECT_TRUE(result3.has_value());
124 EXPECT_EQ(result3->GetMessage(), "Unknown attribute 'ecmascript.annotation'");
125 EXPECT_EQ(result3->GetType(), pandasm::Metadata::Error::Type::UNKNOWN_ATTRIBUTE);
/arkcompiler/ets_runtime/test/moduletest/bindfunction/
Dbindfunction.js63 const result3 = addThirtySeven(5, 10); // 37 + 5 = 42, (the second argument is ignored) constant
64 print(result3);
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_iterator_test.cpp100 JSHandle<JSTaggedValue> result3(JSIterator::IteratorNext(thread, iter)); in HWTEST_F_L0() local
101 EXPECT_EQ(true, JSIterator::IteratorComplete(thread, result3)); in HWTEST_F_L0()
131 JSHandle<JSTaggedValue> result3(JSIterator::IteratorStep(thread, iter)); in HWTEST_F_L0() local
132 EXPECT_EQ(result3.GetTaggedValue(), JSTaggedValue::False()); in HWTEST_F_L0()
Djs_bigint_test.cpp116 bool result3 = BigInt::SameValueZero(maxSafeInt.GetTaggedValue(), minSafeInt.GetTaggedValue()); in HWTEST_F_L0() local
119 EXPECT_TRUE(!result3); in HWTEST_F_L0()
122 result3 = BigInt::SameValueZero(maxSafeInt.GetTaggedValue(), minusMinSafeInt.GetTaggedValue()); in HWTEST_F_L0()
125 EXPECT_TRUE(result3); in HWTEST_F_L0()
128 result3 = BigInt::SameValueZero(minSafeInt.GetTaggedValue(), minusMaxSafeInt.GetTaggedValue()); in HWTEST_F_L0()
131 EXPECT_TRUE(result3); in HWTEST_F_L0()
141 result3 = BigInt::SameValueZero(unsafeInt2.GetTaggedValue(), minusUnsafeInt1.GetTaggedValue()); in HWTEST_F_L0()
144 EXPECT_TRUE(result3); in HWTEST_F_L0()
Djs_api_vector_test.cpp427 … JSTaggedValue result3 = JSAPIVector::RemoveByRange(thread, toor, elementsNums, elementsNums * 2); in HWTEST_F_L0() local
428 EXPECT_EQ(result3, JSTaggedValue::Exception()); in HWTEST_F_L0()
Djs_api_lightweightset_test.cpp358 JSTaggedValue result3 = lws->GetHashAt(-1); in HWTEST_F_L0() local
359 EXPECT_EQ(result3, JSTaggedValue::Undefined()); in HWTEST_F_L0()
Djs_object_test.cpp1276 JSTaggedValue result3 = ChangeListener::Cast(listeners1.GetTaggedObject())->Get(index3); in HWTEST_F_L0() local
1281 EXPECT_TRUE(result3 == obj3Class.GetTaggedValue()); in HWTEST_F_L0()
Djs_serializer_test.cpp827 OperationResult result3 = JSObject::GetProperty(thread, res, key3); in ObjectWithConcurrentFunctionTest() local
828 JSHandle<JSTaggedValue> value3 = result3.GetRawValue(); in ObjectWithConcurrentFunctionTest()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_weak_map_test.cpp161 JSTaggedValue result3 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
164 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
207 JSTaggedValue result3 = BuiltinsWeakMap::Delete(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
209 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
260 JSTaggedValue result3 = BuiltinsWeakMap::Delete(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
261 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
Dbuiltins_weak_set_test.cpp156 JSTaggedValue result3 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
159 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
201 JSTaggedValue result3 = BuiltinsWeakSet::Delete(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
203 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
253 JSTaggedValue result3 = BuiltinsWeakSet::Delete(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
254 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
Dbuiltins_date_test.cpp96 [[maybe_unused]] JSTaggedValue result3 = BuiltinsDate::SetUTCDate(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
111 [[maybe_unused]] JSTaggedValue result3 = BuiltinsDate::SetUTCDate(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
140 JSTaggedValue result3 = BuiltinsDate::GetDate(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
142 ASSERT_EQ(result3.GetRawData(), JSTaggedValue(static_cast<double>(6)).GetRawData()); in HWTEST_F_L0()
192 JSTaggedValue result3 = BuiltinsDate::GetDate(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
193 ASSERT_EQ(result3.GetRawData(), JSTaggedValue(static_cast<double>(22)).GetRawData()); in HWTEST_F_L0()
239 JSTaggedValue result3 = BuiltinsDate::GetSeconds(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
240 ASSERT_EQ(result3.GetRawData(), JSTaggedValue(static_cast<double>(6)).GetRawData()); in HWTEST_F_L0()
293 JSTaggedValue result3 = BuiltinsDate::GetSeconds(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
294 ASSERT_EQ(result3.GetRawData(), JSTaggedValue(static_cast<double>(53)).GetRawData()); in HWTEST_F_L0()
[all …]
Dbuiltins_set_test.cpp168 JSTaggedValue result3 = BuiltinsSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
171 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
281 JSTaggedValue result3 = BuiltinsSet::Delete(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
283 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
Dbuiltins_map_test.cpp177 JSTaggedValue result3 = BuiltinsMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
179 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
265 JSTaggedValue result3 = BuiltinsMap::Delete(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
267 EXPECT_EQ(result3.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
Dbuiltins_sharedarraybuffer_test.cpp152 JSTaggedValue result3 = BuiltinsSharedArrayBuffer::Slice(ecmaRuntimeCallInfo2); in HWTEST_F_L0() local
155 EXPECT_EQ(result3, JSTaggedValue::Exception()); in HWTEST_F_L0()
Dbuiltins_string_test.cpp1076 JSTaggedValue result3 = BuiltinsString::Replace(ecmaRuntimeCallInfo3); in HWTEST_F_L0() local
1079 JSHandle<EcmaString> resultString3(thread, result3); in HWTEST_F_L0()
1080 ASSERT_TRUE(result3.IsString()); in HWTEST_F_L0()
1152 JSTaggedValue result3 = BuiltinsString::Replace(ecmaRuntimeCallInfo3); in HWTEST_F_L0() local
1155 JSHandle<EcmaString> resultString3(thread, result3); in HWTEST_F_L0()
1156 ASSERT_TRUE(result3.IsString()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp69 JSHandle<JSTaggedValue> result3 = parser.ParseUtf8(*handleStr3); in HWTEST_F_L0() local
70 EXPECT_EQ(result3.GetTaggedValue(), JSTaggedValue::True()); in HWTEST_F_L0()
102 JSHandle<JSTaggedValue> result3 = parser.ParseUtf16(*handleStr3); in HWTEST_F_L0() local
103 EXPECT_EQ(result3.GetTaggedValue(), JSTaggedValue::True()); in HWTEST_F_L0()
/arkcompiler/runtime_core/plugins/ecmascript/tests/
Decmascript_meta_test.cpp36 …std::optional<pandasm::Metadata::Error> result3 = rmd.SetAttributeValue("ecmascript.extends", "val… variable
37 ASSERT_FALSE(result3.has_value());
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DindexingTypesWithNever.ts37 const result3 = genericFn1({ c: "ctest", d: "dtest" });
38 AssertType(result3, "never");
DconditionalOperatorWithIdenticalBCT.ts76 let result3 = true ? { a: 1 } : { a: 2, b: 'string' }; variable
77 AssertType(result3, "union");
/arkcompiler/toolchain/tooling/test/
Dpt_json_test.cpp231 double result3 = str.GetDouble(0.1); // 0.1:num in HWTEST_F_L0() local
232 ASSERT_EQ(result3, 0.1); // 0.1:num in HWTEST_F_L0()
Dpt_types_test.cpp459 … std::unique_ptr<PrivatePropertyDescriptor> result3 = PrivatePropertyDescriptor::Create(*ptJson3); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_hashmap_test.cpp393 JSMutableHandle<JSTaggedValue> result3(thread, JSTaggedValue::Undefined()); in HWTEST_F_L0() local
401 result3.Update(JSAPIHashMapIterator::Next(callInfo)); in HWTEST_F_L0()
403 entries.Update(JSIterator::IteratorValue(thread, result3).GetTaggedValue()); in HWTEST_F_L0()