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

Issue 212031: Changed selenium tests to recover from test crashes/hangs. Divided perceptual... (Closed)

Created:
11 years, 3 months ago by Ken Kania
Modified:
9 years, 7 months ago
Reviewers:
Greg Spencer, bradn
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Changed selenium tests to recover from test crashes/hangs. Divided perceptual diff tests into unit test cases, which can be run alongside the selenium tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27092

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 12

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+833 lines, -713 lines) Patch
D o3d_assets/tests/screenshots/reference/cullingzsort0_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort1_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort2_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort3_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort4_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort5_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort6_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/cullingzsort7_reference.png View Binary file 0 comments Download
A o3d_assets/tests/screenshots/reference/cullingzsort8_reference.png View Binary file 0 comments Download
D o3d_assets/tests/screenshots/reference/shader-test0_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test10_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test11_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test12_reference.png View Binary file 0 comments Download
A o3d_assets/tests/screenshots/reference/shader-test13_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test1_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test2_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test3_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test4_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test5_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test6_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test7_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test8_reference.png View Binary file 0 comments Download
M o3d_assets/tests/screenshots/reference/shader-test9_reference.png View Binary file 0 comments Download
A o3d_assets/tests/screenshots/reference/stencil-example1_reference.png View Binary file 0 comments Download
A o3d_assets/tests/screenshots/reference/stencil-example2_reference.png View Binary file 0 comments Download
A o3d_assets/tests/screenshots/reference/stencil-example3_reference.png View Binary file 0 comments Download
D o3d_assets/tests/screenshots/reference/stencil_example1_reference.png View Binary file 0 comments Download
D o3d_assets/tests/screenshots/reference/stencil_example2_reference.png View Binary file 0 comments Download
o3d_assets/tests/screenshots/reference/stencil_example3_reference.png View 0 chunks +-1 lines, --1 lines 0 comments Download
M tests/selenium/javascript_unit_test_list.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/selenium/javascript_unit_tests.py View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M tests/selenium/main.py View 1 2 3 4 5 11 chunks +224 lines, -523 lines 0 comments Download
A tests/selenium/pdiff_test.py View 1 2 3 4 1 chunk +139 lines, -0 lines 0 comments Download
D tests/selenium/pulse_testrunner.py View 1 chunk +0 lines, -149 lines 0 comments Download
M tests/selenium/sample_list.txt View 1 2 2 chunks +11 lines, -8 lines 0 comments Download
M tests/selenium/samples_tests.py View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tests/selenium/selenium_constants.py View 2 chunks +4 lines, -0 lines 0 comments Download
M tests/selenium/selenium_utilities.py View 1 2 6 chunks +50 lines, -26 lines 0 comments Download
A tests/selenium/test_runner.py View 1 2 3 4 1 chunk +398 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ken Kania
11 years, 3 months ago (2009-09-21 21:59:20 UTC) #1
Greg Spencer
http://codereview.chromium.org/212031/diff/3005/6008 File tests/selenium/javascript_unit_test_list.txt (right): http://codereview.chromium.org/212031/diff/3005/6008#newcode99 Line 99: large TestStressCullingZSort pdiff_threshold(450) screenshot screenshot screenshot screenshot screenshot ...
11 years, 3 months ago (2009-09-21 23:48:18 UTC) #2
bradn
http://codereview.chromium.org/212031/diff/3005/6010 File tests/selenium/javascript_unit_tests.py (right): http://codereview.chromium.org/212031/diff/3005/6010#newcode53 Line 53: sample_path=None, options=None): nix the extra space after the ...
11 years, 3 months ago (2009-09-22 06:05:11 UTC) #3
Ken Kania
Various minor changes and tweaks.
11 years, 3 months ago (2009-09-23 23:34:29 UTC) #4
bradn
11 years, 3 months ago (2009-09-23 23:36:44 UTC) #5
Other than that LGTM

http://codereview.chromium.org/212031/diff/16005/18011
File tests/selenium/pdiff_test.py (right):

http://codereview.chromium.org/212031/diff/16005/18011#newcode81
Line 81: self.fail('Reference image for ' + self.screenshot_name + ' not found.'
+
>80

http://codereview.chromium.org/212031/diff/16005/18003
File tests/selenium/test_runner.py (right):

http://codereview.chromium.org/212031/diff/16005/18003#newcode391
Line 391: 
extra lines??

Powered by Google App Engine
This is Rietveld 408576698