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

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

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 8 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/state.dart ('k') | lib/src/backend/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) 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 unittest.backend.suite; 5 library test.backend.suite;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'metadata.dart'; 9 import 'metadata.dart';
10 import 'operating_system.dart'; 10 import 'operating_system.dart';
11 import 'test.dart'; 11 import 'test.dart';
12 import 'test_platform.dart'; 12 import 'test_platform.dart';
13 13
14 /// A test suite. 14 /// A test suite.
15 /// 15 ///
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 /// Returns a new suite with the given fields updated. 47 /// Returns a new suite with the given fields updated.
48 Suite change({String path, String platform, Metadata metadata, 48 Suite change({String path, String platform, Metadata metadata,
49 Iterable<Test> tests}) { 49 Iterable<Test> tests}) {
50 if (path == null) path = this.path; 50 if (path == null) path = this.path;
51 if (platform == null) platform = this.platform; 51 if (platform == null) platform = this.platform;
52 if (metadata == null) metadata = this.metadata; 52 if (metadata == null) metadata = this.metadata;
53 if (tests == null) tests = this.tests; 53 if (tests == null) tests = this.tests;
54 return new Suite(tests, path: path, platform: platform, metadata: metadata); 54 return new Suite(tests, path: path, platform: platform, metadata: metadata);
55 } 55 }
56 } 56 }
OLDNEW
« no previous file with comments | « lib/src/backend/state.dart ('k') | lib/src/backend/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698