diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 18:07:06 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 18:07:06 +0000 |
commit | cca788bcd15283ca9d8c2443f5b309615b7e1a57 (patch) | |
tree | b5d197cdc2726bec6b6924719af96256b05a20f7 /chrome/browser/autocomplete | |
parent | 06f0eae3de48077c12dbe703f1f995427565b1c1 (diff) | |
download | chromium_src-cca788bcd15283ca9d8c2443f5b309615b7e1a57.zip chromium_src-cca788bcd15283ca9d8c2443f5b309615b7e1a57.tar.gz chromium_src-cca788bcd15283ca9d8c2443f5b309615b7e1a57.tar.bz2 |
Port 2 more unit tests. Just small differences between platforms.
This allows password_form_manager_unittest.cc and search_provider_unittest.cc
to run on linux/mac.
Review URL: http://codereview.chromium.org/118137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/search_provider_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/search_provider_unittest.cc b/chrome/browser/autocomplete/search_provider_unittest.cc index 5b81dc5..ce16482 100644 --- a/chrome/browser/autocomplete/search_provider_unittest.cc +++ b/chrome/browser/autocomplete/search_provider_unittest.cc @@ -3,6 +3,7 @@ // found in the LICENSE file. #include "base/time.h" +#include "build/build_config.h" #include "chrome/browser/autocomplete/search_provider.h" #include "chrome/browser/history/history.h" #include "chrome/browser/net/test_url_fetcher_factory.h" @@ -139,7 +140,11 @@ void SearchProviderTest::RunTillProviderDone() { return; quit_when_done_ = true; +#if defined(OS_WIN) message_loop_.Run(NULL); +#elif defined(OS_POSIX) + message_loop_.Run(); +#endif } void SearchProviderTest::QueryForInput(const std::wstring& text) { |