#include "third_party/blink/renderer/core/css/selector_query.h"
#include <memory>
#include <utility>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/css/parser/css_parser.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/dom/static_node_list.h"
#include "third_party/blink/renderer/core/html/html_document.h"
#include "third_party/blink/renderer/core/html/html_html_element.h"
#include "third_party/blink/renderer/core/testing/null_execution_context.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
struct QueryTest { … };
template <unsigned length>
void RunTests(ContainerNode& scope, const QueryTest (&test_cases)[length]) { … }
}
TEST(SelectorQueryTest, NotMatchingPseudoElement) { … }
TEST(SelectorQueryTest, LastOfTypeNotFinishedParsing) { … }
TEST(SelectorQueryTest, StandardsModeFastPaths) { … }
TEST(SelectorQueryTest, FastPathScoped) { … }
TEST(SelectorQueryTest, QuirksModeSlowPath) { … }
TEST(SelectorQueryTest, DisconnectedSubtree) { … }
TEST(SelectorQueryTest, DisconnectedTreeScope) { … }
TEST(SelectorQueryTest, QueryHasPseudoClass) { … }
}