Home
last modified time | relevance | path

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

/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DSimpleCompilationTest.java70 copyResourceTo("/layout/basic_layout.xml", in testMultipleConfigs()
72 copyResourceTo("/layout/basic_layout.xml", in testMultipleConfigs()
98 copyResourceTo(resource, targetFile); in singleFileErrorTest()
125 copyResourceTo("/layout/undefined_variable_binding.xml", in testMultipleExceptionsInDifferentFiles()
127 copyResourceTo("/layout/invalid_setter_binding.xml", in testMultipleExceptionsInDifferentFiles()
202 copyResourceTo("/layout/root_tag.xml", "/app/src/main/res/layout/root_tag.xml"); in testRootTag()
224copyResourceTo("/layout/basic_layout.xml", "/module1/src/main/res/layout/module_layout.xml"); in testSingleModule()
225 copyResourceTo("/layout/basic_layout.xml", "/app/src/main/res/layout/app_layout.xml"); in testSingleModule()
238copyResourceTo("/layout/basic_layout.xml", "/module1/src/main/res/layout/module_layout.xml"); in testModuleDependencyChange()
239 copyResourceTo("/layout/basic_layout.xml", "/app/src/main/res/layout/app_layout.xml"); in testModuleDependencyChange()
[all …]
DBaseCompilationTest.java72 protected void copyResourceTo(String name, String path) throws IOException { in copyResourceTo() method in BaseCompilationTest
73 copyResourceTo(name, new File(testFolder, path)); in copyResourceTo()
76 protected void copyResourceTo(String name, String path, Map<String, String> replacements) in copyResourceTo() method in BaseCompilationTest
78 copyResourceTo(name, new File(testFolder, path), replacements); in copyResourceTo()
96 copyResourceTo(name + "/" + resourcePath, new File(target, resourcePath)); in copyResourceDirectory()
138 protected void copyResourceTo(String name, File targetFile) throws IOException { in copyResourceTo() method in BaseCompilationTest
157 protected void copyResourceTo(String name, File targetFile, Map<String, String> replacements) in copyResourceTo() method in BaseCompilationTest
160 copyResourceTo(name, targetFile); in copyResourceTo()
210 copyResourceTo("/AndroidManifest.xml", in prepareApp()
212 copyResourceTo("/project_build.gradle", new File(testFolder, "build.gradle"), replacements); in prepareApp()
[all …]
DMultiLayoutVerificationTest.java42 copyResourceTo("/layout/layout_with_class_name.xml", in testMultipleLayoutFilesWithNameMismatch()
45 copyResourceTo("/layout/layout_with_class_name.xml", in testMultipleLayoutFilesWithNameMismatch()
98 copyResourceTo("/layout/layout_with_variable_type.xml", in testMultipleLayoutFilesVariableMismatch()
101 copyResourceTo("/layout/layout_with_variable_type.xml", in testMultipleLayoutFilesVariableMismatch()
151 copyResourceTo("/layout/layout_with_import_type.xml", in testMultipleLayoutFilesImportMismatch()
154 copyResourceTo("/layout/layout_with_import_type.xml", in testMultipleLayoutFilesImportMismatch()
202 copyResourceTo("/layout/basic_layout.xml", in testSameIdInIncludeAndView()
204 copyResourceTo("/layout/layout_with_include.xml", in testSameIdInIncludeAndView()
206 copyResourceTo("/layout/layout_with_view_id.xml", in testSameIdInIncludeAndView()