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

Unified Diff: pkg/analyzer/test/src/task/dart_test.dart

Issue 1049013002: Remove directives validation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | « pkg/analyzer/lib/src/task/dart.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/dart_test.dart
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart
index e217afc10630e5a9ae44c3c7ca9c728054ae1719..a12916d9d9926292ea03fb662f4d885d8b4c7f09 100644
--- a/pkg/analyzer/test/src/task/dart_test.dart
+++ b/pkg/analyzer/test/src/task/dart_test.dart
@@ -1438,22 +1438,6 @@ class ScanDartTaskTest extends _AbstractDartTaskTest {
@reflectiveTest
class VerifyUnitTaskTest extends _AbstractDartTaskTest {
- test_perform_directiveError() {
- // TODO(scheglov) uncomment when GetContentTask handles not
- // existing sources correctly.
-// Source source = _newSource('/test.dart', '''
-//library lib;
-//part '/does/not/exist.dart';
-//''');
-// LibraryUnitTarget target = new LibraryUnitTarget(source, source);
-// _computeResult(target, VERIFY_ERRORS);
-// expect(task, new isInstanceOf<VerifyUnitTask>());
-// // validate
-// _fillErrorListener(VERIFY_ERRORS);
-// errorListener.assertErrorsWithCodes(
-// <ErrorCode>[StaticTypeWarningCode.NON_BOOL_CONDITION]);
- }
-
test_perform_verifyError() {
Source source = _newSource('/test.dart', '''
main() {
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698