#ifdef UNSAFE_BUFFERS_BUILD
#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) { … }
}