chromium/third_party/blink/renderer/core/lcp_critical_path_predictor/element_locator_test.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/core/lcp_critical_path_predictor/element_locator.h"

#include "testing/gtest/include/gtest/gtest.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/editing/testing/editing_test_base.h"
#include "third_party/blink/renderer/core/html/parser/html_token.h"
#include "third_party/blink/renderer/core/lcp_critical_path_predictor/element_locator.pb.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "third_party/googletest/src/googletest/include/gtest/gtest.h"

namespace blink {

ElementLocatorTest;

bool HasDataLocateMe(Element& element) {}

TEST_F(ElementLocatorTest, OfElement) {}

class TokenStreamMatcherTest : public ::testing::Test {};

TEST_F(TokenStreamMatcherTest, SingleId) {}

TEST_F(TokenStreamMatcherTest, SingleNth) {}

TEST_F(TokenStreamMatcherTest, CloseAPElement) {}

TEST_F(TokenStreamMatcherTest, Complicated) {}

TEST_F(TokenStreamMatcherTest, DontMatchNonImg) {}

}  // namespace blink