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

Unified Diff: chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js

Issue 439753002: Files.app: Add the MockDirectoryEntry class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js
diff --git a/chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js b/chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js
deleted file mode 100644
index c16a63d395716d4dfe9ff4dbc8ad5ad327481ff5..0000000000000000000000000000000000000000
--- a/chrome/test/data/file_manager/unit_tests/mocks/mock_file_entry.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2013 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.
-
-/**
- * Mock class for FileEntry.
- *
- * @param {string} volumeId Id of the volume containing the entry.
- * @param {string} fullPath Full path for the entry.
- * @constructor
- */
-function MockFileEntry(volumeId, fullPath) {
- this.volumeId = volumeId;
- this.fullPath = fullPath;
-}
-
-/**
- * Returns fake URL.
- *
- * @return {string} Fake URL.
- */
-MockFileEntry.prototype.toURL = function() {
- return 'filesystem:' + this.volumeId + this.fullPath;
-};

Powered by Google App Engine
This is Rietveld 408576698