Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: pkg/front_end/lib/src/fasta/testing/suite.dart

Issue 2756593004: Start unraveling circularities between analyzer and front_end/kernel. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 library fasta.testing.suite; 5 library fasta.testing.suite;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'dart:convert' show JSON; 9 import 'dart:convert' show JSON;
10 10
11 import 'package:analyzer/src/generated/sdk.dart' show DartSdk; 11 import 'package:analyzer/src/generated/sdk.dart' show DartSdk;
12 12
13 import 'package:kernel/ast.dart' show Library, Program; 13 import 'package:kernel/ast.dart' show Library, Program;
14 14
15 import 'package:kernel/analyzer/loader.dart' show DartLoader; 15 import 'package:analyzer/src/kernel/loader.dart' show DartLoader;
16 16
17 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget; 17 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget;
18 18
19 import 'package:testing/testing.dart' 19 import 'package:testing/testing.dart'
20 show Chain, ExpectationSet, Result, Step, TestDescription; 20 show Chain, ExpectationSet, Result, Step, TestDescription;
21 21
22 import '../errors.dart' show InputError; 22 import '../errors.dart' show InputError;
23 23
24 import 'kernel_chain.dart' 24 import 'kernel_chain.dart'
25 show MatchExpectation, Print, Run, Verify, TestContext, WriteDill; 25 show MatchExpectation, Print, Run, Verify, TestContext, WriteDill;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 p = await sourceTarget.writeOutline(null); 186 p = await sourceTarget.writeOutline(null);
187 if (fullCompile) { 187 if (fullCompile) {
188 p = await sourceTarget.writeProgram(null); 188 p = await sourceTarget.writeProgram(null);
189 } 189 }
190 } on InputError catch (e, s) { 190 } on InputError catch (e, s) {
191 return fail(null, e.error, s); 191 return fail(null, e.error, s);
192 } 192 }
193 return pass(p); 193 return pass(p);
194 } 194 }
195 } 195 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/testing/kernel_chain.dart ('k') | pkg/front_end/lib/src/incremental_kernel_generator_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698