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

Side by Side Diff: pkg/analyzer_plugin/test/test_all.dart

Issue 2966623003: Add the tests of the spec generator to the unit tests (Closed)
Patch Set: Created 3 years, 5 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
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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:test_reflective_loader/test_reflective_loader.dart'; 5 import 'package:test_reflective_loader/test_reflective_loader.dart';
6 6
7 import '../tool/spec/check_all_test.dart' as check_spec;
7 import 'plugin/test_all.dart' as plugin; 8 import 'plugin/test_all.dart' as plugin;
8 import 'src/test_all.dart' as src; 9 import 'src/test_all.dart' as src;
9 import 'utilities/test_all.dart' as utilities; 10 import 'utilities/test_all.dart' as utilities;
10 11
11 main() { 12 main() {
12 defineReflectiveSuite(() { 13 defineReflectiveSuite(() {
13 plugin.main(); 14 plugin.main();
14 src.main(); 15 src.main();
15 utilities.main(); 16 utilities.main();
17 defineReflectiveSuite(() {
18 defineReflectiveTests(SpecTest);
19 }, name: 'spec');
16 }, name: 'analyzer_plugin'); 20 }, name: 'analyzer_plugin');
17 } 21 }
22
23 @reflectiveTest
24 class SpecTest {
25 test_specHasBeenGenerated() {
26 check_spec.main();
27 }
28 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/tool/spec/check_all_test.dart ('k') | pkg/analyzer_plugin/tool/spec/check_all_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698