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

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

Issue 1842363004: More strong mode fixes for analyzer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Backout options changes Created 4 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/test/src/task/dart_test.dart ('k') | pkg/analyzer/test/src/task/inputs_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/driver_test.dart
diff --git a/pkg/analyzer/test/src/task/driver_test.dart b/pkg/analyzer/test/src/task/driver_test.dart
index bd216758d77d7166b04ead01ea852ce1feb594e7..efbf9ee7b8b7ff3b32a1eb2fa53d424b71bd77a4 100644
--- a/pkg/analyzer/test/src/task/driver_test.dart
+++ b/pkg/analyzer/test/src/task/driver_test.dart
@@ -241,8 +241,8 @@ class AnalysisDriverTest extends AbstractDriverTest {
test_performAnalysisTask_infiniteLoop_handled() {
AnalysisTarget target = new TestSource();
- ResultDescriptor resultA = new ResultDescriptor('resultA', -1);
- ResultDescriptor resultB = new ResultDescriptor('resultB', -2);
+ ResultDescriptor<int> resultA = new ResultDescriptor<int>('resultA', -1);
+ ResultDescriptor<int> resultB = new ResultDescriptor<int>('resultB', -2);
// configure tasks
TestAnalysisTask task1;
TestAnalysisTask task2;
@@ -290,8 +290,8 @@ class AnalysisDriverTest extends AbstractDriverTest {
test_performAnalysisTask_infiniteLoop_unhandled() {
AnalysisTarget target = new TestSource();
- ResultDescriptor resultA = new ResultDescriptor('resultA', -1);
- ResultDescriptor resultB = new ResultDescriptor('resultB', -2);
+ ResultDescriptor<int> resultA = new ResultDescriptor<int>('resultA', -1);
+ ResultDescriptor<int> resultB = new ResultDescriptor<int>('resultB', -2);
// configure tasks
TestAnalysisTask task1;
TestAnalysisTask task2;
@@ -324,8 +324,8 @@ class AnalysisDriverTest extends AbstractDriverTest {
test_performAnalysisTask_inputsFirst() {
AnalysisTarget target = new TestSource();
- ResultDescriptor resultA = new ResultDescriptor('resultA', -1);
- ResultDescriptor resultB = new ResultDescriptor('resultB', -2);
+ ResultDescriptor<int> resultA = new ResultDescriptor<int>('resultA', -1);
+ ResultDescriptor<int> resultB = new ResultDescriptor<int>('resultB', -2);
// configure tasks
TestAnalysisTask task1;
TestAnalysisTask task2;
« no previous file with comments | « pkg/analyzer/test/src/task/dart_test.dart ('k') | pkg/analyzer/test/src/task/inputs_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698