Lines Matching defs:TestParse
30 static ::testing::AssertionResult TestParse(
39 EXPECT_FALSE(TestParse("en-sw600dp-ldrtl"));
40 EXPECT_FALSE(TestParse("land-en"));
41 EXPECT_FALSE(TestParse("hdpi-320dpi"));
45 EXPECT_FALSE(TestParse("en-sw600dp-ILLEGAL"));
49 EXPECT_FALSE(TestParse("en-sw600dp-land-"));
54 EXPECT_TRUE(TestParse("", &config));
57 EXPECT_TRUE(TestParse("fr-land", &config));
61 TestParse("mcc310-pl-sw720dp-normal-long-port-night-"
71 EXPECT_TRUE(TestParse("en-rUS", &config));
77 EXPECT_TRUE(TestParse("sw600dp", &config));
80 EXPECT_TRUE(TestParse("sw600dp-v8", &config));
86 EXPECT_TRUE(TestParse("car", &config));
92 EXPECT_TRUE(TestParse("round", &config));
98 EXPECT_TRUE(TestParse("notround", &config));
107 EXPECT_TRUE(TestParse("widecg", &config));
113 EXPECT_TRUE(TestParse("nowidecg", &config));
122 EXPECT_TRUE(TestParse("highdr", &config));
128 EXPECT_TRUE(TestParse("lowdr", &config));
137 EXPECT_TRUE(TestParse("vrheadset", &config));