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, |