Hi,
I'm writing some unittests in test_shell_tests. Some of the tests need to
run on the IO thread, but test_shell_tests uses the UI thread for its tests.
Can anyone point me to some sample code (preferably a test_shell_test) that
uses an IO thread in the test?
So far, what I've tried is
will not treat your test class as
a refcounted class.
* Access violation was my own (lame) bug.
Jenn
On Thu, Sep 24, 2009 at 11:38 AM, Jenn Braithwaite (胡慧鋒)
je...@google.comwrote:
Hi,
I'm writing some unittests in test_shell_tests. Some of the tests need to
run on the IO thread
Hi,
I want my unittest to result in my URLRequest getting a non-success status.
How do I do that?
When I use http://localhost/foo; as my URL, I get a non-success status
with os_error = -102 when testing on Vista64, but I don't know if this will
guarantee me a non-success status all the time on
looking for.
Andrew
On Fri, Sep 25, 2009 at 7:02 PM, Jenn Braithwaite (胡慧鋒)
je...@google.comwrote:
Hi,
I want my unittest to result in my URLRequest getting a non-success
status. How do I do that?
When I use http://localhost/foo; as my URL, I get a non-success status
with os_error
Even better! Thanks!
2009/9/28 Darin Fisher da...@chromium.org
URLRequest also has a SimulateError method.-Darin
On Mon, Sep 28, 2009 at 1:44 PM, Jenn Braithwaite (胡慧鋒)
je...@google.comwrote:
Thanks - url_request_test_job.h is exactly what I needed!
Jenn
On Fri, Sep 25, 2009 at 7:21
Hi,
The failure is in a unittest and only fails like this on linux. The windows
trybot is happy. The test uses HTTPTestServer (which talks to
testserver.py).
Can someone tell me what os_error of -7 means on linux?
Thanks,
Jenn
--~--~-~--~~~---~--~~
Chromium
I get the same behavior on the mac trybot too. Anyone seen this before?
On Thu, Oct 1, 2009 at 4:58 PM, Jenn Braithwaite (胡慧鋒) je...@google.comwrote:
Hi,
The failure is in a unittest and only fails like this on linux. The
windows trybot is happy. The test uses HTTPTestServer (which talks
mac and linux, I doubt it is a
try slave failure... ?
Jenn
On Thu, Oct 1, 2009 at 5:32 PM, Paweł Hajdan Jr. phajdan...@chromium.orgwrote:
Does it fail consistently? If so, could you post a link to your CL?
On Thu, Oct 1, 2009 at 17:30, Jenn Braithwaite (胡慧鋒) je...@google.comwrote:
I get
.
On Thu, Oct 1, 2009 at 4:58 PM, Jenn Braithwaite (胡慧鋒)
je...@google.comwrote:
Hi,
The failure is in a unittest and only fails like this on linux. The
windows trybot is happy. The test uses HTTPTestServer (which talks to
testserver.py).
Can someone tell me what os_error of -7 means on linux