summaryrefslogtreecommitdiffstats
path: root/chrome/browser/command_updater_unittest.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 22:55:07 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 22:55:07 +0000
commit131272f965eab9197a4054027e80aa48b1d70eb1 (patch)
tree09f57725673eb4aaf5a9f114a5f40e6ea36adf4b /chrome/browser/command_updater_unittest.cc
parent51048c068d9c273b9976c057832025347f5de4e9 (diff)
downloadchromium_src-131272f965eab9197a4054027e80aa48b1d70eb1.zip
chromium_src-131272f965eab9197a4054027e80aa48b1d70eb1.tar.gz
chromium_src-131272f965eab9197a4054027e80aa48b1d70eb1.tar.bz2
Re-enable this test now that I've properly initialized the result member variable.
TBR=tc Review URL: http://codereview.chromium.org/18602 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8514 0039d316-1c4b-4281-b951-d872f2087c98
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);