#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 { … };
}
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
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) { … }
}