Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp59 const std::string kResDir = BuildPath({android::base::Dirname(android::base::GetExecutablePath()), in TEST_F() local
63 const std::string path0 = BuildPath({kResDir, "values", "values.xml"}); in TEST_F()
64 const std::string path0_out = BuildPath({kResDir, "values_values.arsc.flat"}); in TEST_F()
66 ASSERT_EQ(TestCompile(path0, kResDir, /** legacy */ false, diag), 0); in TEST_F()
68 ASSERT_EQ(TestCompile(path0, kResDir, /** legacy */ true, diag), 0); in TEST_F()
71 const std::string path1 = BuildPath({kResDir, "drawable", "image.png"}); in TEST_F()
72 const std::string path1_out = BuildPath({kResDir, "drawable_image.png.flat"}); in TEST_F()
74 ASSERT_EQ(TestCompile(path1, kResDir, /** legacy */ false, diag), 0); in TEST_F()
76 ASSERT_EQ(TestCompile(path1, kResDir, /** legacy */ true, diag), 0); in TEST_F()
79 const std::string path2 = BuildPath({kResDir, "drawable", "image.9.png"}); in TEST_F()
[all …]