chromium/third_party/blink/renderer/core/html/forms/html_form_control_element_test.cc

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

#include "third_party/blink/renderer/core/html/forms/html_form_control_element.h"

#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/page/scoped_page_pauser.h"
#include "third_party/blink/renderer/core/page/validation_message_client.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"

namespace blink {

FormControlType;

namespace {
class MockFormValidationMessageClient
    : public GarbageCollected<MockFormValidationMessageClient>,
      public ValidationMessageClient {};
}  // namespace

class HTMLFormControlElementTest : public PageTestBase {};

void HTMLFormControlElementTest::SetUp() {}

TEST_F(HTMLFormControlElementTest, customValidationMessageTextDirection) {}

TEST_F(HTMLFormControlElementTest, UpdateValidationMessageSkippedIfPrinting) {}

TEST_F(HTMLFormControlElementTest, DoNotUpdateLayoutDuringDOMMutation) {}

class HTMLFormControlElementFormControlTypeTest
    : public HTMLFormControlElementTest,
      public testing::WithParamInterface<
          std::tuple<const char*, const char*, FormControlType>> {};

TEST_P(HTMLFormControlElementFormControlTypeTest, FormControlType) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace blink