#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_view.h"
#include <unicode/uscript.h>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/fonts/character_range.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/fonts/font_cache.h"
#include "third_party/blink/renderer/platform/fonts/font_test_utilities.h"
#include "third_party/blink/renderer/platform/fonts/shaping/harfbuzz_shaper.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_result.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shape_result_test_info.h"
#include "third_party/blink/renderer/platform/fonts/shaping/shaping_line_breaker.h"
#include "third_party/blink/renderer/platform/testing/font_test_base.h"
#include "third_party/blink/renderer/platform/testing/font_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
namespace blink {
class ShapeResultViewTest : public FontTestBase { … };
TEST_F(ShapeResultViewTest, ExpandRange) { … }
TEST_F(ShapeResultViewTest,
ExpandRangeToIncludePartialGlyphsWithCombiningCharacter) { … }
TEST_F(ShapeResultViewTest, LatinSingleView) { … }
TEST_F(ShapeResultViewTest, ArabicSingleView) { … }
TEST_F(ShapeResultViewTest, PreviousSafeToBreak) { … }
TEST_F(ShapeResultViewTest, LatinMultiRun) { … }
TEST_F(ShapeResultViewTest, LatinCompositeView) { … }
TEST_F(ShapeResultViewTest, MixedScriptsCompositeView) { … }
TEST_F(ShapeResultViewTest, TrimEndOfView) { … }
TEST_F(ShapeResultViewTest, MarkerAndTrailingSpace) { … }
TEST_F(ShapeResultViewTest, SpacesInLTR) { … }
TEST_F(ShapeResultViewTest, SpacesInRTL) { … }
TEST_F(ShapeResultViewTest, TabulationCharactersInLTR) { … }
TEST_F(ShapeResultViewTest, TabulationCharactersInRTL) { … }
TEST_F(ShapeResultViewTest, PreviousSafeOffsetInsideView) { … }
}