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

Unified Diff: pkg/analysis_server/test/integration/analysis/package_root_test.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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/analysis_server/test/integration/analysis/package_root_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/package_root_test.dart b/pkg/analysis_server/test/integration/analysis/package_root_test.dart
index df26ee9d38a8eb487cc901663594c1af71cbf9ba..d2a7800eac46746cf1e5c22c20e3f4fdd3c487a4 100644
--- a/pkg/analysis_server/test/integration/analysis/package_root_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/package_root_test.dart
@@ -11,6 +11,10 @@ import 'package:unittest/unittest.dart';
import '../../reflective_tests.dart';
import '../integration_tests.dart';
+main() {
+ runReflectiveTests(Test);
+}
+
@ReflectiveTestCase()
class Test extends AbstractAnalysisServerIntegrationTest {
test_package_root() {
@@ -35,14 +39,17 @@ f() {}
writeFile(mainPath, mainText);
String normalizedFooBarPath = writeFile(fooBarPath, fooBarText);
sendServerSetSubscriptions([ServerService.STATUS]);
- sendAnalysisSetSubscriptions({AnalysisService.NAVIGATION: [mainPath]});
+ sendAnalysisSetSubscriptions({
+ AnalysisService.NAVIGATION: [mainPath]
+ });
List<NavigationRegion> navigationRegions;
onAnalysisNavigation.listen((AnalysisNavigationParams params) {
expect(params.file, equals(mainPath));
navigationRegions = params.regions;
});
- sendAnalysisSetAnalysisRoots([projPath], [],
- packageRoots: {projPath: packagesPath});
+ sendAnalysisSetAnalysisRoots([projPath], [], packageRoots: {
+ projPath: packagesPath
+ });
return analysisFinished.then((_) {
// Verify that fooBarPath was properly resolved by checking that f()
// refers to it.
@@ -61,7 +68,3 @@ f() {}
});
}
}
-
-main() {
- runReflectiveTests(Test);
-}

Powered by Google App Engine
This is Rietveld 408576698