Fix test test_implicit_dependencies_follow_other_dependencies.
The test was assuming that summaries stored relative paths, which they
haven't done for quite some time.
Change-Id: Iee08f1e95650107886df85750e29aaf4267c60bb
Reviewed-on: https://dart-review.googlesource.com/74920
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
diff --git a/pkg/analyzer/test/src/summary/summarize_ast_one_phase_test.dart b/pkg/analyzer/test/src/summary/summarize_ast_one_phase_test.dart
index ce3cc8d..bbab35d 100644
--- a/pkg/analyzer/test/src/summary/summarize_ast_one_phase_test.dart
+++ b/pkg/analyzer/test/src/summary/summarize_ast_one_phase_test.dart
@@ -48,12 +48,6 @@
@override
@failingTest
- test_implicit_dependencies_follow_other_dependencies() {
- super.test_implicit_dependencies_follow_other_dependencies();
- }
-
- @override
- @failingTest
test_inferred_type_refers_to_function_typed_param_of_typedef() {
super.test_inferred_type_refers_to_function_typed_param_of_typedef();
}
diff --git a/pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart b/pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart
index 6c2d84c..8048ebd 100644
--- a/pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart
+++ b/pkg/analyzer/test/src/summary/summarize_ast_strong_test.dart
@@ -42,12 +42,6 @@
@override
@failingTest
- test_implicit_dependencies_follow_other_dependencies() {
- super.test_implicit_dependencies_follow_other_dependencies();
- }
-
- @override
- @failingTest
test_inferred_type_refers_to_function_typed_param_of_typedef() {
super.test_inferred_type_refers_to_function_typed_param_of_typedef();
}
diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
index d800094..8279c5e 100644
--- a/pkg/analyzer/test/src/summary/summary_common.dart
+++ b/pkg/analyzer/test/src/summary/summary_common.dart
@@ -7358,8 +7358,8 @@
// The dependency on b.dart is implicit, so it should be placed at the end
// of the dependency list, after a.dart, even though the code that refers
// to b.dart comes before the code that refers to a.dart.
- int aDep = checkHasDependency('a.dart', fullyLinked: false);
- int bDep = checkHasDependency('b.dart', fullyLinked: true);
+ int aDep = checkHasDependency(absUri('/a.dart'), fullyLinked: false);
+ int bDep = checkHasDependency(absUri('/b.dart'), fullyLinked: true);
expect(aDep, lessThan(bDep));
}