Commit eddae27e authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

Rename zip archive file content rows helper

Call it getUnzippedFileRowEntries for less confusion.

Bug: 867738
Change-Id: I0e38e8c41ec0cfc599aaa24b369738ffea3c2f0a
Reviewed-on: https://chromium-review.googlesource.com/1150953Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578197}
parent aea3606e
......@@ -5,9 +5,9 @@
'use strict';
/**
* Returns the file ENTRIES.zipArchive content (2 files) as row entries.
* Returns the ENTRIES.zipArchive content (2 files) as row entries.
*/
function getZipArchiveFileRowEntries() {
function getUnzippedFileRowEntries() {
return [
['image.png', '272 bytes', 'PNG image', 'Sep 2, 2013, 10:01 PM'],
['text.txt', '51 bytes', 'Plain text', 'Sep 2, 2013, 10:01 PM']
......@@ -41,7 +41,7 @@ testcase.zipFileOpenDownloads = function() {
// Check: the zip file content should be shown (unzip).
function(result) {
chrome.test.assertTrue(!!result, 'fakeKeyDown failed');
const files = getZipArchiveFileRowEntries();
const files = getUnzippedFileRowEntries();
remoteCall.waitForFiles(appId, files).then(this.next);
},
]);
......@@ -74,7 +74,7 @@ testcase.zipFileOpenDrive = function() {
// Check: the zip file content should be shown (unzip).
function(result) {
chrome.test.assertTrue(!!result, 'fakeKeyDown failed');
const files = getZipArchiveFileRowEntries();
const files = getUnzippedFileRowEntries();
remoteCall.waitForFiles(appId, files).then(this.next);
},
]);
......@@ -132,7 +132,7 @@ testcase.zipFileOpenUsb = function() {
// Check: the zip file content should be shown (unzip).
function(result) {
chrome.test.assertTrue(!!result, 'fakeKeyDown failed');
const files = getZipArchiveFileRowEntries();
const files = getUnzippedFileRowEntries();
remoteCall.waitForFiles(appId, files).then(this.next);
},
]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment