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

Unified Diff: ui/file_manager/file_manager/common/js/importer_common_unittest.js

Issue 2856533003: Add background-wide file metadata cache. (Closed)
Patch Set: Rename global_metadata_cache to metadata_proxy. Created 3 years, 7 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 | « ui/file_manager/file_manager/common/js/importer_common_unittest.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/importer_common_unittest.js
diff --git a/ui/file_manager/file_manager/common/js/importer_common_unittest.js b/ui/file_manager/file_manager/common/js/importer_common_unittest.js
index d013f193931e28f25c2981cf72e7a4591d8d13f9..7d14b8f0d53868207b41abd98cc9e9c1b1a34425 100644
--- a/ui/file_manager/file_manager/common/js/importer_common_unittest.js
+++ b/ui/file_manager/file_manager/common/js/importer_common_unittest.js
@@ -246,21 +246,6 @@ function testDeflateAppUrl() {
'Deflated then inflated URLs must match original URL.');
};
-function testCreateMetadataHashcode(callback) {
- var promise = importer.createMetadataHashcode(cameraFileEntry)
- .then(
- function(hashcode) {
- // Note that the expression matches at least 4 numbers
- // in the last segment, since we hard code the byte
- // size in our test file to a four digit size.
- // In reality it will vary.
- assertEquals(0, hashcode.search(/[0-9]{9,}_[0-9]{4,}/),
- 'Hashcode (' + hashcode + ') does not match next pattern.');
- });
-
- reportPromise(promise, callback);
-}
-
function testHasMediaDirectory(callback) {
var dir = createDirectoryEntry(sdVolume, '/DCIM');
var promise = importer.hasMediaDirectory(sdVolume.fileSystem.root)
« no previous file with comments | « ui/file_manager/file_manager/common/js/importer_common_unittest.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698