/arkcompiler/runtime_core/assembler/tests/ |
D | ecmascript_meta_test.cpp | 50 …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/ |
D | ecmascript_meta_test.cpp | 39 …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/ |
D | json_parser_test.cpp | 74 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/ |
D | builtins_weak_map_test.cpp | 212 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()
|
D | builtins_weak_set_test.cpp | 206 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()
|
D | builtins_date_test.cpp | 97 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 …]
|
D | builtins_set_test.cpp | 193 [[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()
|
D | builtins_promise_test.cpp | 339 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()
|
D | builtins_map_test.cpp | 271 JSTaggedValue result4 = BuiltinsMap::Has(ecmaRuntimeCallInfo1); in HWTEST_F_L0() local 273 EXPECT_EQ(result4.GetRawData(), JSTaggedValue::False().GetRawData()); in HWTEST_F_L0()
|
D | builtins_string_test.cpp | 1094 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/ |
D | indexingTypesWithNever.ts | 52 const result4 = genericFn2({ e: "etest", f: "ftest" }); 53 AssertType(result4, "never");
|
D | conditionalOperatorWithIdenticalBCT.ts | 97 let result4: (t: A) => any = true ? (m) => m.propertyX : (n) => n.propertyA; variable 98 AssertType(result4, "(A) => any");
|
/arkcompiler/toolchain/tooling/test/ |
D | pt_json_test.cpp | 233 std::string result4 = num.GetString(); in HWTEST_F_L0() local 234 ASSERT_EQ(result4, ""); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_lightweightset_test.cpp | 360 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()
|
D | js_object_test.cpp | 1277 JSTaggedValue result4 = ChangeListener::Cast(listeners2.GetTaggedObject())->Get(index4); in HWTEST_F_L0() local 1282 EXPECT_TRUE(result4 == obj4Class.GetTaggedValue()); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 831 OperationResult result4 = JSObject::GetProperty(thread, res, key4); in ObjectWithConcurrentFunctionTest() local 832 JSHandle<JSTaggedValue> value4 = result4.GetRawValue(); in ObjectWithConcurrentFunctionTest()
|