OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library dart2js.serialization_analysis_test; | 5 library dart2js.serialization_analysis_test; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'package:async_helper/async_helper.dart'; | 8 import 'package:async_helper/async_helper.dart'; |
9 import 'package:expect/expect.dart'; | 9 import 'package:expect/expect.dart'; |
10 import 'package:compiler/src/commandline_options.dart'; | 10 import 'package:compiler/src/commandline_options.dart'; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 test.expectedWarningCount, | 56 test.expectedWarningCount, |
57 diagnosticCollector.warnings.length, | 57 diagnosticCollector.warnings.length, |
58 "Unexpected warning count."); | 58 "Unexpected warning count."); |
59 Expect.equals(test.expectedHintCount, diagnosticCollector.hints.length, | 59 Expect.equals(test.expectedHintCount, diagnosticCollector.hints.length, |
60 "Unexpected hint count."); | 60 "Unexpected hint count."); |
61 Expect.equals(test.expectedInfoCount, diagnosticCollector.infos.length, | 61 Expect.equals(test.expectedInfoCount, diagnosticCollector.infos.length, |
62 "Unexpected info count."); | 62 "Unexpected info count."); |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
OLD | NEW |