diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-25 13:47:50 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-25 13:47:50 +0000 |
commit | 27abf503d7de0fde7178f8e69fe387a27f8e1d06 (patch) | |
tree | e705a05de8c4828c259f9e6c9e1f678b97c08784 /base/thread_unittest.cc | |
parent | 46f7efe3e8aaa8f26cf3a395a4208a6c715bb6d8 (diff) | |
download | chromium_src-27abf503d7de0fde7178f8e69fe387a27f8e1d06.zip chromium_src-27abf503d7de0fde7178f8e69fe387a27f8e1d06.tar.gz chromium_src-27abf503d7de0fde7178f8e69fe387a27f8e1d06.tar.bz2 |
Add superficial unit test for PrintJob. That's a start.
Add more DCHECKs.
Same as r5607 except that Thread.StopSoon is fixed.
Review URL: http://codereview.chromium.org/11534
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread_unittest.cc')
-rw-r--r-- | base/thread_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread_unittest.cc b/base/thread_unittest.cc index c1971c2..f11cb8d 100644 --- a/base/thread_unittest.cc +++ b/base/thread_unittest.cc @@ -97,8 +97,8 @@ TEST_F(ThreadTest, StopSoon) { EXPECT_TRUE(a.Start()); EXPECT_TRUE(a.message_loop()); a.StopSoon(); - EXPECT_FALSE(a.message_loop()); a.StopSoon(); + a.Stop(); EXPECT_FALSE(a.message_loop()); } |