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

Issue 7677031: Try to reduce the flankness of the PPAPI UI tests. (Closed)

Created:
9 years, 4 months ago by brettw
Modified:
9 years, 4 months ago
Reviewers:
polina
CC:
chromium-reviews
Visibility:
Public.

Description

Try to reduce the flankness of the PPAPI UI tests. Instead of a "started" and "completed" cookie, this now uses a separate cookie for each test, so that the browser can monitor progress. Now it will only time out if an individual test takes longer than the timeout, rather than an entire test case. TEST=this is BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98163

Patch Set 1 #

Total comments: 14

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -20 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 1 chunk +25 lines, -18 lines 0 comments Download
M ppapi/tests/testing_instance.h View 1 3 chunks +23 lines, -0 lines 0 comments Download
M ppapi/tests/testing_instance.cc View 1 7 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
brettw
9 years, 4 months ago (2011-08-18 21:46:37 UTC) #1
Paweł Hajdan Jr.
http://codereview.chromium.org/7677031/diff/1/chrome/test/ui/ppapi_uitest.cc File chrome/test/ui/ppapi_uitest.cc (right): http://codereview.chromium.org/7677031/diff/1/chrome/test/ui/ppapi_uitest.cc#newcode100 chrome/test/ui/ppapi_uitest.cc:100: while (true) { NOOOOOOO! If you need a loop, ...
9 years, 4 months ago (2011-08-18 22:45:13 UTC) #2
Paweł Hajdan Jr.
Sorry about my earlier comment, I was to eager to assume it's a flaky polling ...
9 years, 4 months ago (2011-08-18 22:47:20 UTC) #3
brettw
Ping.
9 years, 4 months ago (2011-08-22 22:53:19 UTC) #4
polina
Odd, for some reason overlooked this code review before. Sorry for the delay. I am ...
9 years, 4 months ago (2011-08-22 23:53:58 UTC) #5
brettw
Thanks, I did the suggestions and uploaded a new snap. http://codereview.chromium.org/7677031/diff/1/chrome/test/ui/ppapi_uitest.cc File chrome/test/ui/ppapi_uitest.cc (right): http://codereview.chromium.org/7677031/diff/1/chrome/test/ui/ppapi_uitest.cc#newcode101 ...
9 years, 4 months ago (2011-08-24 16:42:17 UTC) #6
polina
9 years, 4 months ago (2011-08-24 20:29:00 UTC) #7
On 2011/08/24 16:42:17, brettw wrote:
> Thanks, I did the suggestions and uploaded a new snap.
> 
> http://codereview.chromium.org/7677031/diff/1/chrome/test/ui/ppapi_uitest.cc
> File chrome/test/ui/ppapi_uitest.cc (right):
> 
>
http://codereview.chromium.org/7677031/diff/1/chrome/test/ui/ppapi_uitest.cc#...
> chrome/test/ui/ppapi_uitest.cc:101: std::string cookie_name =
> StringPrintf("PPAPI_PROGRESS_%d",
> Unfortunately, there's no code in common between these two projects.

Thanks.
LGTM

Powered by Google App Engine
This is Rietveld 408576698