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

Side by Side Diff: pkg/scheduled_test/lib/src/descriptor/entry.dart

Issue 12321091: Fix some dumb test-breaking errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/scheduled_test/test/descriptor_test.dart » ('j') | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 descriptor.entry; 5 library descriptor.entry;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import '../utils.dart';
9 import 'utils.dart'; 10 import 'utils.dart';
10 11
11 /// The base class for various declarative descriptions of filesystem entries. 12 /// The base class for various declarative descriptions of filesystem entries.
12 /// All asynchronous operations on descriptors are [schedule]d unless otherwise 13 /// All asynchronous operations on descriptors are [schedule]d unless otherwise
13 /// noted. 14 /// noted.
14 abstract class Entry { 15 abstract class Entry {
15 /// The name of this entry. For most operations, this must be a [String]; 16 /// The name of this entry. For most operations, this must be a [String];
16 /// however, if the entry will only be used for validation, it may be a 17 /// however, if the entry will only be used for validation, it may be a
17 /// non-[String] [Pattern]. In this case, there must be only one entry 18 /// non-[String] [Pattern]. In this case, there must be only one entry
18 /// matching it in the physical filesystem for validation to succeed. 19 /// matching it in the physical filesystem for validation to succeed.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 58 }
58 59
59 /// Returns a human-readable description of [name], for error reporting. For 60 /// Returns a human-readable description of [name], for error reporting. For
60 /// string names, this will just be the name in quotes; for regular 61 /// string names, this will just be the name in quotes; for regular
61 /// expressions, it will use JavaScript-style `/.../` notation. 62 /// expressions, it will use JavaScript-style `/.../` notation.
62 String get nameDescription => describePattern(name); 63 String get nameDescription => describePattern(name);
63 64
64 /// Returns a detailed tree-style description of [this]. 65 /// Returns a detailed tree-style description of [this].
65 String describe(); 66 String describe();
66 } 67 }
OLDNEW
« no previous file with comments | « no previous file | pkg/scheduled_test/test/descriptor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698