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

Issue 10978027: Add support in iossim for simulating retina devices (Closed)

Created:
8 years, 2 months ago by lliabraa
Modified:
8 years, 2 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add support in iossim for simulating retina devices This CL sets device name in <simulator_home>/Library/Preferences/com.apple.iphonesimulator.plist, which allows the caller to specify any string in the iOS Simulator's Hardware -> Device menu (e.g. iPhone (Retina 3.5-inch)), instead of just iPhone or iPad. BUG=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=160427

Patch Set 1 #

Total comments: 2

Patch Set 2 : Allows -d (device) to be case-insensitive #

Patch Set 3 : remove blank line #

Patch Set 4 : added comment that iOS simulator must not be running for setting to take effect #

Total comments: 4

Patch Set 5 : addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -9 lines) Patch
M testing/iossim/iossim.mm View 1 2 3 4 6 chunks +29 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
lliabraa
tvl for review rohitrao for review + OWNERS
8 years, 2 months ago (2012-09-25 18:05:29 UTC) #1
TVL
lgtm https://codereview.chromium.org/10978027/diff/1/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://codereview.chromium.org/10978027/diff/1/testing/iossim/iossim.mm#newcode480 testing/iossim/iossim.mm:480: NSMutableDictionary* plistDict = might be worth a comment ...
8 years, 2 months ago (2012-09-25 19:13:23 UTC) #2
lliabraa
The script that calls this on the bot is sending 'iphone' by default so I've ...
8 years, 2 months ago (2012-10-04 15:51:39 UTC) #3
TVL
lgtm https://chromiumcodereview.appspot.com/10978027/diff/12001/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/10978027/diff/12001/testing/iossim/iossim.mm#newcode509 testing/iossim/iossim.mm:509: return range.location != NSNotFound; return range.location == 0; ...
8 years, 2 months ago (2012-10-04 16:00:48 UTC) #4
rohitrao (ping after 24h)
lgtm https://chromiumcodereview.appspot.com/10978027/diff/12001/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/10978027/diff/12001/testing/iossim/iossim.mm#newcode661 testing/iossim/iossim.mm:661: deviceName); Here I would indent more to line ...
8 years, 2 months ago (2012-10-05 12:18:34 UTC) #5
lliabraa
https://chromiumcodereview.appspot.com/10978027/diff/12001/testing/iossim/iossim.mm File testing/iossim/iossim.mm (right): https://chromiumcodereview.appspot.com/10978027/diff/12001/testing/iossim/iossim.mm#newcode509 testing/iossim/iossim.mm:509: return range.location != NSNotFound; On 2012/10/04 16:00:48, TVL wrote: ...
8 years, 2 months ago (2012-10-05 13:08:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/10978027/17001
8 years, 2 months ago (2012-10-05 13:09:15 UTC) #7
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 2 months ago (2012-10-05 14:21:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/10978027/17001
8 years, 2 months ago (2012-10-05 14:45:02 UTC) #9
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 2 months ago (2012-10-05 16:15:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lliabraa@chromium.org/10978027/17001
8 years, 2 months ago (2012-10-05 17:38:33 UTC) #11
commit-bot: I haz the power
8 years, 2 months ago (2012-10-05 18:26:49 UTC) #12
Change committed as 160427

Powered by Google App Engine
This is Rietveld 408576698