summaryrefslogtreecommitdiffstats
path: root/base/condition_variable_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Mark some disabled tests as flaky to increase test coverage.phajdan.jr@chromium.org2009-10-161-2/+2
| | | | | | | | | | | | When a test doesn't hang or crash, it can run on the bots and on developers' machines. BUG=none TEST=none Review URL: http://codereview.chromium.org/269104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29279 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a whole bunch of style nits.erg@google.com2009-10-131-2/+2
| | | | | | | | (Long term intention is to add a subset of cpplint.py to the presubmit script.) Review URL: http://codereview.chromium.org/276008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28914 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in base/phajdan.jr@chromium.org2009-06-031-0/+1
| | | | | | | | Also adds more explicit #includes for needed things. Review URL: http://codereview.chromium.org/118162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17479 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the test ConditionVariableTest.MultiThreadConsumerTest until it is ↵maruel@chromium.org2009-04-201-1/+2
| | | | | | | | | | stable. BUG=10607 R=jar Review URL: http://codereview.chromium.org/79002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14028 0039d316-1c4b-4281-b951-d872f2087c98
* Typo in test is exposed as a flaky testjar@chromium.org2009-04-141-1/+1
| | | | | | | | | | | | | I recently updated these tests to reduce flakiness, but there was a typo in one line of the update. Since tasks were run serially, the total time to run N-1 tasks should be greater than or EQUAL to the task durtaion, times N-1. r=mark Review URL: http://codereview.chromium.org/74003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13640 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce flakiness of condition var unit test by reducing timing dependence.jar@chromium.org2009-04-111-40/+75
| | | | | | | | | | | | | Re-enable test, with hopes that external changes plus my changes reduce flakyness sufficiently. Also switch to using standard sleep method for better readability. bug=3599 r=mark Review URL: http://codereview.chromium.org/19729 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13557 0039d316-1c4b-4281-b951-d872f2087c98
* Test was examining a variable without first acquiring a required Lock.ralphl@chromium.org2009-03-191-7/+31
| | | | | | | Also changed Lock::AssertAcquired to be const function (it already was const, in practice, just not declared that way). Review URL: http://codereview.chromium.org/42402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12157 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
* Adds a helper class used to mark/define critical section in a class and then ↵maruel@chromium.org2008-12-171-0/+15
| | | | | | | | | | | | install controls to check that those critical sections are not violated. This CL is due the thread posted on chromium-dev: http://groups.google.com/group/chromium-dev/browse_frm/thread/30af0b63b6adb245. From Gaetano Mendola <mendola bigfoot com> Review URL: http://codereview.chromium.org/8621 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7127 0039d316-1c4b-4281-b951-d872f2087c98
* * Cleanup: move base/platform_test.h -> testing/jeremy@chromium.org2008-12-021-1/+1
| | | | | | | | * Add support for "Debug On Start" switch to MultiprocessTest::SpawnChild Review URL: http://codereview.chromium.org/13052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6227 0039d316-1c4b-4281-b951-d872f2087c98
* Move Time, TimeDelta and TimeTicks into namespace base.dsh@google.com2008-10-271-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4022 0039d316-1c4b-4281-b951-d872f2087c98
* Include bug reference for r3624.mark@chromium.org2008-10-201-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3625 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ConditionVariableTest.MultiThreadConsumerTest because it'smark@chromium.org2008-10-201-1/+2
| | | | | | | too timing-sensitive. Review URL: http://codereview.chromium.org/7671 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3624 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure Cocoa sets up its multithreaded environmentmmentovai@google.com2008-08-281-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1476 0039d316-1c4b-4281-b951-d872f2087c98
* Move unittests that had a _test filename to _unittest. Update some missing ↵deanm@google.com2008-08-261-0/+658
tests in the SCons build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1375 0039d316-1c4b-4281-b951-d872f2087c98