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

Unified Diff: base/android/javatests/src/org/chromium/base/test/UrlUtils.java

Issue 10974012: Move base Java utils to base/test/android/javatests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved util packaged to test subpackage. addded OWNERS Created 8 years, 3 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 | « base/android/javatests/src/org/chromium/base/test/TestFileUtil.java ('k') | base/base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/javatests/src/org/chromium/base/test/UrlUtils.java
diff --git a/base/android/javatests/src/org/chromium/base/test/UrlUtils.java b/base/android/javatests/src/org/chromium/base/test/UrlUtils.java
deleted file mode 100644
index 924cbbce4ed901b70e739d7c3763ee76bd8d1464..0000000000000000000000000000000000000000
--- a/base/android/javatests/src/org/chromium/base/test/UrlUtils.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.base.test;
-
-import org.chromium.base.PathUtils;
-
-/**
- * Collection of URL utilities.
- */
-public class UrlUtils {
- private final static String DATA_DIR = "/chrome/test/data/";
-
- /**
- * Construct a suitable URL for loading a test data file.
- *
- * @param path Pathname relative to external/chrome/testing/data
- */
- public static String getTestFileUrl(String path) {
- return "file://" + PathUtils.getExternalStorageDirectory() + DATA_DIR + path;
- }
-}
« no previous file with comments | « base/android/javatests/src/org/chromium/base/test/TestFileUtil.java ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698