Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: chrome/browser/tab_menu_model_unittest.cc

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_menu_model.cc ('k') | chrome/browser/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_menu_model_unittest.cc
===================================================================
--- chrome/browser/tab_menu_model_unittest.cc (revision 68008)
+++ chrome/browser/tab_menu_model_unittest.cc (working copy)
@@ -1,26 +0,0 @@
-// Copyright (c) 2010 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 "chrome/browser/tab_menu_model.h"
-
-#include "chrome/test/menu_model_test.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "testing/platform_test.h"
-
-class TabMenuModelTest : public PlatformTest, public MenuModelTest {
-};
-
-TEST_F(TabMenuModelTest, Basics) {
- TabMenuModel model(&delegate_, true);
-
- // Verify it has items. The number varies by platform, so we don't check
- // the exact number.
- EXPECT_GT(model.GetItemCount(), 5);
-
- int item_count = 0;
- CountEnabledExecutable(&model, &item_count);
- EXPECT_GT(item_count, 0);
- EXPECT_EQ(item_count, delegate_.execute_count_);
- EXPECT_EQ(item_count, delegate_.enable_count_);
-}
« no previous file with comments | « chrome/browser/tab_menu_model.cc ('k') | chrome/browser/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698