Searched defs:TestParse (Results 1 - 3 of 3) sorted by path
/frameworks/base/tools/aapt/tests/ |
H A D | AaptConfig_test.cpp | 27 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { function 34 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { function 35 return TestParse(String8(input), config); 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("f [all...] |
H A D | AaptGroupEntry_test.cpp | 26 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const String8& dirName, function 34 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const char* input, function 36 return TestParse(entry, String8(input), outType); 42 EXPECT_TRUE(TestParse(entry, "menu", &type)); 49 EXPECT_TRUE(TestParse(entry, "anim", &type)); 52 EXPECT_TRUE(TestParse(entry, "animator", &type));
|
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription_test.cpp | 27 static ::testing::AssertionResult TestParse(const StringPiece& input, function in namespace:aapt 36 EXPECT_FALSE(TestParse("en-sw600dp-ldrtl")); 37 EXPECT_FALSE(TestParse("land-en")); 38 EXPECT_FALSE(TestParse("hdpi-320dpi")); 42 EXPECT_FALSE(TestParse("en-sw600dp-ILLEGAL")); 46 EXPECT_FALSE(TestParse("en-sw600dp-land-")); 51 EXPECT_TRUE(TestParse("", &config)); 54 EXPECT_TRUE(TestParse("fr-land", &config)); 57 EXPECT_TRUE(TestParse("mcc310-pl-sw720dp-normal-long-port-night-" 65 EXPECT_TRUE(TestParse("e [all...] |
Completed in 79 milliseconds