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

Issue 336923002: Adds API test for imageWriterPrivate.writeFromFile (Closed)

Created:
6 years, 6 months ago by Drew Haven
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, stephenlin1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds API test for imageWriterPrivate.writeFromFile BUG=384650 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282130

Patch Set 1 #

Patch Set 2 : Removes unnecessary changes. #

Patch Set 3 : Slight refactoring and cleanup. #

Patch Set 4 : Cleans up all tests to use the renamed ImageWriterTestUtils. #

Total comments: 2

Patch Set 5 : Cleans up the CL a bit for submission. #

Patch Set 6 : Adds more chrome OS compile guards. #

Patch Set 7 : Fixes some cross-platform compliation errors. #

Patch Set 8 : Fixes Chrome OS browser-test intialization and teardown. #

Patch Set 9 : Chrome OS fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -146 lines) Patch
M chrome/browser/extensions/api/image_writer_private/destroy_partitions_operation_unittest.cc View 1 2 3 2 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/image_writer_private_apitest.cc View 1 2 3 4 5 6 7 8 3 chunks +83 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation.cc View 4 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_manager_unittest.cc View 1 2 3 3 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/operation_unittest.cc View 1 2 3 4 5 9 chunks +25 lines, -31 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/test_utils.h View 1 2 3 4 5 6 7 8 4 chunks +54 lines, -26 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/test_utils.cc View 1 2 3 4 5 6 7 8 6 chunks +101 lines, -27 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/write_from_file_operation_unittest.cc View 1 2 3 3 chunks +13 lines, -18 lines 0 comments Download
M chrome/browser/extensions/api/image_writer_private/write_from_url_operation_unittest.cc View 1 2 3 6 chunks +9 lines, -7 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/image_writer_private/list_devices/test.js View 2 chunks +5 lines, -5 lines 0 comments Download
A + chrome/test/data/extensions/api_test/image_writer_private/write_from_file/background.js View 1 chunk +2 lines, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/image_writer_private/write_from_file/manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js View 1 2 3 4 5 6 7 1 chunk +71 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Drew Haven
Antony, Here's the next installment of my API tests. This time testing the write-image-from-file flow. ...
6 years, 6 months ago (2014-06-16 19:20:22 UTC) #1
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/336923002/diff/60001/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js File chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js (right): https://codereview.chromium.org/336923002/diff/60001/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js#newcode36 chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js:36: chrome.test.assertTrue(!!storageDevice.storageUnitId, nit: I think it's a little more ...
6 years, 6 months ago (2014-06-17 15:47:32 UTC) #2
Drew Haven
https://codereview.chromium.org/336923002/diff/60001/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js File chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js (right): https://codereview.chromium.org/336923002/diff/60001/chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js#newcode36 chrome/test/data/extensions/api_test/image_writer_private/write_from_file/test.js:36: chrome.test.assertTrue(!!storageDevice.storageUnitId, On 2014/06/17 15:47:32, Antony Sargent wrote: > nit: ...
6 years, 6 months ago (2014-06-17 20:25:07 UTC) #3
Drew Haven
The CQ bit was checked by haven@chromium.org
6 years, 6 months ago (2014-06-17 20:55:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/336923002/80001
6 years, 6 months ago (2014-06-17 20:57:41 UTC) #5
Drew Haven
The CQ bit was checked by haven@chromium.org
6 years, 6 months ago (2014-06-19 01:41:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/336923002/140001
6 years, 6 months ago (2014-06-19 01:42:49 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-19 10:03:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/39400)
6 years, 6 months ago (2014-06-19 10:03:37 UTC) #9
Drew Haven
The CQ bit was checked by haven@chromium.org
6 years, 5 months ago (2014-07-09 18:20:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haven@chromium.org/336923002/200001
6 years, 5 months ago (2014-07-09 18:22:08 UTC) #11
commit-bot: I haz the power
Change committed as 282130
6 years, 5 months ago (2014-07-09 21:33:07 UTC) #12
dgrogan
6 years, 5 months ago (2014-07-09 22:18:42 UTC) #13
Message was sent while issue was closed.
Reverted in r282141.

Leak detected by Linux ASan LSan Tests (2).
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Te...

Powered by Google App Engine
This is Rietveld 408576698