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

Issue 12385037: Add HasPublicKey to crx_id. (Closed)

Created:
7 years, 9 months ago by achuithb
Modified:
7 years, 9 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add HasPublicKey to crx_id. * Rename from_test_path to from_file_path. * Add HasPublicKey test to unit test * CRX_ID_DIR should use abspath, and it doesn't need to be a global. * Replace BASE_DIR and UNPACKED_TEST_DIR with unpacked_test_manifest_path * Split file_path based tests (testFromFilePath) off from testUnpackedHashAppId since they are not related. BUG=177372 TEST=manual NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185567

Patch Set 1 #

Patch Set 2 : rename from_test_path to from_file_path #

Patch Set 3 : rename from_test_path to from_file_path #

Total comments: 2

Patch Set 4 : unit test for HasPublicKey #

Patch Set 5 : removed some globals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -25 lines) Patch
M tools/crx_id/crx_id.py View 1 2 chunks +13 lines, -6 lines 0 comments Download
M tools/crx_id/crx_id_unittest.py View 1 2 3 4 3 chunks +17 lines, -19 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
achuithb
Jan: Can you please take a look?
7 years, 9 months ago (2013-03-01 02:26:13 UTC) #1
achuithb
On 2013/03/01 02:26:13, achuith.bhandarkar wrote: > Jan: Can you please take a look? I need ...
7 years, 9 months ago (2013-03-01 02:30:21 UTC) #2
jvoung (off chromium)
lgtm https://codereview.chromium.org/12385037/diff/5001/tools/crx_id/crx_id_unittest.py File tools/crx_id/crx_id_unittest.py (right): https://codereview.chromium.org/12385037/diff/5001/tools/crx_id/crx_id_unittest.py#newcode56 tools/crx_id/crx_id_unittest.py:56: os.path.join(temp_unpacked_crx, Perhaps you can test your new method ...
7 years, 9 months ago (2013-03-01 03:17:22 UTC) #3
achuithb
PTAL. I've re-arranged some stuff in the unit test as well. https://codereview.chromium.org/12385037/diff/5001/tools/crx_id/crx_id_unittest.py File tools/crx_id/crx_id_unittest.py (right): ...
7 years, 9 months ago (2013-03-01 09:05:01 UTC) #4
achuithb
I've updated the description with my changes to the unit tests. Please let me know ...
7 years, 9 months ago (2013-03-01 09:08:30 UTC) #5
jvoung (off chromium)
LGTM, thanks!
7 years, 9 months ago (2013-03-01 15:48:19 UTC) #6
achuithb
On 2013/03/01 15:48:19, jvoung (cr) wrote: > LGTM, thanks! Thank you!
7 years, 9 months ago (2013-03-01 19:10:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/12385037/5
7 years, 9 months ago (2013-03-01 19:13:45 UTC) #8
achuithb
7 years, 9 months ago (2013-03-01 19:32:12 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r185567 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698