dart-sdk/pkg/analyzer_plugin/test/test_all.dart
Paul Berry 9d8087a399 Combine all "verify sorted" tests.
The tests in analyzer_cli and analyzer_plugin imported
analysis_server, resulting in warnings when publishing
analyzer_plugin.  combining these tests all into analysis_server
shares more code and avoids the warning.

Change-Id: I519f67872500e93e399c5c3d2aeddf781f07602c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149610
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2020-06-01 20:53:58 +00:00

31 lines
866 B
Dart

// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
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;
import 'verify_tests_test.dart' as verify_tests;
void main() {
defineReflectiveSuite(() {
plugin.main();
src.main();
utilities.main();
verify_tests.main();
defineReflectiveSuite(() {
defineReflectiveTests(SpecTest);
}, name: 'spec');
}, name: 'analyzer_plugin');
}
@reflectiveTest
class SpecTest {
void test_specHasBeenGenerated() {
check_spec.main();
}
}