#include "third_party/blink/renderer/modules/gamepad/gamepad_comparisons.h"
#include "base/test/task_environment.h"
#include "device/gamepad/public/cpp/gamepad.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/modules/gamepad/gamepad.h"
#include "third_party/blink/renderer/platform/testing/main_thread_isolate.h"
namespace blink {
class GamepadComparisonsTest : public testing::Test { … };
TEST_F(GamepadComparisonsTest, EmptyListCausesNoActivation) { … }
TEST_F(GamepadComparisonsTest, NeutralGamepadCausesNoActivation) { … }
TEST_F(GamepadComparisonsTest, AxisTiltCausesNoActivation) { … }
TEST_F(GamepadComparisonsTest, ButtonDownCausesActivation) { … }
TEST_F(GamepadComparisonsTest, CompareEmptyLists) { … }
TEST_F(GamepadComparisonsTest, CompareNeutrals) { … }
TEST_F(GamepadComparisonsTest, CompareEmptyListWithNeutral) { … }
TEST_F(GamepadComparisonsTest, CompareNeutralWithEmptyList) { … }
TEST_F(GamepadComparisonsTest, CompareNeutralWithAxisTilt) { … }
TEST_F(GamepadComparisonsTest, CompareNeutralWithButtonDown) { … }
TEST_F(GamepadComparisonsTest, CompareButtonDownWithNeutral) { … }
TEST_F(GamepadComparisonsTest, CompareNeutralWithButtonTouched) { … }
TEST_F(GamepadComparisonsTest, CompareButtonTouchedWithButtonJustDown) { … }
TEST_F(GamepadComparisonsTest, CompareButtonJustDownWithButtonDown) { … }
TEST_F(GamepadComparisonsTest, CompareButtonDownWithButtonJustDown) { … }
TEST_F(GamepadComparisonsTest, CompareButtonJustDownWithButtonTouched) { … }
TEST_F(GamepadComparisonsTest, CompareButtonTouchedWithNeutral) { … }
TEST_F(GamepadComparisonsTest, CompareDifferentTouch) { … }
TEST_F(GamepadComparisonsTest, CompareDifferentSurface) { … }
TEST_F(GamepadComparisonsTest, CompareDifferentTouchId) { … }
TEST_F(GamepadComparisonsTest, CompareSameTouch1) { … }
TEST_F(GamepadComparisonsTest, CompareSameTouch2) { … }
TEST_F(GamepadComparisonsTest, CompareSurfaceNoSurfaceTouch) { … }
TEST_F(GamepadComparisonsTest, CompareDifferentSurfaceTouch) { … }
}