#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_searchex.h"
#include "testing/embedder_test.h"
class FPDFSearchExEmbedderTest : public EmbedderTest { … };
TEST_F(FPDFSearchExEmbedderTest, GetCharIndexFromTextIndex) { … }
TEST_F(FPDFSearchExEmbedderTest,
GetCharIndexFromTextIndexWithNonPrintableChar) { … }
TEST_F(FPDFSearchExEmbedderTest, GetCharIndexFromTextIndexInvalid) { … }
TEST_F(FPDFSearchExEmbedderTest, GetTextIndexFromCharIndex) { … }
TEST_F(FPDFSearchExEmbedderTest,
GetTextIndexFromCharIndexWithNonPrintableChar) { … }
TEST_F(FPDFSearchExEmbedderTest, GetTextIndexFromCharIndexInvalid) { … }