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

Unified Diff: pkg/analysis_server/test/integration/analysis_error_int_test.dart

Issue 465513002: Split analysis_domain_int_test.dart into several test files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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
Index: pkg/analysis_server/test/integration/analysis_error_int_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis_error_int_test.dart b/pkg/analysis_server/test/integration/analysis_error_int_test.dart
deleted file mode 100644
index 49f24d245f12eb687654ffbc43e8c120edd2424d..0000000000000000000000000000000000000000
--- a/pkg/analysis_server/test/integration/analysis_error_int_test.dart
+++ /dev/null
@@ -1,36 +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.error;
-
-import 'package:analysis_testing/reflective_tests.dart';
-import 'package:unittest/unittest.dart';
-
-import 'integration_tests.dart';
-import 'protocol_matchers.dart';
-
-@ReflectiveTestCase()
-class AnalysisErrorIntegrationTest extends AbstractAnalysisServerIntegrationTest
- {
- test_detect_simple_error() {
- String pathname = sourcePath('test.dart');
- writeFile(pathname,
- '''
-main() {
- var x // parse error: missing ';'
-}''');
- standardAnalysisSetup();
- return analysisFinished.then((_) {
- expect(currentAnalysisErrors[pathname], isList);
- List errors = currentAnalysisErrors[pathname];
- expect(errors, hasLength(1));
- expect(errors[0], isAnalysisError);
- expect(errors[0]['location']['file'], equals(pathname));
- });
- }
-}
-
-main() {
- runReflectiveTests(AnalysisErrorIntegrationTest);
-}

Powered by Google App Engine
This is Rietveld 408576698