Home
last modified time | relevance | path

Searched refs:typeValue (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_list_format_first_test.cpp70 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("conjunction")); // the default value in HWTEST_F_L0()
72 JSHandle<JSListFormat>(thread, BuiltTestUtil::JSListFormatCreateWithOptionTest(thread, locale, typeValue)); in HWTEST_F_L0()
90 JSHandle<EcmaString> CommonTest(JSThread* thread, JSHandle<JSTaggedValue>& locale, JSHandle<JSTaggedValue>& typeValue, in CommonTest() argument
95 JSHandle<JSListFormat>(thread, BuiltTestUtil::JSListFormatCreateWithOptionTest(thread, locale, typeValue)); in CommonTest()
117 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("conjunction")); // the default value in HWTEST_F_L0()
119 JSHandle<EcmaString> handleEcmaStr = CommonTest(thread, locale, typeValue, listVal); in HWTEST_F_L0()
128 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("disjunction")); // the default value in HWTEST_F_L0()
130 JSHandle<EcmaString> handleEcmaStr = CommonTest(thread, locale, typeValue, listVal); in HWTEST_F_L0()
139 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("disjunction")); // the default value in HWTEST_F_L0()
142 JSHandle<EcmaString> handleEcmaStr = CommonTest(thread, locale, typeValue, listVa in HWTEST_F_L0()
[all...]
H A Dbuiltins_list_format_second_test.cpp31 JSTaggedValue CommonTest(JSThread* thread, JSHandle<JSTaggedValue>& locale, JSHandle<JSTaggedValue>& typeValue, in CommonTest() argument
36 JSHandle<JSListFormat>(thread, BuiltTestUtil::JSListFormatCreateWithOptionTest(thread, locale, typeValue)); in CommonTest()
63 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("conjunction")); in HWTEST_F_L0()
65 JSHandle<JSListFormat>(thread, BuiltTestUtil::JSListFormatCreateWithOptionTest(thread, locale, typeValue)); in HWTEST_F_L0()
85 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("conjunction")); // the default value in HWTEST_F_L0()
88 JSTaggedValue result = CommonTest(thread, locale, typeValue, vals); in HWTEST_F_L0()
100 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("conjunction")); // the default value in HWTEST_F_L0()
103 JSTaggedValue result = CommonTest(thread, locale, typeValue, vals); in HWTEST_F_L0()
117 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("conjunction")); in HWTEST_F_L0()
120 JSTaggedValue result = CommonTest(thread, locale, typeValue, val in HWTEST_F_L0()
[all...]
H A Dbuiltins_displaynames_test.cpp29 JSHandle<JSTaggedValue> &typeValue) in JSDisplayNamesCreateWithOptionTest()
38 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in JSDisplayNamesCreateWithOptionTest()
65 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("language")); in HWTEST_F_L0()
70 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in HWTEST_F_L0()
88 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("language")); in HWTEST_F_L0()
90 JSHandle<JSDisplayNames>(thread, JSDisplayNamesCreateWithOptionTest(thread, locale, typeValue)); in HWTEST_F_L0()
112 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("region")); in HWTEST_F_L0()
114 JSHandle<JSDisplayNames>(thread, JSDisplayNamesCreateWithOptionTest(thread, locale, typeValue)); in HWTEST_F_L0()
136 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("currency")); in HWTEST_F_L0()
138 JSHandle<JSDisplayNames>(thread, JSDisplayNamesCreateWithOptionTest(thread, locale, typeValue)); in HWTEST_F_L0()
28 JSDisplayNamesCreateWithOptionTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, JSHandle<JSTaggedValue> &typeValue) JSDisplayNamesCreateWithOptionTest() argument
[all...]
H A Dbuiltins_plural_rules_test.cpp52 JSHandle<JSTaggedValue> &typeValue) in JSPluralRulesCreateWithLocaleTest()
61 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in JSPluralRulesCreateWithLocaleTest()
79 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII(data)); in SelectTest()
81 JSHandle<JSPluralRules>(thread, JSPluralRulesCreateWithLocaleTest(thread, locale, typeValue)); in SelectTest()
169 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("ordinal")); in HWTEST_F_L0()
171 JSHandle<JSPluralRules>(thread, JSPluralRulesCreateWithLocaleTest(thread, locale, typeValue)); in HWTEST_F_L0()
190 JSObject::GetProperty(thread, resultObj, typeKey).GetValue(), typeValue), true); in HWTEST_F_L0()
51 JSPluralRulesCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, JSHandle<JSTaggedValue> &typeValue) JSPluralRulesCreateWithLocaleTest() argument
H A Dbuiltin_test_util.h207 JSHandle<JSTaggedValue> &typeValue) in JSListFormatCreateWithOptionTest()
216 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in JSListFormatCreateWithOptionTest()
206 JSListFormatCreateWithOptionTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, JSHandle<JSTaggedValue> &typeValue) JSListFormatCreateWithOptionTest() argument
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_displaynames_test.cpp88 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII(displayOptions["type"].c_str())); in SetOptionProperties()
91 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in SetOptionProperties()
214 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII(displayOptionsProperty["type"].c_str())); in HWTEST_F_L0()
228 JSObject::GetProperty(thread, displayOptions, typeKey).GetValue(), typeValue), true); in HWTEST_F_L0()
H A Djs_plural_rules_test.cpp113 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII("ordinal")); in HWTEST_F_L0()
121 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in HWTEST_F_L0()
H A Djs_list_format_test.cpp106 JSHandle<JSTaggedValue> typeValue(factory->NewFromASCII(options["type"].c_str())); in SetFormatterOptionsTest()
109 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue); in SetFormatterOptionsTest()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_plural_rules.cpp318 JSHandle<JSTaggedValue> typeValue; in ResolvedOptions() local
320 typeValue = globalConst->GetHandledCardinalString(); in ResolvedOptions()
322 typeValue = globalConst->GetHandledOrdinalString(); in ResolvedOptions()
324 PropertyDescriptor typeDesc(thread, typeValue, true, true, true); in ResolvedOptions()
/arkcompiler/runtime_core/static_core/assembler/tests/
H A Demitter_test.cpp586 uint32_t typeValue; in TEST()
588 typeValue = pandaStringId.GetOffset(); in TEST()
590 typeValue = type.GetFieldEncoding(); in TEST()
593 ASSERT_EQ(fda.GetType(), typeValue); in TEST()

Completed in 7 milliseconds