Home
last modified time | relevance | path

Searched refs:result4 (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/runtime_core/assembler/tests/
Decmascript_meta_test.cpp50 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "… variable
51 EXPECT_TRUE(result4.has_value());
52 EXPECT_EQ(result4->GetMessage(), "Attribute 'ecmascript.annotation' must not have a value");
53 EXPECT_EQ(result4->GetType(), pandasm::Metadata::Error::Type::UNEXPECTED_VALUE);
127 std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("attribute", "bool"); variable
128 EXPECT_TRUE(result4.has_value());
129 EXPECT_EQ(result4->GetMessage(), "Unknown attribute 'attribute'");
/arkcompiler/runtime_core/plugins/ecmascript/tests/
Decmascript_meta_test.cpp39 …std::optional<pandasm::Metadata::Error> result4 = rmd.SetAttributeValue("ecmascript.annotation", "… variable
40 ASSERT_TRUE(result4.has_value());
41 ASSERT_EQ(result4->GetMessage(), "Attribute 'ecmascript.annotation' must not have a value");
42 ASSERT_EQ(result4->GetType(), pandasm::Metadata::Error::Type::UNEXPECTED_VALUE);
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp74 JSHandle<JSTaggedValue> result4 = parser.ParseUtf8(*handleStr4); in HWTEST_F_L0() local
75 EXPECT_EQ(result4.GetTaggedValue(), JSTaggedValue::Exception()); in HWTEST_F_L0()
109 JSHandle<JSTaggedValue> result4 = parser.ParseUtf16(*handleStr4); in HWTEST_F_L0() local
110 JSHandle<EcmaString> handleEcmaStr(result4); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_weak_map_test.cpp212 JSTaggedValue result4 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
214 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
264 JSTaggedValue result4 = BuiltinsWeakMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
265 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
Dbuiltins_weak_set_test.cpp206 JSTaggedValue result4 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
208 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
257 JSTaggedValue result4 = BuiltinsWeakSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
258 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
Dbuiltins_date_test.cpp97 JSTaggedValue result4 = BuiltinsDate::GetUTCDate(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
98 ASSERT_EQ(result4.GetRawData(), JSTaggedValue(static_cast<double>(2)).GetRawData()); in HWTEST_F_L0()
112 JSTaggedValue result4 = BuiltinsDate::GetUTCDate(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
113 ASSERT_EQ(result4.GetRawData(), JSTaggedValue(static_cast<double>(29)).GetRawData()); in HWTEST_F_L0()
161 JSTaggedValue result4 = BuiltinsDate::GetUTCFullYear(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
163 ASSERT_EQ(result4.GetRawData(), JSTaggedValue(static_cast<double>(2018)).GetRawData()); in HWTEST_F_L0()
209 JSTaggedValue result4 = BuiltinsDate::GetUTCFullYear(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
210 ASSERT_EQ(result4.GetRawData(), JSTaggedValue(static_cast<double>(-2019)).GetRawData()); in HWTEST_F_L0()
242 JSTaggedValue result4 = BuiltinsDate::GetMilliseconds(ecmaRuntimeCallInfo); in HWTEST_F_L0() local
243 ASSERT_EQ(result4.GetRawData(), JSTaggedValue(static_cast<double>(111)).GetRawData()); in HWTEST_F_L0()
[all …]
Dbuiltins_set_test.cpp193 [[maybe_unused]] JSTaggedValue result4 = BuiltinsSet::Has(ecmaRuntimeCallInfo3); in HWTEST_F_L0() local
196 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::True().GetRawData()); in HWTEST_F_L0()
286 JSTaggedValue result4 = BuiltinsSet::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
288 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
Dbuiltins_promise_test.cpp339 JSTaggedValue result4 = BuiltinsPromise::Race(ecmaRuntimeCallInfo4); in HWTEST_F_L0() local
340 JSHandle<JSPromise> racePromise(thread, result4); in HWTEST_F_L0()
410 JSTaggedValue result4 = BuiltinsPromise::Race(ecmaRuntimeCallInfo4); in HWTEST_F_L0() local
411 JSHandle<JSPromise> racePromise(thread, result4); in HWTEST_F_L0()
508 JSTaggedValue result4 = BuiltinsPromise::All(ecmaRuntimeCallInfo4); in HWTEST_F_L0() local
509 JSHandle<JSPromise> allPromise(thread, result4); in HWTEST_F_L0()
Dbuiltins_map_test.cpp271 JSTaggedValue result4 = BuiltinsMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local
273 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
Dbuiltins_string_test.cpp1094 JSTaggedValue result4 = BuiltinsString::Replace(ecmaRuntimeCallInfo4); in HWTEST_F_L0() local
1097 JSHandle<EcmaString> resultString4(thread, result4); in HWTEST_F_L0()
1098 ASSERT_TRUE(result4.IsString()); in HWTEST_F_L0()
1170 JSTaggedValue result4 = BuiltinsString::Replace(ecmaRuntimeCallInfo4); in HWTEST_F_L0() local
1173 ASSERT_TRUE(result4.IsString()); in HWTEST_F_L0()
1174 JSHandle<EcmaString> resultString4(thread, result4); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DindexingTypesWithNever.ts52 const result4 = genericFn2({ e: "etest", f: "ftest" });
53 AssertType(result4, "never");
DconditionalOperatorWithIdenticalBCT.ts97 let result4: (t: A) => any = true ? (m) => m.propertyX : (n) => n.propertyA; variable
98 AssertType(result4, "(A) => any");
/arkcompiler/toolchain/tooling/test/
Dpt_json_test.cpp233 std::string result4 = num.GetString(); in HWTEST_F_L0() local
234 ASSERT_EQ(result4, ""); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_lightweightset_test.cpp360 JSTaggedValue result4 = lws->GetHashAt(static_cast<int32_t>(NODE_NUMBERS * 2)); in HWTEST_F_L0() local
361 EXPECT_EQ(result4, JSTaggedValue::Undefined()); in HWTEST_F_L0()
Djs_object_test.cpp1277 JSTaggedValue result4 = ChangeListener::Cast(listeners2.GetTaggedObject())->Get(index4); in HWTEST_F_L0() local
1282 EXPECT_TRUE(result4 == obj4Class.GetTaggedValue()); in HWTEST_F_L0()
Djs_serializer_test.cpp831 OperationResult result4 = JSObject::GetProperty(thread, res, key4); in ObjectWithConcurrentFunctionTest() local
832 JSHandle<JSTaggedValue> value4 = result4.GetRawValue(); in ObjectWithConcurrentFunctionTest()