#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h"
#include <stddef.h>
#include <stdint.h>
#include <xkbcommon/xkbcommon-names.h>
#include <string_view>
#include <tuple>
#include "base/memory/raw_ptr.h"
#include "build/chromeos_buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/dom/dom_code.h"
#include "ui/events/keycodes/dom/dom_key.h"
#include "ui/events/keycodes/keyboard_code_conversion.h"
#include "ui/events/keycodes/keyboard_codes_posix.h"
#include "ui/events/ozone/layout/scoped_keyboard_layout_engine.h"
namespace ui {
namespace {
class VkTestXkbKeyCodeConverter : public XkbKeyCodeConverter { … };
class VkTestXkbKeyboardLayoutEngine : public XkbKeyboardLayoutEngine { … };
}
class XkbLayoutEngineVkTest : public testing::Test { … };
TEST_F(XkbLayoutEngineVkTest, KeyboardCodeForPrintable) { … }
TEST_F(XkbLayoutEngineVkTest, KeyboardCodeForNonPrintable) { … }
TEST_F(XkbLayoutEngineVkTest, XkbRuleNamesForLayoutName) { … }
TEST_F(XkbLayoutEngineVkTest, GetDomCodeByKeysym) { … }
}