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

Unified 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, 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: pkg/analyzer_plugin/test/test_all.dart
diff --git a/pkg/analyzer_plugin/test/test_all.dart b/pkg/analyzer_plugin/test/test_all.dart
index 887935ee7e6ffe67df23774e312a9df031d98793..cea38501a535ce3f708ff595430c0b27901a88ad 100644
--- a/pkg/analyzer_plugin/test/test_all.dart
+++ b/pkg/analyzer_plugin/test/test_all.dart
@@ -4,6 +4,7 @@
import 'package:test_reflective_loader/test_reflective_loader.dart';
+import '../tool/spec/check_all_test.dart' as check_spec;
import 'plugin/test_all.dart' as plugin;
import 'src/test_all.dart' as src;
import 'utilities/test_all.dart' as utilities;
@@ -13,5 +14,15 @@ main() {
plugin.main();
src.main();
utilities.main();
+ defineReflectiveSuite(() {
+ defineReflectiveTests(SpecTest);
+ }, name: 'spec');
}, name: 'analyzer_plugin');
}
+
+@reflectiveTest
+class SpecTest {
+ test_specHasBeenGenerated() {
+ check_spec.main();
+ }
+}
« 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