| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |