History log of /external/autotest/client/cros/chameleon/mirror_comparison.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2279ebc107f9769cede7a6dccae78042841b925b 02-Nov-2016 Wai-Hong Tam <waihong@google.com> chameleon: Skip mirrored test if the image sizes are different

For mirrored test, we skip comparing if diffferent resolutions
between internal and external screens. We should extend it to
different image sizes between internal and external framebuffer
content.

BUG=chromium:661364
TEST=Ran the display_Resolution.mirrored passed on Chell.

Change-Id: I45d6bf91c642c35a174b3ba3f5dd401816c551b7
Reviewed-on: https://chromium-review.googlesource.com/407069
Commit-Ready: Wai-Hong Tam <waihong@google.com>
Tested-by: Wai-Hong Tam <waihong@google.com>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/chameleon/mirror_comparison.py
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/mirror_comparison.py
5e1bfb03b52c450d64af06c0f1b2fd83c214826a 13-Nov-2014 Tom Wai-Hong Tam <waihong@chromium.org> Chameleon: Abstract the screen comparison logic to the ScreenComparer class

This change abstracts the screen comparison logic to a new class, i.e.
ScreenComparer. It is created via the ScreenUtilityFactory, depending on
the connected interface is VGA or not. Proper configurations, like
pixel_diff_margin and wrong_pixels_margin, are preset.

It also abstracts the mirror comparison logic which checks all screens
on CrOS identical or not.

BUG=chromium:429931
TEST=Tested on Peppy by running Chameleon tests. Tests passed.
TEST=Tested on Parrot by running Chameleon tests. Tests passed.

Change-Id: I3c43269a517e3afd1e78f6a314fc33d9ddda9a6f
Reviewed-on: https://chromium-review.googlesource.com/229669
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/chameleon/mirror_comparison.py