#include <string_view>
#include <utility>
#include "components/continuous_search/common/public/mojom/continuous_search.mojom.h"
#include "components/continuous_search/renderer/config.h"
#include "components/continuous_search/renderer/search_result_extractor_impl.h"
#include "content/public/renderer/render_frame.h"
#include "content/public/test/render_view_test.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace continuous_search {
class SearchResultExtractorImplRenderViewTest : public content::RenderViewTest { … };
TEST_F(SearchResultExtractorImplRenderViewTest, TestExtractResultsOnly) { … }
TEST_F(SearchResultExtractorImplRenderViewTest, TestExtractRelatedSearches) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractRelatedSearchesNoId) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractRelatedSearchesNoAnchors) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractRelatedSearchesNoAnchorClass) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractRelatedSearchesNoTitleClass) { … }
TEST_F(SearchResultExtractorImplRenderViewTest, TestExtractResultsNoRso) { … }
TEST_F(SearchResultExtractorImplRenderViewTest, TestExtractResultsNoDivs) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoMnrCardNoClass) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractNoMnrCardNotFirstClass) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoLinkNoAnchor) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoLinkNoHref) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoLinkEmptyHref) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoLinkWrongScheme) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoTitleNoDiv) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoTitleNoRole) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoTitleNotDivHeading) { … }
TEST_F(SearchResultExtractorImplRenderViewTest,
TestExtractResultsNoTitleNoText) { … }
}