Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/cmd/
DConvert_test.cpp37 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
38 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
41 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
51 const std::string out_convert_apk = GetTestPath("out_convert.apk"); in TEST_F()
74 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
75 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
78 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
88 const std::string out_convert_apk = GetTestPath("out_convert.apk"); in TEST_F()
119 const std::string out_convert_apk = GetTestPath("out_convert.apk"); in TEST_F()
155 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
[all …]
DLink_test.cpp37 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
38 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
41 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
64 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
65 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
68 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
96 WriteFile(GetTestPath("assets/testtxt"), content); in TEST_F()
97 WriteFile(GetTestPath("assets/testtxt2"), content); in TEST_F()
98 WriteFile(GetTestPath("assets/test.txt"), content); in TEST_F()
99 WriteFile(GetTestPath("assets/test.hello.txt"), content); in TEST_F()
[all …]
DApkInfo_test.cpp51 auto out_info_path = GetTestPath("apk_info.pb"); in TEST_F()
65 auto out_info_path = GetTestPath("apk_info.pb"); in TEST_F()
DCompile_test.cpp196 const std::string source_file = ctf->GetTestPath("/res/values/" + file_name + ".xml"); in AssertTranslations()
197 const std::string compiled_files_dir = ctf->GetTestPath("/compiled_" + file_name); in AssertTranslations()
198 const std::string out_apk = ctf->GetTestPath("/" + file_name + ".apk"); in AssertTranslations()
275 const std::string path_values_colors = GetTestPath("values/colors.xml"); in TEST_F()
280 const std::string path_layout_layout_one = GetTestPath("layout/layout_one.xml"); in TEST_F()
/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp85 const std::string static_lib_compiled_files_dir = GetTestPath("static-lib-compiled"); in TEST_F()
86 ASSERT_TRUE(CompileFile(GetTestPath("res/values/values.xml"), in TEST_F()
93 const std::string static_lib_apk = GetTestPath("static_lib.apk"); in TEST_F()
104 const std::string app_compiled_files_dir = GetTestPath("app-compiled"); in TEST_F()
105 ASSERT_TRUE(CompileFile(GetTestPath("res/values/values.xml"), in TEST_F()
112 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
/frameworks/base/tools/aapt2/util/
DFiles_test.cpp75 const std::string args_file = GetTestPath("args.txt"); in TEST_F()
89 ASSERT_FALSE(AppendArgsFromFile(GetTestPath("not_found.txt"), &args, &error)); in TEST_F()
93 const std::string args_file = GetTestPath("args.txt"); in TEST_F()
107 ASSERT_FALSE(AppendSetArgsFromFile(GetTestPath("not_found.txt"), &args, &error)); in TEST_F()
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp131 std::string output_path = GetTestPath("output"); in TEST_F()
153 std::string output_path = GetTestPath("output"); in TEST_F()
179 std::string output_path = GetTestPath("output"); in TEST_F()
191 std::string output_path = GetTestPath("output.apk"); in TEST_F()
213 std::string output_path = GetTestPath("output.apk"); in TEST_F()
239 std::string output_path = GetTestPath("output.apk"); in TEST_F()
252 std::string output_path = GetTestPath("output.apk"); in TEST_F()
275 std::string output_path = GetTestPath("output.apk"); in TEST_F()
298 std::string output_path = GetTestPath("output.apk"); in TEST_F()
/frameworks/base/tools/aapt2/test/
DFixture.h51 std::string GetTestPath(android::StringPiece path) { in GetTestPath() function
DFixture.cpp141 const std::string manifest_file = GetTestPath("AndroidManifest.xml");