#include "third_party/blink/renderer/core/dom/document_statistics_collector.h"
#include <memory>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_distillability.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/html_head_element.h"
#include "third_party/blink/renderer/core/html/html_link_element.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
const unsigned kTextContentLengthSaturation = …;
const unsigned kParagraphLengthThreshold = …;
class DocumentStatisticsCollectorTest : public PageTestBase { … };
void DocumentStatisticsCollectorTest::SetHtmlInnerHTML(
const String& html_content) { … }
TEST_F(DocumentStatisticsCollectorTest, HasOpenGraphArticle) { … }
TEST_F(DocumentStatisticsCollectorTest, NoOpenGraphArticle) { … }
TEST_F(DocumentStatisticsCollectorTest, CountElements) { … }
TEST_F(DocumentStatisticsCollectorTest, CountScore) { … }
TEST_F(DocumentStatisticsCollectorTest, CountScoreSaturation) { … }
}