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

Unified Diff: pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_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/reanalyze_concurrent_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart b/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
index e65f60c1db03e35005e34a1dcf1167474b70ab5d..d84c165648d0609fbd1f43b61248b9ab5876dff1 100644
--- a/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/reanalyze_concurrent_test.dart
@@ -4,7 +4,9 @@
/**
* This test verifies that if reanalysis is performed while reanalysis is in
- * progress, no problems occur. See dartbug.com/21448.
+ * progress, no problems occur.
+ *
+ * See dartbug.com/21448.
*/
library test.integration.analysis.reanalyze_concurrent;
@@ -16,6 +18,10 @@ import 'package:unittest/unittest.dart';
import '../../reflective_tests.dart';
import '../integration_tests.dart';
+main() {
+ runReflectiveTests(Test);
+}
+
@ReflectiveTestCase()
class Test extends AbstractAnalysisServerIntegrationTest {
test_reanalyze_concurrent() {
@@ -41,11 +47,11 @@ main() {}''';
if (data.analysis.isAnalyzing) {
// Most likely what happened is that the first reanalyze
// completed before the second reanalyze had a chance to start,
- // and we are just now starting the second reanalyze. If this is
- // the case, then the test isn't testing what it's meant to test
- // (because we are trying to test what happens when one reanalyze
- // starts while another is in progress). In which case we will
- // need to give the analyzer more work to do.
+ // and we are just now starting the second reanalyze. If this
+ // is the case, then the test isn't testing what it's meant to
+ // test (because we are trying to test what happens when one
+ // reanalyze starts while another is in progress). In which
+ // case we will need to give the analyzer more work to do.
fail('First reanalyze finished before second started.');
}
}
@@ -58,7 +64,3 @@ main() {}''';
});
}
}
-
-main() {
- runReflectiveTests(Test);
-}

Powered by Google App Engine
This is Rietveld 408576698