Lines Matching full:resolve
85 auto expect = factory->NewFromASCII("resolve"); in TestPromiseThenOnResolved()
102 RESOLVE, enumerator
121 case AlgorithmType::RESOLVE: in PromiseAlgorithm()
122 result = BuiltinsPromise::Resolve(ecmaRuntimeCallInfo); in PromiseAlgorithm()
210 * @tc.desc: The resolve method receives a number.
221 * @tc.steps: step1. var p1 = Promise.resolve(12345) in HWTEST_F_L0()
223 …auto result = PromiseAlgorithm(thread, promise, paramMsg.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()
231 * @tc.desc: The resolve method receives a promise object.
254 * @tc.steps: step2. var p2 = Promise.resolve(p1) in HWTEST_F_L0()
256 …uto result1 = PromiseAlgorithm(thread, promise, promise1.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()
284 * @tc.steps: step2. var p2 = Promise.resolve(6789) in HWTEST_F_L0()
287 …to result2 = PromiseAlgorithm(thread, promise, paramMsg2.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()
334 * @tc.steps: step2. var p2 = Promise.resolve(6789) in HWTEST_F_L0()
336 …to result2 = PromiseAlgorithm(thread, promise, paramMsg2.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()
360 * @tc.steps: step5. p3.then((resolve)=>{print(resolve)}, (reject)=>{print(reject)}) in HWTEST_F_L0()
396 * @tc.steps: step1. var p1 = Promise.resolve(111) in HWTEST_F_L0()
398 …to result1 = PromiseAlgorithm(thread, promise, paramMsg1.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()
404 * @tc.steps: step2. var p2 = Promise.resolve(222) in HWTEST_F_L0()
406 …to result2 = PromiseAlgorithm(thread, promise, paramMsg2.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()
430 * @tc.steps: step5. p3.then((resolve)=>{print(resolve)}, (reject)=>{print(reject)}); in HWTEST_F_L0()
499 * @tc.desc: Testing the Then() function with the Resolve() function
508 …JSHandle<JSTaggedValue> paramMsg = JSHandle<JSTaggedValue>::Cast(factory->NewFromASCII("resolve")); in HWTEST_F_L0()
511 * @tc.steps: step1. var p1 = Promise.resolve("resolve") in HWTEST_F_L0()
513 …auto result = PromiseAlgorithm(thread, promise, paramMsg.GetTaggedValue(), AlgorithmType::RESOLVE); in HWTEST_F_L0()