Home
last modified time | relevance | path

Searched refs:assertAsync (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/mjsunit/es6/debug-promises/
Devents.js67 function assertAsync(b, s) { function
78 assertAsync(result.length === 6, "result.length");
80 assertAsync(result[0].promise === p1, "result[0].promise");
81 assertAsync(result[0].parentPromise === undefined,
83 assertAsync(result[0].status === 1, "result[0].status");
84 assertAsync(result[0].value === undefined, "result[0].value");
86 assertAsync(result[1].parentPromise === p1,
88 assertAsync(result[1].status === 1, "result[1].status");
90 assertAsync(result[2].promise === p2, "result[2].promise");
92 assertAsync(result[3].promise === p3, "result[3].promise");
[all …]
/external/v8/test/mjsunit/es6/
Dpromises.js89 function assertAsync(b, s) { function
119 assertAsync(true, "all")
121 assertAsync(false, "all... " + asyncAssertsExpected)
146 function(r) { assertAsync(r === 5, "new-throw") }
154 function(x) { assertAsync(x === 5, "resolved/chain-nohandler") },
163 function(r) { assertAsync(r === 5, "rejected/chain-nohandler") }
170 function(x) { assertAsync(x === 5, "resolved/then-nohandler-undefined") },
175 function(x) { assertAsync(x === 6, "resolved/then-nohandler-null") },
184 function(r) { assertAsync(r === 5, "rejected/then-nohandler-undefined") }
189 function(r) { assertAsync(r === 6, "rejected/then-nohandler-null") }
[all …]
/external/v8/test/mjsunit/regress/
Dregress-3641.js40 assertAsync(true, "all")
42 assertAsync(false, "all... " + asyncAssertsExpected)