summaryrefslogtreecommitdiffstats
path: root/base/watchdog_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* [GTTF] Make WatchdogTest.DisarmTest faster by about 2sphajdan.jr@chromium.org2009-11-121-1/+1
| | | | | | | | | | | by really making the alarm instantly go off. TEST=none BUG=none Review URL: http://codereview.chromium.org/377029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31774 0039d316-1c4b-4281-b951-d872f2087c98
* Reset static data in Watchdog to better isolate the tests.phajdan.jr@chromium.org2009-07-281-6/+10
| | | | | | | | | TEST=none http://crbug.com/17839 Review URL: http://codereview.chromium.org/160217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21883 0039d316-1c4b-4281-b951-d872f2087c98
* Break up unit test to avoid internal timing interactions between parts.jar@chromium.org2009-06-051-4/+8
| | | | | | | | | | | | | | | Hopefully this will cure teh flaky problem under Valgrind. I also had to re-read my own code, and so I put in to minor changes to hopefully make it incrementally easier ot read. There should be no semantic changes caused by my coding changes, but the level of nested braces is reduced, which makes it easier ot see what is (supposed to be) going on. r=dank,phajdan Review URL: http://codereview.chromium.org/42266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17698 0039d316-1c4b-4281-b951-d872f2087c98
* Remove logging.h from cc files that don't use it.thestig@chromium.org2009-03-121-1/+0
| | | | | | Review URL: http://codereview.chromium.org/42155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11593 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-101-1/+0
| | | | | | | | | Normalize end of file newlines in base/. All files end in a single newline. Review URL: http://codereview.chromium.org/42011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11329 0039d316-1c4b-4281-b951-d872f2087c98
* Significantly increase timeouts to reduce flakinessjar@google.com2009-01-081-8/+7
| | | | | | | | | | | | | | | | | Several tests now "plan for success" and will terminate rapidly if all goes well (and will hang if there really is a problem). One test I just upped by a factor of 5, hoping that I'll get a timem slice within a 5 second window, rather than assuming that I'll get one within a 1 second window. I could go further, but the test now takes over 5 seconds to run, which seems like a lot of time for a trivial test. bug=5723 r=maruel Review URL: http://codereview.chromium.org/16495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7744 0039d316-1c4b-4281-b951-d872f2087c98
* Watchdog test is flaky, try relaxing timeout.dkegel@google.com2009-01-051-1/+2
| | | | | | | (2nd try at getting a review, this time with nsylvain.) Review URL: http://codereview.chromium.org/16474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7558 0039d316-1c4b-4281-b951-d872f2087c98
* Port base/watchdog to Linux.deanm@chromium.org2008-11-251-27/+15
| | | | | | | | | BUG=4632 Review URL: http://codereview.chromium.org/11326 Patch from Pawel Hajdan Jr. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6004 0039d316-1c4b-4281-b951-d872f2087c98
* Move Time, TimeDelta and TimeTicks into namespace base.dsh@google.com2008-10-271-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4022 0039d316-1c4b-4281-b951-d872f2087c98
* Move unittests that had a _test filename to _unittest. Update some missing ↵deanm@google.com2008-08-261-0/+129
tests in the SCons build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1375 0039d316-1c4b-4281-b951-d872f2087c98