// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/status_icons/status_icon.h" #include "base/compiler_specific.h" #include "chrome/browser/status_icons/status_icon_observer.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/message_center/public/cpp/notifier_id.h" class MockStatusIconObserver : public StatusIconObserver { … }; // Define pure virtual functions so we can test base class functionality. class TestStatusIcon : public StatusIcon { … }; TEST(StatusIconTest, ObserverAdd) { … } TEST(StatusIconTest, ObserverRemove) { … }