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

Unified Diff: pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart

Issue 50413005: Reapply "Remove @deprecated features." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 2 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/polymer/lib/component_build.dart ('k') | pkg/unittest/lib/src/iterable_matchers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
diff --git a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
index 7039639221968f44e789c5e917fb31a1eeb3b65a..130cfddcf13a0b55c5f2498a16d5d1e78cfc8e59 100644
--- a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
+++ b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
@@ -49,7 +49,8 @@ class PatternDescriptor extends Descriptor {
if (parent == null) parent = defaultRoot;
// TODO(nweiz): make sure this works with symlinks.
var matchingEntries = new Directory(parent).listSync()
- .map((entry) => entry is File ? entry.fullPathSync() : entry.path)
+ .map((entry) => entry is File ? entry.resolveSymbolicLinksSync()
+ : entry.path)
.where((entry) => fullMatch(path.basename(entry), pattern))
.toList();
matchingEntries.sort();
« no previous file with comments | « pkg/polymer/lib/component_build.dart ('k') | pkg/unittest/lib/src/iterable_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698