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'; |
11 import 'package:compiler/src/compiler.dart'; | |
12 import 'package:compiler/src/filenames.dart'; | 11 import 'package:compiler/src/filenames.dart'; |
13 import '../memory_compiler.dart'; | 12 import '../memory_compiler.dart'; |
14 import 'helper.dart'; | 13 import 'helper.dart'; |
15 import 'test_data.dart'; | 14 import 'test_data.dart'; |
16 | 15 |
17 /// Number of tests that are not part of the automatic test grouping. | 16 /// Number of tests that are not part of the automatic test grouping. |
18 int SKIP_COUNT = 0; | 17 int SKIP_COUNT = 0; |
19 | 18 |
20 /// Number of groups that the [TESTS] are split into. | 19 /// Number of groups that the [TESTS] are split into. |
21 int SPLIT_COUNT = 5; | 20 int SPLIT_COUNT = 5; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "Unexpected error count."); | 58 "Unexpected error count."); |
60 Expect.equals(test.expectedWarningCount, | 59 Expect.equals(test.expectedWarningCount, |
61 diagnosticCollector.warnings.length, "Unexpected warning count."); | 60 diagnosticCollector.warnings.length, "Unexpected warning count."); |
62 Expect.equals(test.expectedHintCount, diagnosticCollector.hints.length, | 61 Expect.equals(test.expectedHintCount, diagnosticCollector.hints.length, |
63 "Unexpected hint count."); | 62 "Unexpected hint count."); |
64 Expect.equals(test.expectedInfoCount, diagnosticCollector.infos.length, | 63 Expect.equals(test.expectedInfoCount, diagnosticCollector.infos.length, |
65 "Unexpected info count."); | 64 "Unexpected info count."); |
66 } | 65 } |
67 }); | 66 }); |
68 } | 67 } |
OLD | NEW |