#include "components/shared_highlighting/core/common/text_fragment.h"
#include "base/values.h"
#include "components/shared_highlighting/core/common/fragment_directives_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace shared_highlighting {
namespace {
base::Value TextFragmentToValue(const std::string& fragment) { … }
TEST(TextFragmentTest, FragmentToValueFromEncodedString) { … }
TEST(TextFragmentTest, FragmentToEscapedStringEmpty) { … }
TEST(TextFragmentTest, FragmentToEscapedStringEmptyTextStart) { … }
TEST(TextFragmentTest, FragmentToEscapedStringOnlyTextStart) { … }
TEST(TextFragmentTest, FragmentToEscapedStringWithTextEnd) { … }
TEST(TextFragmentTest, FragmentToEscapedStringWithPrefix) { … }
TEST(TextFragmentTest, FragmentToEscapedStringWithPrefixAndSuffix) { … }
TEST(TextFragmentTest, FragmentToEscapedStringAllWithSpecialCharacters) { … }
TEST(TextFragmentTest, FromValue) { … }
}
}