blob: 7b74d969d08e595ece3fd888dbc45e0cb0857c93 [file] [log] [blame]
// 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 "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/input_method/ibus_controller.h"
#include "chromeos/ime/ibus_bridge.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace chromeos {
namespace input_method {
TEST(IBusControllerTest, TestCreate) {
IBusBridge::Initialize();
{
scoped_ptr<IBusController> controller(IBusController::Create());
EXPECT_TRUE(controller.get());
}
IBusBridge::Shutdown();
}
} // namespace input_method
} // namespace chromeos