Searched refs:TestParse (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/tools/aapt/tests/ |
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));
|
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...] |
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription_test.cpp | 30 static ::testing::AssertionResult TestParse( function in namespace:aapt 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("e [all...] |
H A D | ResourceParser_test.cpp | 54 ::testing::AssertionResult TestParse(const StringPiece& str) { function in class:aapt::ResourceParserTest 55 return TestParse(str, ConfigDescription{}); 58 ::testing::AssertionResult TestParse(const StringPiece& str, const ConfigDescription& config) { function in class:aapt::ResourceParserTest 78 ASSERT_TRUE(TestParse(input)); 88 ASSERT_TRUE(TestParse(input)); 98 ASSERT_FALSE(TestParse(input)); 101 ASSERT_TRUE(TestParse(input)); 109 ASSERT_TRUE(TestParse(input)); 130 ASSERT_TRUE(TestParse(input)); 138 ASSERT_TRUE(TestParse(inpu [all...] |
Completed in 52 milliseconds