| 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.src.context.context_builder_test; | 5 library analyzer.test.src.context.context_builder_test; |
| 6 | 6 |
| 7 import 'package:analyzer/file_system/file_system.dart'; | 7 import 'package:analyzer/file_system/file_system.dart'; |
| 8 import 'package:analyzer/file_system/memory_file_system.dart'; | 8 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 9 import 'package:analyzer/source/package_map_resolver.dart'; | 9 import 'package:analyzer/source/package_map_resolver.dart'; |
| 10 import 'package:analyzer/src/command_line/arguments.dart'; | 10 import 'package:analyzer/src/command_line/arguments.dart'; |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 actual.lintRules.map((l) => l.name), | 1018 actual.lintRules.map((l) => l.name), |
| 1019 unorderedEquals(expected.lintRules.map((l) => l.name)), | 1019 unorderedEquals(expected.lintRules.map((l) => l.name)), |
| 1020 ); | 1020 ); |
| 1021 expect(actual.preserveComments, expected.preserveComments); | 1021 expect(actual.preserveComments, expected.preserveComments); |
| 1022 expect(actual.strongMode, expected.strongMode); | 1022 expect(actual.strongMode, expected.strongMode); |
| 1023 expect(actual.strongModeHints, expected.strongModeHints); | 1023 expect(actual.strongModeHints, expected.strongModeHints); |
| 1024 expect(actual.implicitCasts, expected.implicitCasts); | 1024 expect(actual.implicitCasts, expected.implicitCasts); |
| 1025 expect(actual.implicitDynamic, expected.implicitDynamic); | 1025 expect(actual.implicitDynamic, expected.implicitDynamic); |
| 1026 expect(actual.trackCacheDependencies, expected.trackCacheDependencies); | 1026 expect(actual.trackCacheDependencies, expected.trackCacheDependencies); |
| 1027 expect(actual.disableCacheFlushing, expected.disableCacheFlushing); | 1027 expect(actual.disableCacheFlushing, expected.disableCacheFlushing); |
| 1028 expect(actual.finerGrainedInvalidation, expected.finerGrainedInvalidation); | |
| 1029 } | 1028 } |
| 1030 | 1029 |
| 1031 Uri _relativeUri(String path, {String from}) { | 1030 Uri _relativeUri(String path, {String from}) { |
| 1032 String relativePath = pathContext.relative(path, from: from); | 1031 String relativePath = pathContext.relative(path, from: from); |
| 1033 return pathContext.toUri(relativePath); | 1032 return pathContext.toUri(relativePath); |
| 1034 } | 1033 } |
| 1035 } | 1034 } |
| 1036 | 1035 |
| 1037 @reflectiveTest | 1036 @reflectiveTest |
| 1038 class EmbedderYamlLocatorTest extends EmbedderRelatedTest { | 1037 class EmbedderYamlLocatorTest extends EmbedderRelatedTest { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 1060 class _MockLintRule implements LintRule { | 1059 class _MockLintRule implements LintRule { |
| 1061 final String _name; | 1060 final String _name; |
| 1062 | 1061 |
| 1063 _MockLintRule(this._name); | 1062 _MockLintRule(this._name); |
| 1064 | 1063 |
| 1065 @override | 1064 @override |
| 1066 String get name => _name; | 1065 String get name => _name; |
| 1067 | 1066 |
| 1068 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 1067 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 1069 } | 1068 } |
| OLD | NEW |