Lines Matching refs:kResDir

59   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()
80 const std::string path2_out = BuildPath({kResDir, "drawable_image.9.png.flat"}); in TEST_F()
82 ASSERT_EQ(TestCompile(path2, kResDir, /** legacy */ false, diag), 0); in TEST_F()
84 ASSERT_EQ(TestCompile(path2, kResDir, /** legacy */ true, diag), 0); in TEST_F()
88 const std::string path3 = BuildPath({kResDir, "values", "values.all.xml"}); in TEST_F()
89 const std::string path3_out = BuildPath({kResDir, "values_values.all.arsc.flat"}); in TEST_F()
91 ASSERT_NE(TestCompile(path3, kResDir, /** legacy */ false, diag), 0); in TEST_F()
93 ASSERT_EQ(TestCompile(path3, kResDir, /** legacy */ true, diag), 0); in TEST_F()
96 const std::string path4 = BuildPath({kResDir, "drawable", "image.small.png"}); in TEST_F()
97 const std::string path4_out = BuildPath({kResDir, "drawable_image.small.png.flat"}); in TEST_F()
99 ASSERT_NE(TestCompile(path4, kResDir, /** legacy */ false, diag), 0); in TEST_F()
101 ASSERT_EQ(TestCompile(path4, kResDir, /** legacy */ true, diag), 0); in TEST_F()
104 const std::string path5 = BuildPath({kResDir, "drawable", "image.small.9.png"}); in TEST_F()
105 const std::string path5_out = BuildPath({kResDir, "drawable_image.small.9.png.flat"}); in TEST_F()
107 ASSERT_NE(TestCompile(path5, kResDir, /** legacy */ false, diag), 0); in TEST_F()
109 ASSERT_EQ(TestCompile(path5, kResDir, /** legacy */ true, diag), 0); in TEST_F()
116 const std::string kResDir = BuildPath({android::base::Dirname(android::base::GetExecutablePath()), in TEST_F() local
125 args.push_back(kResDir); in TEST_F()