#include "ui/gfx/bidi_line_iterator.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
namespace gfx {
namespace {
class BiDiLineIteratorTest
: public testing::TestWithParam<base::i18n::TextDirection> { … };
TEST_P(BiDiLineIteratorTest, OnlyLTR) { … }
TEST_P(BiDiLineIteratorTest, OnlyRTL) { … }
TEST_P(BiDiLineIteratorTest, Mixed) { … }
TEST_P(BiDiLineIteratorTest, RTLPunctuationNoCustomBehavior) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}
}