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

Side by Side Diff: test/path_test.dart

Issue 1235823009: Upgrade to the new test runner. (Closed) Base URL: git@github.com:dart-lang/path@master
Patch Set: Created 5 years, 5 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 import 'package:unittest/unittest.dart'; 5 import 'package:test/test.dart';
6 import 'package:path/path.dart' as path; 6 import 'package:path/path.dart' as path;
7 7
8 main() { 8 main() {
9 group('path.Style', () { 9 group('path.Style', () {
10 test('name', () { 10 test('name', () {
11 expect(path.Style.posix.name, 'posix'); 11 expect(path.Style.posix.name, 'posix');
12 expect(path.Style.windows.name, 'windows'); 12 expect(path.Style.windows.name, 'windows');
13 }); 13 });
14 14
15 test('separator', () { 15 test('separator', () {
(...skipping 27 matching lines...) Expand all
43 test('windows is a default Context for the Windows style', () { 43 test('windows is a default Context for the Windows style', () {
44 expect(path.windows.style, path.Style.windows); 44 expect(path.windows.style, path.Style.windows);
45 expect(path.windows.current, "."); 45 expect(path.windows.current, ".");
46 }); 46 });
47 47
48 test('url is a default Context for the URL style', () { 48 test('url is a default Context for the URL style', () {
49 expect(path.url.style, path.Style.url); 49 expect(path.url.style, path.Style.url);
50 expect(path.url.current, "."); 50 expect(path.url.current, ".");
51 }); 51 });
52 } 52 }
OLDNEW
« no previous file with comments | « test/io_test.dart ('k') | test/posix_test.dart » ('j') | test/windows_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698