#include "third_party/blink/public/web/web_node.h"
#include <memory>
#include "base/test/mock_callback.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/web_dom_event.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_element_collection.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
namespace blink {
class WebNodeTest : public PageTestBase { … };
TEST_F(WebNodeTest, QuerySelectorMatches) { … }
TEST_F(WebNodeTest, QuerySelectorDoesNotMatch) { … }
TEST_F(WebNodeTest, QuerySelectorError) { … }
TEST_F(WebNodeTest, GetElementsByHTMLTagName) { … }
class WebNodeSimTest : public SimTest { … };
TEST_F(WebNodeSimTest, IsFocused) { … }
TEST_F(WebNodeTest, CannotFindTextInElementThatIsNotAContainer) { … }
TEST_F(WebNodeTest, CanFindTextInElementThatIsAContainer) { … }
TEST_F(WebNodeTest, CanFindCaseInsensitiveTextInElement) { … }
TEST_F(WebNodeTest, CannotFindTextInElementIfValidatorRejectsIt) { … }
TEST_F(WebNodeTest, CanFindTextInReadonlyTextInputElement) { … }
TEST_F(WebNodeTest, CannotFindTextInNonTextInputElement) { … }
TEST_F(WebNodeTest, CannotFindTextInNonReadonlyTextInputElement) { … }
TEST_F(WebNodeTest, AddEventListener) { … }
}