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

Side by Side Diff: test/paths_test.dart

Issue 55143003: webui fixes for 0.8.9 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 1 month 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 /** Tests for [PathMapper]. */ 5 /** Tests for [PathMapper]. */
6 library path_info_test; 6 library path_info_test;
7 7
8 import 'package:pathos/path.dart' as path; 8 import 'package:path/path.dart' as path;
9 import 'package:unittest/compact_vm_config.dart'; 9 import 'package:unittest/compact_vm_config.dart';
10 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
11 import 'package:web_ui/src/info.dart'; 11 import 'package:web_ui/src/info.dart';
12 import 'package:web_ui/src/paths.dart'; 12 import 'package:web_ui/src/paths.dart';
13 import 'package:web_ui/src/utils.dart' as utils; 13 import 'package:web_ui/src/utils.dart' as utils;
14 import 'testing.dart'; 14 import 'testing.dart';
15 15
16 16
17 main() { 17 main() {
18 useCompactVMConfiguration(); 18 useCompactVMConfiguration();
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 var file = new FileInfo(new UrlInfo( 318 var file = new FileInfo(new UrlInfo(
319 url == null ? filePath : url, filePath, null)); 319 url == null ? filePath : url, filePath, null));
320 file.outputFilename = pathMapper.mangle( 320 file.outputFilename = pathMapper.mangle(
321 utils.path.basename(filePath), '.dart', false); 321 utils.path.basename(filePath), '.dart', false);
322 return file; 322 return file;
323 } 323 }
324 324
325 _checkPath(String filePath, String expected) { 325 _checkPath(String filePath, String expected) {
326 expect(utils.path.normalize(filePath), expected); 326 expect(utils.path.normalize(filePath), expected);
327 } 327 }
OLDNEW
« pubspec.yaml ('K') | « test/observe_test.dart ('k') | test/perf/compare.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698