summaryrefslogtreecommitdiffstats
path: root/chrome/browser/command_updater_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/command_updater_unittest.cc')
-rw-r--r--chrome/browser/command_updater_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/command_updater_unittest.cc b/chrome/browser/command_updater_unittest.cc
index 43762ce..0297cbc 100644
--- a/chrome/browser/command_updater_unittest.cc
+++ b/chrome/browser/command_updater_unittest.cc
@@ -19,6 +19,8 @@ class CommandUpdaterTest : public testing::Test {
class TestingCommandObserverMock : public CommandUpdater::CommandObserver {
public:
+ TestingCommandObserverMock() : enabled_(true) {}
+
virtual void EnabledStateChangedForCommand(int id, bool enabled) {
enabled_ = enabled;
}
@@ -55,7 +57,7 @@ TEST_F(CommandUpdaterTest, TestBasicAPI) {
command_updater.ExecuteCommand(2);
}
-TEST_F(CommandUpdaterTest, DISABLED_TestObservers) {
+TEST_F(CommandUpdaterTest, TestObservers) {
TestingCommandHandlerMock handler;
CommandUpdater command_updater(&handler);