chromium/third_party/blink/renderer/core/css/selector_query_test.cc

// Copyright 2016 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/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"

// Uncomment to run the SelectorQueryTests for stats in a release build.
// #define RELEASE_QUERY_STATS

namespace blink {

namespace {
struct QueryTest {};

template <unsigned length>
void RunTests(ContainerNode& scope, const QueryTest (&test_cases)[length]) {}
}  // namespace

TEST(SelectorQueryTest, NotMatchingPseudoElement) {}

TEST(SelectorQueryTest, LastOfTypeNotFinishedParsing) {}

TEST(SelectorQueryTest, StandardsModeFastPaths) {}

TEST(SelectorQueryTest, FastPathScoped) {}

TEST(SelectorQueryTest, QuirksModeSlowPath) {}

TEST(SelectorQueryTest, DisconnectedSubtree) {}

TEST(SelectorQueryTest, DisconnectedTreeScope) {}

TEST(SelectorQueryTest, QueryHasPseudoClass) {}

}  // namespace blink