/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_bitvector_test.cpp | 43 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 47 TestHelper::DestroyEcmaVMWithScope(instance, scope); 63 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeBitVectorConstructor() 67 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeBitVectorConstructor() 69 TestHelper::TearDownFrame(thread, prev); in InitializeBitVectorConstructor() 76 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPIBitVector() 81 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIBitVector() 83 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIBitVector() 92 auto callInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in Push() 96 [[maybe_unused]] auto prev = TestHelper in Push() [all...] |
H A D | containers_treeset_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 123 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeTreeSetConstructor() 127 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeTreeSetConstructor() 129 TestHelper::TearDownFrame(thread, prev); in InitializeTreeSetConstructor() 138 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPITreeSet() 144 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPITreeSet() 146 TestHelper::TearDownFrame(thread, prev); in CreateJSAPITreeSet() 159 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 164 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_treemap_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 126 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeTreeMapConstructor() 130 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeTreeMapConstructor() 132 TestHelper::TearDownFrame(thread, prev); in InitializeTreeMapConstructor() 141 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPITreeMap() 147 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPITreeMap() 149 TestHelper::TearDownFrame(thread, prev); in CreateJSAPITreeMap() 162 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 168 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_list_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 87 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeListConstructor() 91 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeListConstructor() 93 TestHelper::TearDownFrame(thread, prev); in InitializeListConstructor() 102 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPIList() 108 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIList() 110 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIList() 117 auto callInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in ListAdd() 122 [[maybe_unused]] auto prev = TestHelper in ListAdd() [all...] |
H A D | containers_vector_test.cpp | 49 TestHelper::CreateEcmaVMWithScope(instance, thread, scope);
54 TestHelper::DestroyEcmaVMWithScope(instance, scope);
106 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6);
in InitializeVectorConstructor() 110 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo);
in InitializeVectorConstructor() 112 TestHelper::TearDownFrame(thread, prev);
in InitializeVectorConstructor() 121 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6);
in CreateJSAPIVector() 127 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo);
in CreateJSAPIVector() 129 TestHelper::TearDownFrame(thread, prev);
in CreateJSAPIVector() 142 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4);
in HWTEST_F_L0() 147 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_hashmap_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 89 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeHashMapConstructor() 93 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeHashMapConstructor() 95 TestHelper::TearDownFrame(thread, prev); in InitializeHashMapConstructor() 103 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in CreateJSAPIHashMap() 108 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIHashMap() 110 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIHashMap() 122 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 127 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_lightweightmap_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 83 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in InitializeLightWeightMapConstructor() 88 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeLightWeightMapConstructor() 90 TestHelper::TearDownFrame(thread, prev); in InitializeLightWeightMapConstructor() 99 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in CreateJSAPILightWeightMap() 104 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPILightWeightMap() 106 TestHelper::TearDownFrame(thread, prev); in CreateJSAPILightWeightMap() 117 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 122 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_hashset_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 69 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeHashSetConstructor() 73 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeHashSetConstructor() 75 TestHelper::TearDownFrame(thread, prev); in InitializeHashSetConstructor() 82 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in CreateJSAPIHashSet() 87 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIHashSet() 89 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIHashSet() 101 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 106 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_deque_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 88 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeDequeConstructor() 92 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeDequeConstructor() 94 TestHelper::TearDownFrame(thread, prev); in InitializeDequeConstructor() 103 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPIDeque() 109 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIDeque() 111 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIDeque() 122 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 127 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_linked_list_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 87 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeLinkedListConstructor() 91 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeLinkedListConstructor() 93 TestHelper::TearDownFrame(thread, prev); in InitializeLinkedListConstructor() 102 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPILinkedList() 108 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPILinkedList() 110 TestHelper::TearDownFrame(thread, prev); in CreateJSAPILinkedList() 117 auto callInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); in LinkedListInsert() 123 [[maybe_unused]] auto prev = TestHelper in LinkedListInsert() [all...] |
H A D | containers_lightweightset_test.cpp | 49 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 54 TestHelper::DestroyEcmaVMWithScope(instance, scope); 82 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in InitializeLightWeightSetConstructor() 87 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeLightWeightSetConstructor() 89 TestHelper::TearDownFrame(thread, prev); in InitializeLightWeightSetConstructor() 98 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the value in CreateJSAPILightWeightSet() 103 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPILightWeightSet() 105 TestHelper::TearDownFrame(thread, prev); in CreateJSAPILightWeightSet() 116 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the value in HWTEST_F_L0() 121 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_stack_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 88 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in InitializeStackConstructor() 92 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeStackConstructor() 94 TestHelper::TearDownFrame(thread, prev); in InitializeStackConstructor() 103 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in CreateJSAPIStack() 109 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIStack() 111 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIStack() 122 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 127 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | containers_plainarray_test.cpp | 47 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 52 TestHelper::DestroyEcmaVMWithScope(instance, scope); 87 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in InitializePlainArrayConstructor() 91 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializePlainArrayConstructor() 93 TestHelper::TearDownFrame(thread, prev); in InitializePlainArrayConstructor() 102 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the value in CreateJSAPIPlainArray() 107 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIPlainArray() 109 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIPlainArray() 117 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); // 4 means the value in PlainArrayAdd() 123 [[maybe_unused]] auto prev = TestHelper in PlainArrayAdd() [all...] |
H A D | containers_arraylist_test.cpp | 48 TestHelper::CreateEcmaVMWithScope(instance, thread, scope); 53 TestHelper::DestroyEcmaVMWithScope(instance, scope); 87 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in InitializeArrayListConstructor() 92 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in InitializeArrayListConstructor() 94 TestHelper::TearDownFrame(thread, prev); in InitializeArrayListConstructor() 103 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the value in CreateJSAPIArrayList() 108 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in CreateJSAPIArrayList() 110 TestHelper::TearDownFrame(thread, prev); in CreateJSAPIArrayList() 118 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 4 means the value in ArrayListAdd() 123 [[maybe_unused]] auto prev = TestHelper in ArrayListAdd() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_math_test.cpp | 37 TestHelper::CreateEcmaVMWithScope(instance_, thread_, scope_); in SetUpTestCase() 42 TestHelper::DestroyEcmaVMWithScope(instance_, scope_); in TearDownTestCase() 56 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 61 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread_, ecmaRuntimeCallInfo); in HWTEST_F_L0() 63 TestHelper::TearDownFrame(thread_, prev); in HWTEST_F_L0() 71 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 76 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread_, ecmaRuntimeCallInfo); in HWTEST_F_L0() 78 TestHelper::TearDownFrame(thread_, prev); in HWTEST_F_L0() 86 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread_, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 91 [[maybe_unused]] auto prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_global_test.cpp | 47 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 52 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 54 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 62 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 67 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 69 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 90 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 94 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 96 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 107 TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_date_test.cpp | 56 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in DateAlgorithm() 62 auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfos); in DateAlgorithm() 77 TestHelper::TearDownFrame(thread, prev); in DateAlgorithm() 87 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 6, jsDate.GetTaggedValue()); in HWTEST_F_L0() 89 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 92 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 101 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, vals, 6, jsDate.GetTaggedValue()); in HWTEST_F_L0() 103 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 106 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 115 auto ecmaRuntimeCallInfo = TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_sharedarraybuffer_test.cpp | 52 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, sharedArrayBuffer.GetTaggedValue(), 6); in HWTEST_F_L0() 57 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 67 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 71 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 81 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); in HWTEST_F_L0() 87 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 89 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 92 auto ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 95 prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo1); in HWTEST_F_L0() 97 TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_object_test.cpp | 76 auto objCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 80 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, objCallInfo); in HWTEST_F_L0() 82 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 95 auto tgObjCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*object), 4); in HWTEST_F_L0() 100 prev = TestHelper::SetupFrame(thread, tgObjCallInfo); in HWTEST_F_L0() 102 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 114 auto vnObjCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*objectVn), 6); in HWTEST_F_L0() 120 prev = TestHelper::SetupFrame(thread, vnObjCallInfo); in HWTEST_F_L0() 122 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 151 auto assignObjCallInfo = TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_typedarray_test.cpp | 221 auto ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 225 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo1); in HWTEST_F_L0() 241 auto ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 246 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo1); in HWTEST_F_L0() 248 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 252 auto ecmaRuntimeCallInfo2 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); in HWTEST_F_L0() 257 prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo2); in HWTEST_F_L0() 259 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 263 auto ecmaRuntimeCallInfo3 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); in HWTEST_F_L0() 269 prev = TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_shared_array_test.cpp | 199 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, array.GetTaggedValue(), 10); in HWTEST_F_L0() 206 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 208 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 272 auto ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, array.GetTaggedValue(), 6); in HWTEST_F_L0() 277 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo1); in HWTEST_F_L0() 279 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 295 auto ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 299 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo1); in HWTEST_F_L0() 301 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 323 auto ecmaRuntimeCallInfo1 = TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_arraybuffer_test.cpp | 40 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, arrayBuffer.GetTaggedValue(), 6); in HWTEST_F_L0() 45 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 48 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 56 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 60 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 63 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 71 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); in HWTEST_F_L0() 77 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 79 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 82 auto ecmaRuntimeCallInfo1 = TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_segmenter_test.cpp | 36 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*newTarget), 6); // 6 means 1 call args in JSSegmenterCreateWithLocaleTest() 41 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in JSSegmenterCreateWithLocaleTest() 44 TestHelper::TearDownFrame(thread, prev); in JSSegmenterCreateWithLocaleTest() 61 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue(*newTarget), 8); // 8 means 2 call args in JSSegmenterCreateWithLocaleAndOptionsTest() 67 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in JSSegmenterCreateWithLocaleAndOptionsTest() 70 TestHelper::TearDownFrame(thread, prev); in JSSegmenterCreateWithLocaleAndOptionsTest() 80 TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means 1 call args in JSSegmentsCreateTest() 85 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in JSSegmentsCreateTest() 88 TestHelper::TearDownFrame(thread, prev); in JSSegmentsCreateTest() 101 TestHelper in HWTEST_F_L0() [all...] |
H A D | builtins_sendable_arraybuffer_test.cpp | 38 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); in SendableArrayBufferSliceTest() 44 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in SendableArrayBufferSliceTest() 46 TestHelper::TearDownFrame(thread, prev); in SendableArrayBufferSliceTest() 49 auto ecmaRuntimeCallInfo1 = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in SendableArrayBufferSliceTest() 52 prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo1); in SendableArrayBufferSliceTest() 56 TestHelper::TearDownFrame(thread, prev); in SendableArrayBufferSliceTest() 65 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, arrayBuffer.GetTaggedValue(), 6); in HWTEST_F_L0() 70 [[maybe_unused]] auto prev = TestHelper::SetupFrame(thread, ecmaRuntimeCallInfo); in HWTEST_F_L0() 73 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 79 auto ecmaRuntimeCallInfo = TestHelper in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | error_helper_test.cpp | 43 EcmaRuntimeCallInfo* argv = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); in HWTEST_F_L0() 46 auto prev = TestHelper::SetupFrame(thread, argv); in HWTEST_F_L0() 48 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 51 prev = TestHelper::SetupFrame(thread, argv); in HWTEST_F_L0() 53 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 56 prev = TestHelper::SetupFrame(thread, argv); in HWTEST_F_L0() 58 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 61 prev = TestHelper::SetupFrame(thread, argv); in HWTEST_F_L0() 63 TestHelper::TearDownFrame(thread, prev); in HWTEST_F_L0() 98 EcmaRuntimeCallInfo* argv = TestHelper in HWTEST_F_L0() [all...] |