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

Unified Diff: pkg/path/test/dartium_test.dart

Issue 19939004: Use window.location.href in path under dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/path/test/dart2js_test.dart ('k') | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/path/test/dartium_test.dart
diff --git a/pkg/path/test/dartium_test.dart b/pkg/path/test/dartium_test.dart
deleted file mode 100644
index 2a830c75f7e3a034209f51d3a40a100f541a5233..0000000000000000000000000000000000000000
--- a/pkg/path/test/dartium_test.dart
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import 'dart:html';
-
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
-import 'package:path/path.dart' as path;
-
-main() {
- useHtmlConfiguration();
-
- group('new Builder()', () {
- test('uses the current working directory if root is omitted', () {
- var builder = new path.Builder();
- expect(builder.root, window.location.href);
- });
-
- test('uses URL if style is omitted', () {
- var builder = new path.Builder();
- expect(builder.style, path.Style.url);
- });
- });
-
- test('current', () {
- expect(path.current, window.location.href);
- });
-}
« no previous file with comments | « pkg/path/test/dart2js_test.dart ('k') | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698