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

Unified Diff: pkg/analysis_server/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
« no previous file with comments | « no previous file | pkg/analysis_server/tool/spec/check_all_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/test_all.dart
diff --git a/pkg/analysis_server/test/test_all.dart b/pkg/analysis_server/test/test_all.dart
index 1190c6cda34d01e9a1a66dfac03edcfe50366ecd..a736732eab60b2aaf09cbb2e2dfde84d5672e2d4 100644
--- a/pkg/analysis_server/test/test_all.dart
+++ b/pkg/analysis_server/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 'analysis/test_all.dart' as analysis_all;
import 'analysis_server_test.dart' as analysis_server_test;
import 'channel/test_all.dart' as channel_test;
@@ -46,5 +47,15 @@ main() {
services_all.main();
socket_server_test.main();
src_all.main();
+ defineReflectiveSuite(() {
+ defineReflectiveTests(SpecTest);
+ }, name: 'spec');
}, name: 'analysis_server');
}
+
+@reflectiveTest
+class SpecTest {
+ test_specHasBeenGenerated() {
+ check_spec.main();
+ }
+}
« no previous file with comments | « no previous file | pkg/analysis_server/tool/spec/check_all_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698