Lines Matching refs:ThemeService
13 int alignment = ThemeService::StringToAlignment(top_left);
14 EXPECT_EQ(ThemeService::ALIGN_TOP | ThemeService::ALIGN_LEFT,
16 EXPECT_EQ(top_left, ThemeService::AlignmentToString(alignment));
18 alignment = ThemeService::StringToAlignment("top");
19 EXPECT_EQ(ThemeService::ALIGN_TOP, alignment);
20 EXPECT_EQ("top", ThemeService::AlignmentToString(alignment));
22 alignment = ThemeService::StringToAlignment("left");
23 EXPECT_EQ(ThemeService::ALIGN_LEFT, alignment);
24 EXPECT_EQ("left", ThemeService::AlignmentToString(alignment));
26 alignment = ThemeService::StringToAlignment("right");
27 EXPECT_EQ(ThemeService::ALIGN_RIGHT, alignment);
28 EXPECT_EQ("right", ThemeService::AlignmentToString(alignment));
30 alignment = ThemeService::StringToAlignment("righttopbottom");
31 EXPECT_EQ(ThemeService::ALIGN_CENTER, alignment);
32 EXPECT_EQ("", ThemeService::AlignmentToString(alignment));
37 int alignment = ThemeService::StringToAlignment("right bottom");
38 EXPECT_EQ("bottom right", ThemeService::AlignmentToString(alignment));
41 alignment = ThemeService::StringToAlignment("new zealand");
42 EXPECT_EQ("", ThemeService::AlignmentToString(alignment));
45 alignment = ThemeService::StringToAlignment("new zealand top");
46 EXPECT_EQ("top", ThemeService::AlignmentToString(alignment));
49 alignment = ThemeService::StringToAlignment("new zealandtop");
50 EXPECT_EQ("", ThemeService::AlignmentToString(alignment));