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

Unified Diff: pkg/polymer/test/css_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/compiler_test.dart ('k') | pkg/polymer/test/paths_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/css_test.dart
diff --git a/pkg/polymer/test/css_test.dart b/pkg/polymer/test/css_test.dart
index 5da664a897ff4e915abec399076e6b13f3a8a5b3..c63f978037b63677b1bd9ecd9622f59bf0ba84fc 100644
--- a/pkg/polymer/test/css_test.dart
+++ b/pkg/polymer/test/css_test.dart
@@ -4,9 +4,11 @@
library css_test;
+import 'package:path/path.dart' as path;
+import 'package:polymer/src/messages.dart';
+import 'package:polymer/src/utils.dart' as utils;
import 'package:unittest/compact_vm_config.dart';
import 'package:unittest/unittest.dart';
-import 'package:polymer/src/messages.dart';
import 'testing.dart';
@@ -538,10 +540,20 @@ test_pseudo_element() {
main() {
useCompactVMConfiguration();
- test('test_simple_var', test_simple_var);
- test('test_var', test_var);
- test('test_simple_import', test_simple_import);
- test('test_imports', test_imports);
- test('test_component_var', test_component_var);
- test('test_pseudo_element', test_pseudo_element);
+ group('css', () {
+ setUp(() {
+ utils.path = new path.Builder(style: path.Style.posix);
+ });
+
+ tearDown(() {
+ utils.path = new path.Builder();
+ });
+
+ test('test_simple_var', test_simple_var);
+ test('test_var', test_var);
+ test('test_simple_import', test_simple_import);
+ test('test_imports', test_imports);
+ test('test_component_var', test_component_var);
+ test('test_pseudo_element', test_pseudo_element);
+ });
}
« no previous file with comments | « pkg/polymer/test/compiler_test.dart ('k') | pkg/polymer/test/paths_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698