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

Issue 42581: - Add UI test for SunSpider.... (Closed)

Created:
11 years, 9 months ago by Patrick Johnson
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

- Add UI test for SunSpider. - Modify SunSpider to work with the UI test framework. BUG=8785 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12465

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+721 lines, -0 lines) Patch
M chrome/test/data/sunspider/README.chromium View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/data/sunspider/automation.js View 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/test/data/sunspider/json2.js View 1 chunk +478 lines, -0 lines 0 comments Download
M chrome/test/data/sunspider/sunspider-results.html View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/test/ui/sunspider_uitest.cc View 1 2 3 4 5 1 chunk +183 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_tests.scons View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/ui/ui_tests.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Patrick Johnson
11 years, 9 months ago (2009-03-24 22:31:41 UTC) #1
Pam (message me for reviews)
Nice. I'd been thinking we'd just turn sunspider back on as it was before, at ...
11 years, 9 months ago (2009-03-24 23:37:53 UTC) #2
Patrick Johnson
http://codereview.chromium.org/42581/diff/12/1019 File chrome/test/ui/sunspider_uitest.cc (right): http://codereview.chromium.org/42581/diff/12/1019#newcode74 Line 74: return false; On 2009/03/24 23:37:53, Pam wrote: > ...
11 years, 9 months ago (2009-03-25 00:50:09 UTC) #3
Pam (message me for reviews)
LGTM; one optional comment below. - Pam http://codereview.chromium.org/42581/diff/12/1019 File chrome/test/ui/sunspider_uitest.cc (right): http://codereview.chromium.org/42581/diff/12/1019#newcode74 Line 74: return ...
11 years, 9 months ago (2009-03-25 16:34:58 UTC) #4
Patrick Johnson
11 years, 9 months ago (2009-03-25 17:52:12 UTC) #5
Thanks for the review!

http://codereview.chromium.org/42581/diff/12/1019
File chrome/test/ui/sunspider_uitest.cc (right):

http://codereview.chromium.org/42581/diff/12/1019#newcode74
Line 74: return false;
On 2009/03/25 16:34:58, Pam wrote:
> On 2009/03/25 00:50:09, Patrick Johnson wrote:
> > On 2009/03/24 23:37:53, Pam wrote:
> > > Why these, here and below, rather than ASSERT_TRUE()?
> > 
> > I tried using ASSERT_TRUE(), but that causes a compiler error:
> > 
> > error C2440: 'return' : cannot convert from 'void' to 'bool'
> > 
> > I suspect, but haven't verified, that the ASSERT* functions will just insert
a
> > 'return;', assuming the return type of the function is void.
> 
> Makes sense. Perhaps add a comment to that effect, since neither you nor I
> expected it?
> 

Yeah, a comment could save someone time/confusion.  Done.

Powered by Google App Engine
This is Rietveld 408576698