| Index: chrome/browser/ui/gtk/accelerators_gtk_unittest.cc
|
| diff --git a/chrome/browser/ui/gtk/accelerators_gtk_unittest.cc b/chrome/browser/ui/gtk/accelerators_gtk_unittest.cc
|
| deleted file mode 100644
|
| index 00083c7b8f2166c16e1b04c5733be5247da2bc81..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/gtk/accelerators_gtk_unittest.cc
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright (c) 2011 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 <gdk/gdkkeysyms.h>
|
| -
|
| -#include "base/memory/singleton.h"
|
| -#include "chrome/app/chrome_command_ids.h"
|
| -#include "chrome/browser/ui/gtk/accelerators_gtk.h"
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| -#include "ui/base/accelerators/platform_accelerator_gtk.h"
|
| -
|
| -TEST(AcceleratorsGtkTest, GetAccelerator) {
|
| - AcceleratorsGtk* keymap = AcceleratorsGtk::GetInstance();
|
| - const ui::Accelerator* accelerator =
|
| - keymap->GetPrimaryAcceleratorForCommand(IDC_COPY);
|
| - ASSERT_TRUE(accelerator);
|
| - EXPECT_EQ(static_cast<guint>(GDK_c),
|
| - GetGdkKeyCodeForAccelerator(*accelerator));
|
| - EXPECT_EQ(GDK_CONTROL_MASK, GetGdkModifierForAccelerator(*accelerator));
|
| -}
|
| -
|
| -TEST(AcceleratorsGtkTest, GetNullAccelerator) {
|
| - AcceleratorsGtk* keymap = AcceleratorsGtk::GetInstance();
|
| - const ui::Accelerator* accelerator =
|
| - keymap->GetPrimaryAcceleratorForCommand(IDC_MinimumLabelValue - 1);
|
| - EXPECT_FALSE(accelerator);
|
| -}
|
|
|