History log of /external/autotest/client/cros/chameleon/resolution_comparison.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
07f2a109ded98120c7d0c1fe3b32c600d2a71c85 04-May-2015 Hung-ying Tyan <tyanh@chromium.org> Chameleon: log get_external_resolution() result as repr

The commit 031a087 changed the default return value of
get_external_resolution() from (0, 0) and (-1, -1) to None.
Several tests log the return value as tuple. It causes exceptions
being raised. This commit logs it in repr instead.

BUG=chromium:469108, chromium:482864
TEST=Run the tests to make sure the tests run.

Change-Id: Iaaa4b651a2a76664c14b979088bd93bf067f02c3
Reviewed-on: https://chromium-review.googlesource.com/268942
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Yuli Huang <yuli@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
/external/autotest/client/cros/chameleon/resolution_comparison.py
268ede2085d397df151b9ba8398f00a7b0bad18c 20-Mar-2015 Hung-ying Tyan <tyanh@chromium.org> Chameleon: catch xmlrpclib.Fault at chameleon_port.get_resolution()

This should allow some tests (especially display_HotPlugNoisy) to
retry at errors and improve test reliability.

BUG=chromium:468817
TEST=None; not able to reproduce it locally.

Change-Id: Idcf15385631790c0312f526dd567406a4fb934c8
Reviewed-on: https://chromium-review.googlesource.com/261816
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
/external/autotest/client/cros/chameleon/resolution_comparison.py
4132103bb3c20f8b51bc97b8acc72bc1bb5bb2a7 13-Dec-2014 Tom Wai-Hong Tam <waihong@chromium.org> Chameleon: Only check under mirrored mode if necessary

Checking under mirrored mode involves much resource which accesses
the Chrome extension. Only do it if necessary.

BUG=chromium:435416
TEST=Ran the display_HotPlugAtSuspend.mirrored on daisy.

Change-Id: I1b78955f3eb74a5dc99178c7545c0640d11ff2f3
Reviewed-on: https://chromium-review.googlesource.com/235446
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/chameleon/resolution_comparison.py
a435cc0a9e2feea72edb87d84dfd6ac944aef39b 13-Nov-2014 Tom Wai-Hong Tam <waihong@chromium.org> Chameleon: Add construction of resolution comparer, for supporting VGA

This change supports VGA specific resolution comparison, while slimming
the ChameleonTest class.

It introduces a ScreenUtilityFactory which creates utilities according
to the properties of the CrOS. The VgaResolutionComparer is generated, in
additional to the original ExactMatchResolutionComparer, for checking
the VGA resolution. It accepts the size of the capturing image is larger
or equal to the expected size as this is a VGA behavior.

It also changes the tests not to use the resolution from Chameleon, as
it is not the true resolution on VGA interface.

BUG=chromium:429931
TEST=Tested on Peppy by running the modified tests. Tests passed.
TEST=Tested on Parrot by running the modified tests. The resolution
comparisons passed.

Change-Id: I6ebea41b239755aa9f4a2201e583749d3dc21abe
Reviewed-on: https://chromium-review.googlesource.com/229440
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/chameleon/resolution_comparison.py