Lines Matching refs:TestGenerator
60 function TestGenerator(g, expected_values_for_next,
110 TestGenerator(function* g1() { },
115 TestGenerator(function* g2() { yield 1; },
120 TestGenerator(function* g3() { yield 1; yield 2; },
125 TestGenerator(function* g4() { yield 1; yield 2; return 3; },
130 TestGenerator(function* g5() { return 1; },
135 TestGenerator(function* g6() { var x = yield 1; return x; },
140 TestGenerator(function* g7() { var x = yield 1; yield 2; return x; },
145 TestGenerator(function* g8() { for (var x = 0; x < 4; x++) { yield x; } },
151 TestGenerator(
162 TestGenerator(
173 TestGenerator(
184 TestGenerator(
199 TestGenerator(
212 TestGenerator(
229 TestGenerator(
245 TestGenerator(function* g16() { yield "baz"; gc(); yield "qux"; },
251 TestGenerator(
261 TestGenerator(
272 TestGenerator(
278 TestGenerator(
284 TestGenerator(
290 TestGenerator(
299 TestGenerator(
312 TestGenerator(
326 TestGenerator(
333 TestGenerator(
343 // TODO(wingo): We should use TestGenerator for these, except that
370 TestGenerator(GeneratorFunction(),
375 TestGenerator(new GeneratorFunction(),
380 TestGenerator(GeneratorFunction('yield 1;'),
385 TestGenerator(
392 TestGenerator(