Home
last modified time | relevance | path

Searched refs:original_style (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator_test.cpp28 StyleString original_style; in TEST() local
29 original_style.str = "Hello world!"; in TEST()
30 original_style.spans = {Span{"i", 1, 10}, Span{"b", 2, 3}, Span{"b", 6, 7}}; in TEST()
33 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST()
36 EXPECT_EQ(original_style.str, new_string->value->value); in TEST()
37 ASSERT_EQ(original_style.spans.size(), new_string->value->spans.size()); in TEST()
51 original_style.spans.insert(original_style.spans.begin(), Span{"em", 0, 11u}); in TEST()
54 util::make_unique<StyledString>(pool.MakeRef(original_style)).get(), in TEST()
58 ASSERT_EQ(original_style.spans.size(), new_string->value->spans.size()); in TEST()
75 StyleString original_style; in TEST() local
[all …]