mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2025-02-17 02:10:00 +00:00
Optimize test cases
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IATUY3 Signed-off-by: hlm2001 <huanglimin10@huawei.com>
This commit is contained in:
parent
7368abf1b9
commit
faa6a411bb
@ -318,7 +318,7 @@ HWTEST_F_L0(ObjectOperatorTest, Property_DeleteElement2)
|
||||
JSHandle<NumberDictionary> handleDict = NumberDictionary::Create(thread, 4);
|
||||
handleGlobalObject->SetElements(thread, handleDict.GetTaggedValue());
|
||||
handleGlobalObject->GetClass()->SetIsDictionaryElement(true);
|
||||
for (int i = 0; i < 10000; i++) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
JSHandle<JSTaggedValue> handleKey(thread, JSTaggedValue(i));
|
||||
JSHandle<JSTaggedValue> handleValue(thread, JSTaggedValue(i));
|
||||
JSObject::SetProperty(thread, globalObj, handleKey, handleValue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user