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

Side by Side Diff: pkg/analyzer/test/src/dart/constant/evaluation_test.dart

Issue 2627083003: Replace reset() arguments with resetWith() invocation. (Closed)
Patch Set: Remove commented code. Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « pkg/analyzer/test/generated/strong_mode_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.constant_test; 5 library analyzer.test.constant_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/context/declared_variables.dart'; 9 import 'package:analyzer/context/declared_variables.dart';
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 lexicalEnvironment: lexicalEnvironment)); 1598 lexicalEnvironment: lexicalEnvironment));
1599 errorListener.assertNoErrors(); 1599 errorListener.assertNoErrors();
1600 return result; 1600 return result;
1601 } 1601 }
1602 } 1602 }
1603 1603
1604 @reflectiveTest 1604 @reflectiveTest
1605 class StrongConstantValueComputerTest extends ConstantValueComputerTest { 1605 class StrongConstantValueComputerTest extends ConstantValueComputerTest {
1606 void setUp() { 1606 void setUp() {
1607 super.setUp(); 1607 super.setUp();
1608 resetWithOptions(new AnalysisOptionsImpl()..strongMode = true); 1608 resetWith(options: new AnalysisOptionsImpl()..strongMode = true);
1609 } 1609 }
1610 } 1610 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/strong_mode_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698