#include "third_party/blink/renderer/core/inspector/inspector_highlight.h"
#include "base/test/values_test_util.h"
#include "base/values.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/accessibility/ax_context.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/inspector_protocol/crdtp/json.h"
#include "third_party/inspector_protocol/crdtp/span.h"
namespace blink {
namespace {
ParseJson;
ByRef;
Eq;
UnorderedElementsAre;
void AssertValueEqualsJSON(const std::unique_ptr<protocol::Value>& actual_value,
const std::string& json_expected) { … }
}
class InspectorHighlightTest : public testing::Test { … };
void InspectorHighlightTest::SetUp() { … }
TEST_F(InspectorHighlightTest, BuildSnapContainerInfoNoSnapAreas) { … }
TEST_F(InspectorHighlightTest, BuildSnapContainerInfoSnapAreas) { … }
TEST_F(InspectorHighlightTest, BuildSnapContainerInfoTopLevelSnapAreas) { … }
TEST_F(InspectorHighlightTest,
BuildContainerQueryContainerInfoWithoutDescendants) { … }
TEST_F(InspectorHighlightTest,
BuildContainerQueryContainerInfoWithDescendants) { … }
TEST_F(InspectorHighlightTest, BuildIsolatedElementInfo) { … }
static std::string GetBackgroundColorFromElementInfo(Element* element) { … }
TEST_F(InspectorHighlightTest, BuildElementInfo_Colors) { … }
TEST_F(InspectorHighlightTest, GridLineNames) { … }
TEST_F(InspectorHighlightTest, GridAreaNames) { … }
}