chromium/ui/base/interaction/interaction_test_util_unittest.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/interaction/interaction_test_util.h"

#include <string>

#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/interaction/element_test_util.h"
#include "ui/events/event_constants.h"

#if !BUILDFLAG(IS_IOS)
#include "ui/base/accelerators/accelerator.h"
#endif

namespace ui::test {

namespace {

DEFINE_LOCAL_ELEMENT_IDENTIFIER_VALUE();
const ElementContext kTestElementContext(1);

class MockInteractionSimulator : public InteractionTestUtil::Simulator {};

}  // namespace

TEST(InteractionTestUtilTest, PressButton) {}

TEST(InteractionTestUtilTest, SelectMenuItem) {}

TEST(InteractionTestUtilTest, DoDefaultAction) {}

TEST(InteractionTestUtilTest, SelectTab) {}

TEST(InteractionTestUtilTest, SelectDropdownItem) {}

TEST(InteractionTestUtilTest, EnterText) {}

TEST(InteractionTestUtilTest, ActivateSurface) {}

#if !BUILDFLAG(IS_IOS)
TEST(InteractionTestUtilTest, SendAccelerator) {}
#endif  // !BUILDFLAG(IS_IOS)

TEST(InteractionTestUtilTest, Confirm) {}

TEST(InteractionTestUtilTest, TwoSimulators_FirstSucceeds) {}

TEST(InteractionTestUtilTest, TwoSimulators_SecondSucceeds) {}

TEST(InteractionTestUtilTest, TwoSimulators_FirstFails) {}

TEST(InteractionTestUtilTest, TwoSimulators_SecondFails) {}

TEST(InteractionTestUtilTest, TwoSimulators_FirstUnsupported) {}

TEST(InteractionTestUtilTest, TwoSimulators_SecondUnsupported) {}

}  // namespace ui::test