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

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

Issue 2681493002: [Gardening] Remove an invalid (and flaky) test (Closed)
Patch Set: Created 3 years, 10 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/test/integration/analysis/get_errors_after_analysis_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/analysis/get_errors.dart
diff --git a/pkg/analysis_server/test/integration/analysis/get_errors.dart b/pkg/analysis_server/test/integration/analysis/get_errors.dart
deleted file mode 100644
index d7aee3c4edfdf19f7ac6f55a64ba85e5f716706d..0000000000000000000000000000000000000000
--- a/pkg/analysis_server/test/integration/analysis/get_errors.dart
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2014, 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.
-
-library test.integration.analysis.get.errors;
-
-import 'dart:async';
-
-import 'package:test/test.dart';
-
-import '../integration_tests.dart';
-
-/**
- * Base class for testing the "analysis.getErrors" request.
- */
-class AnalysisDomainGetErrorsTest
- extends AbstractAnalysisServerIntegrationTest {
- /**
- * True if the "analysis.getErrors" request should be made after analysis is
- * complete.
- */
- final bool afterAnalysis;
-
- AnalysisDomainGetErrorsTest(this.afterAnalysis);
-
- test_getErrors() {
- String pathname = sourcePath('test.dart');
- String text = r'''
-main() {
- var x // parse error: missing ';'
-}''';
- writeFile(pathname, text);
- standardAnalysisSetup();
- Future finishTest() {
- return sendAnalysisGetErrors(pathname).then((result) {
- expect(result.errors, equals(currentAnalysisErrors[pathname]));
- });
- }
- if (afterAnalysis) {
- return analysisFinished.then((_) => finishTest());
- } else {
- return finishTest();
- }
- }
-}
« no previous file with comments | « no previous file | pkg/analysis_server/test/integration/analysis/get_errors_after_analysis_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698