| Index: chrome/browser/chromeos/input_method/input_method_whitelist_unittest.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_whitelist_unittest.cc b/chrome/browser/chromeos/input_method/input_method_whitelist_unittest.cc
|
| deleted file mode 100644
|
| index 8718d8a13b9b79ee010fee6173e49ef71c059738..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/input_method/input_method_whitelist_unittest.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright (c) 2012 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 "base/logging.h"
|
| -#include "chrome/browser/chromeos/input_method/input_method_whitelist.h"
|
| -#include "testing/gtest/include/gtest/gtest.h"
|
| -
|
| -namespace chromeos {
|
| -namespace input_method {
|
| -
|
| -namespace {
|
| -
|
| -class InputMethodWhitelistTest : public testing::Test {
|
| - protected:
|
| - const InputMethodWhitelist whitelist_;
|
| -};
|
| -
|
| -} // namespace
|
| -
|
| -TEST_F(InputMethodWhitelistTest, TestInputMethodIdIsWhitelisted) {
|
| - EXPECT_TRUE(whitelist_.InputMethodIdIsWhitelisted("mozc"));
|
| - EXPECT_TRUE(whitelist_.InputMethodIdIsWhitelisted("xkb:us:dvorak:eng"));
|
| - EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted("mozc,"));
|
| - EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted("mozc,xkb:us:dvorak:eng"));
|
| - EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted("not-supported-id"));
|
| - EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted(","));
|
| - EXPECT_FALSE(whitelist_.InputMethodIdIsWhitelisted(""));
|
| -}
|
| -
|
| -} // namespace input_method
|
| -} // namespace chromeos
|
|
|