chromium/third_party/blink/renderer/core/exported/web_node_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/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) {}

// Tests that AddEventListener() registers and deregisters a listener.
TEST_F(WebNodeTest, AddEventListener) {}

}  // namespace blink