Home
last modified time | relevance | path

Searched refs:assertIteratorResult (Results 1 – 8 of 8) sorted by relevance

/external/v8/test/mjsunit/es6/
Dgenerators-iteration.js34 function assertIteratorResult(value, done, result) { function
39 assertIteratorResult(undefined, true, iter.next());
59 assertIteratorResult(1, false, result);
71 assertIteratorResult(v1, v2, iter.next());
78 assertIteratorResult(expected_values_for_send[i],
88 assertIteratorResult(expected_values_for_next[j],
367 assertIteratorResult(1, false, iter.next());
368 assertIteratorResult(2, false, iter.next());
369 assertIteratorResult(3, false, iter.next());
370 assertIteratorResult(undefined, true, iter.next());
[all …]
Darray-iterator.js54 function assertIteratorResult(value, done, result) { function
62 assertIteratorResult('a', false, iterator.next());
63 assertIteratorResult('b', false, iterator.next());
64 assertIteratorResult('c', false, iterator.next());
65 assertIteratorResult(void 0, true, iterator.next());
68 assertIteratorResult(void 0, true, iterator.next());
76 assertIteratorResult('a', false, iterator.next());
77 assertIteratorResult('b', false, iterator.next());
78 assertIteratorResult('c', false, iterator.next());
80 assertIteratorResult('d', false, iterator.next());
[all …]
Darguments-iterator.js34 function assertIteratorResult(value, done, result) { function
41 assertIteratorResult(a, false, iterator.next());
42 assertIteratorResult(b, false, iterator.next());
43 assertIteratorResult(c, false, iterator.next());
44 assertIteratorResult(undefined, true, iterator.next());
52 assertIteratorResult(a, false, iterator.next());
53 assertIteratorResult(b, false, iterator.next());
54 assertIteratorResult(c, false, iterator.next());
55 assertIteratorResult(undefined, true, iterator.next());
62 assertIteratorResult(a, false, iterator.next());
[all …]
Dstring-iterator.js14 function assertIteratorResult(value, done, result) { function
22 assertIteratorResult('a', false, iterator.next());
23 assertIteratorResult('b', false, iterator.next());
24 assertIteratorResult('c', false, iterator.next());
25 assertIteratorResult(void 0, true, iterator.next());
26 assertIteratorResult(void 0, true, iterator.next());
37 assertIteratorResult('a', false, iterator.next());
38 assertIteratorResult('b', false, iterator.next());
39 assertIteratorResult('c', false, iterator.next());
40 assertIteratorResult(pair, false, iterator.next());
[all …]
Dgenerators-debug-liveedit.js14 function assertIteratorResult(value, done, result) { function
41 assertIteratorResult(undefined, false, iter.next());
42 assertIteratorResult("Cat", true, iter.next());
73 assertIteratorResult(undefined, false, iter.next());
76 assertIteratorResult("Cat", true, iter.next());
82 assertIteratorResult(undefined, false, iter.next());
84 assertIteratorResult("Capybara", true, iter.next());
88 assertIteratorResult(undefined, false, iter.next());
91 assertIteratorResult("Capybara", true, iter.next());
116 assertIteratorResult('Koala', false, iter.next());
Dgenerators-relocation.js9 function assertIteratorResult(value, done, result) { function
26 assertIteratorResult(value1, false, obj.next());
36 assertIteratorResult(value2, false, obj.next());
43 assertIteratorResult(undefined, true, obj.next());
Dgenerators-poisoned-properties.js5 function assertIteratorResult(value, done, result) { function
39 assertIteratorResult(undefined, true, sloppy().next());
40 assertIteratorResult(undefined, true, strict().next());
/external/v8/test/mjsunit/harmony/
Dobject-literals-method.js133 function assertIteratorResult(value, done, result) { function
145 assertIteratorResult(1, false, g.next());
146 assertIteratorResult(undefined, true, g.next());
157 assertIteratorResult(object, false, g.next());
158 assertIteratorResult(undefined, true, g.next());
185 assertIteratorResult(1, false, g.next());
186 assertIteratorResult(undefined, true, g.next());
208 assertIteratorResult(1, false, g.next());
209 assertIteratorResult(undefined, true, g.next());
238 assertIteratorResult(undefined, true, g.next());