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

Side by Side Diff: tests/compiler/dart2js/type_checker_test.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "package:expect/expect.dart";
6 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t'; 5 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar t';
7 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'; 6 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart';
8 import '../../../sdk/lib/_internal/compiler/implementation/util/util.dart'; 7 import '../../../sdk/lib/_internal/compiler/implementation/util/util.dart';
9 import 'mock_compiler.dart'; 8 import 'mock_compiler.dart';
10 import 'parser_helper.dart'; 9 import 'parser_helper.dart';
11 10
12 import '../../../sdk/lib/_internal/compiler/implementation/elements/modelx.dart' 11 import '../../../sdk/lib/_internal/compiler/implementation/elements/modelx.dart'
13 show ElementX; 12 show ElementX;
14 13
15 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' 14 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart'
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 Node node = listener.popNode(); 753 Node node = listener.popNode();
755 classElement.ensureResolved(compiler); 754 classElement.ensureResolved(compiler);
756 TreeElements elements = compiler.resolveNodeStatement(node, classElement); 755 TreeElements elements = compiler.resolveNodeStatement(node, classElement);
757 TypeCheckerVisitor checker = new TypeCheckerVisitor(compiler, elements, 756 TypeCheckerVisitor checker = new TypeCheckerVisitor(compiler, elements,
758 types); 757 types);
759 compiler.clearWarnings(); 758 compiler.clearWarnings();
760 checker.currentClass = classElement; 759 checker.currentClass = classElement;
761 checker.analyze(node); 760 checker.analyze(node);
762 compareWarningKinds(text, expectedWarnings, compiler.warnings); 761 compareWarningKinds(text, expectedWarnings, compiler.warnings);
763 } 762 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/tree_shaking_test.dart ('k') | tests/compiler/dart2js/type_combination_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698