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

Side by Side Diff: lib/src/backend/operating_system.dart

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « lib/src/backend/metadata.dart ('k') | lib/src/backend/outstanding_callback_counter.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 test.backend.operating_system;
6
7 /// An enum of all operating systems supported by Dart. 5 /// An enum of all operating systems supported by Dart.
8 /// 6 ///
9 /// This is used for selecting which operating systems a test can run on. Even 7 /// This is used for selecting which operating systems a test can run on. Even
10 /// for browser tests, this indicates the operating system of the machine 8 /// for browser tests, this indicates the operating system of the machine
11 /// running the test runner. 9 /// running the test runner.
12 class OperatingSystem { 10 class OperatingSystem {
13 /// Microsoft Windows. 11 /// Microsoft Windows.
14 static const windows = const OperatingSystem._("windows"); 12 static const windows = const OperatingSystem._("windows");
15 13
16 /// Mac OS X. 14 /// Mac OS X.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 /// The name of the operating system. 55 /// The name of the operating system.
58 final String name; 56 final String name;
59 57
60 /// Whether this is a POSIX-ish operating system. 58 /// Whether this is a POSIX-ish operating system.
61 bool get isPosix => this != windows && this != none; 59 bool get isPosix => this != windows && this != none;
62 60
63 const OperatingSystem._(this.name); 61 const OperatingSystem._(this.name);
64 62
65 String toString() => name; 63 String toString() => name;
66 } 64 }
OLDNEW
« no previous file with comments | « lib/src/backend/metadata.dart ('k') | lib/src/backend/outstanding_callback_counter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698