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

Unified Diff: pkg/polymer/test/paths_test.dart

Issue 23039018: fix polymer tests on windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/polymer/test/css_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/paths_test.dart
diff --git a/pkg/polymer/test/paths_test.dart b/pkg/polymer/test/paths_test.dart
index 04a4da54cd1ba69e7ba979f8cd8ec7a788cc8e00..81f4b503141a7ea00e055105fed78fc128e343c4 100644
--- a/pkg/polymer/test/paths_test.dart
+++ b/pkg/polymer/test/paths_test.dart
@@ -6,15 +6,23 @@
library path_info_test;
import 'package:path/path.dart' as path;
-import 'package:unittest/compact_vm_config.dart';
-import 'package:unittest/unittest.dart';
import 'package:polymer/src/info.dart';
import 'package:polymer/src/paths.dart';
import 'package:polymer/src/utils.dart' as utils;
+import 'package:unittest/compact_vm_config.dart';
+import 'package:unittest/unittest.dart';
main() {
useCompactVMConfiguration();
group('outdir == basedir:', () {
+ setUp(() {
+ utils.path = new path.Builder(style: path.Style.posix);
+ });
+
+ tearDown(() {
+ utils.path = new path.Builder();
+ });
+
group('outputPath', () {
test('mangle automatic', () {
var pathMapper = _newPathMapper('a', 'a', false);
« no previous file with comments | « pkg/polymer/test/css_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698