on xenial help sign in
Added desktop nexus 10 scenario details.
commit0d0f28a4a0457c0b0480e613d50a3fdf4e9fa7aa authorChristopher Lee <chris.lee@canonical.com> dateWed 17 Jul 2013, 17:21 (13 years ago) parent1a74d99
1 file changed+4−2
tests/autopilot/unity8/shell/tests/__init__.py+4−2
tests/autopilot/unity8/shell/tests/__init__.py+4−2
@@ -31,8 +31,10 @@ class FormFactors(object):
3131
3232def _get_device_emulation_scenarios():
3333 if model() == 'Desktop':
34− # return [ ('Desktop Nexus 4', dict(app_width=384, app_height=640, grid_unit_px=18)) ]
35− return [ ('Desktop Nexus 4', dict(app_width=768, app_height=1280, grid_unit_px=18)) ]
34+ return [
35+ ('Desktop Nexus 4', dict(app_width=768, app_height=1280, grid_unit_px=18)),
36+ ('Desktop Nexus 10', dict(app_width=2560, app_height=1600, grid_unit_px=20)),
37+ ]
3638 else:
3739 return [ ('Native Device', dict(app_width=0, app_height=0, grid_unit_px=0)) ]
3840