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

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

Issue 1177983003: (TBR) Attempt to fix the build by backing out HTML support (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/pubspec.yaml ('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/html_test.dart
diff --git a/pkg/analyzer/test/src/task/html_test.dart b/pkg/analyzer/test/src/task/html_test.dart
index fe2242955d093b85f71f67a80d5801f84cd09bf1..e0869d5845eef8b44403a095c1bd626efff68bf1 100644
--- a/pkg/analyzer/test/src/task/html_test.dart
+++ b/pkg/analyzer/test/src/task/html_test.dart
@@ -4,24 +4,11 @@
library test.src.task.html_test;
-import 'package:analyzer/src/context/cache.dart';
-import 'package:analyzer/src/generated/ast.dart';
-import 'package:analyzer/src/generated/constant.dart';
-import 'package:analyzer/src/generated/element.dart';
-import 'package:analyzer/src/generated/engine.dart'
- show AnalysisOptionsImpl, CacheState;
-import 'package:analyzer/src/generated/error.dart';
-import 'package:analyzer/src/generated/resolver.dart';
-import 'package:analyzer/src/generated/sdk.dart';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/task/html.dart';
-import 'package:analyzer/task/dart.dart';
-import 'package:analyzer/task/general.dart';
-import 'package:analyzer/task/html.dart';
import 'package:analyzer/task/model.dart';
import 'package:unittest/unittest.dart';
-import '../../generated/test_support.dart';
import '../../reflective_tests.dart';
import '../context/abstract_context.dart';
@@ -32,6 +19,24 @@ main() {
@reflectiveTest
class ParseHtmlTaskTest extends AbstractContextTest {
+ fail_perform() {
+ fail('Could not parse the HTML');
+// AnalysisTarget target = newSource('/test.html', r'''
+//<html>
+// <head>
+// <title 'test page'/>
+// </head>
+// <body>
+// Test
+// </body>
+//</html>
+//''');
+// computeResult(target, DOCUMENT);
+// expect(task, new isInstanceOf<ParseHtmlTask>());
+// expect(outputs[DOCUMENT], isNotNull);
+// expect(outputs[DOCUMENT_ERRORS], isNotEmpty);
+ }
+
test_buildInputs() {
Source source = newSource('/test.html');
Map<String, TaskInput> inputs = ParseHtmlTask.buildInputs(source);
@@ -65,21 +70,4 @@ class ParseHtmlTaskTest extends AbstractContextTest {
TaskDescriptor descriptor = ParseHtmlTask.DESCRIPTOR;
expect(descriptor, isNotNull);
}
-
- test_perform() {
- AnalysisTarget target = newSource('/test.html', r'''
-<html>
- <head>
- <title 'test page'/>
- </head>
- <body>
- Test
- </body>
-</html>
-''');
- computeResult(target, DOCUMENT);
- expect(task, new isInstanceOf<ParseHtmlTask>());
- expect(outputs[DOCUMENT], isNotNull);
- expect(outputs[DOCUMENT_ERRORS], isNotEmpty);
- }
}
« no previous file with comments | « pkg/analyzer/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698