summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/notifier
diff options
context:
space:
mode:
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 17:07:46 +0000
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 17:07:46 +0000
commit873043ae174de16897b9c9ff84ecd0e4f07ae516 (patch)
tree22f01a6cd53d44b66e8f2162c23251bf21ea4a01 /chrome/browser/sync/notifier
parent87b7ab7648929263d2f74d4ada0a8714598433e7 (diff)
downloadchromium_src-873043ae174de16897b9c9ff84ecd0e4f07ae516.zip
chromium_src-873043ae174de16897b9c9ff84ecd0e4f07ae516.tar.gz
chromium_src-873043ae174de16897b9c9ff84ecd0e4f07ae516.tar.bz2
Build the sync unit tests:
- Remove old main(argc, argv) from syncable_unittest. - Since the old notifier target had only one unittest, merge it with the syncer tests. - Remove listener_unittest.cc entirely. - Don't compile natserver_main.cc, which has another main() - Use a test main from the test_support_unit library. This has the downside of pulling in a lot of deps we don't need, but it gives us a run_all_unittests.cc. - Fix a few compile errors in test code. TEST=unit tests pass BUG=none Review URL: http://codereview.chromium.org/205021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/notifier')
-rw-r--r--chrome/browser/sync/notifier/listener/listener_unittest.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/sync/notifier/listener/listener_unittest.cc b/chrome/browser/sync/notifier/listener/listener_unittest.cc
deleted file mode 100644
index 26697d6..0000000
--- a/chrome/browser/sync/notifier/listener/listener_unittest.cc
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-int main(int argc, char **argv) {
- testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}