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

Unified Diff: tests/compiler/dart2js/exit_code_test.dart

Issue 339563002: Remove scanBuiltinLibraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/exit_code_test.dart
diff --git a/tests/compiler/dart2js/exit_code_test.dart b/tests/compiler/dart2js/exit_code_test.dart
index 074e33d2dd6f07a76ec8ee49462f80a3899111c9..1ca8e872cba4e5b0c08d60074fbda6deb6ca0845 100644
--- a/tests/compiler/dart2js/exit_code_test.dart
+++ b/tests/compiler/dart2js/exit_code_test.dart
@@ -48,14 +48,14 @@ class TestCompiler extends apiimpl.Compiler {
return super.run(uri);
}
- Future scanBuiltinLibraries() {
- test('Compiler.scanBuiltinLibraries');
- return super.scanBuiltinLibraries();
+ void onLibraryScanned(LibraryElement element) {
+ test('Compiler.onLibraryScanned');
+ super.onLibraryScanned(element);
}
- void initializeSpecialClasses() {
- test('Compiler.initializeSpecialClasses');
- super.initializeSpecialClasses();
+ Future onLibrariesLoaded(Map<Uri, LibraryElement> loadedLibraries) {
+ test('Compiler.onLibrariesLoaded');
+ return super.onLibrariesLoaded(loadedLibraries);
}
TreeElements analyzeElement(Element element) {
@@ -248,8 +248,8 @@ void main() {
final tests = {
'Compiler': beforeRun,
'Compiler.run': beforeRun,
- 'Compiler.scanBuiltinLibraries': beforeRun,
- 'Compiler.initializeSpecialClasses': beforeRun,
+ 'Compiler.onLibraryScanned': beforeRun,
+ 'Compiler.onLibrariesLoaded': beforeRun,
'ScannerTask.scanElements': duringRun,
'Compiler.withCurrentElement': duringRun,
'Compiler.analyzeElement': duringRun,

Powered by Google App Engine
This is Rietveld 408576698