summaryrefslogtreecommitdiffstats
path: root/chrome/common/notification_service_unittest.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 23:46:26 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-22 23:46:26 +0000
commit31832fbaa6a59e8d698a230068bf49ab3e062128 (patch)
treed24f28f9bd4796a7fc92798ead1e65f7c0218e59 /chrome/common/notification_service_unittest.cc
parent2c42f0e0813fbcd9ae15953f552e3483f95c57ac (diff)
downloadchromium_src-31832fbaa6a59e8d698a230068bf49ab3e062128.zip
chromium_src-31832fbaa6a59e8d698a230068bf49ab3e062128.tar.gz
chromium_src-31832fbaa6a59e8d698a230068bf49ab3e062128.tar.bz2
Try to fix more Mac bustage.
TBR=avi Review URL: http://codereview.chromium.org/113799 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/notification_service_unittest.cc')
-rw-r--r--chrome/common/notification_service_unittest.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/common/notification_service_unittest.cc b/chrome/common/notification_service_unittest.cc
index d22b162..d65f6e5 100644
--- a/chrome/common/notification_service_unittest.cc
+++ b/chrome/common/notification_service_unittest.cc
@@ -8,10 +8,8 @@
namespace {
-class NotificationServiceTest: public testing::Test {
- protected:
- NotificationRegistrar registrar_;
-};
+// Bogus class to act as a NotificationSource for the messages.
+class TestSource {};
class TestObserver : public NotificationObserver {
public:
@@ -29,12 +27,14 @@ private:
int notification_count_;
};
-// Bogus class to act as a NotificationSource for the messages.
-class TestSource {};
-
} // namespace
+class NotificationServiceTest : public testing::Test {
+ protected:
+ NotificationRegistrar registrar_;
+};
+
TEST_F(NotificationServiceTest, Basic) {
TestSource test_source;
TestSource other_source;