Home
last modified time | relevance | path

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

/tools/asuite/atest/bazel/reporter/javatests/com/android/tradefed/result/
DBazelXmlResultReporterTest.java61 Path xmlFile = createXmlFilePath(); in writeResultPassed_testPassed() local
62 BazelXmlResultReporter reporter = createReporter(xmlFile); in writeResultPassed_testPassed()
71 assertXmlFileContainsTagWithAttribute(xmlFile, "testcase", "result", "passed"); in writeResultPassed_testPassed()
76 Path xmlFile = createXmlFilePath(); in writeStackTrace_testFailed() local
77 BazelXmlResultReporter reporter = createReporter(xmlFile); in writeStackTrace_testFailed()
87 assertThatFileContents(xmlFile).contains("<![CDATA[this is a trace]]>"); in writeStackTrace_testFailed()
92 Path xmlFile = createXmlFilePath(); in noWriteTestCase_testIgnored() local
93 BazelXmlResultReporter reporter = createReporter(xmlFile); in noWriteTestCase_testIgnored()
103 assertThatFileContents(xmlFile).doesNotContain("<testcase"); in noWriteTestCase_testIgnored()
108 Path xmlFile = createXmlFilePath(); in writeTestCaseResultIncomplete_runFailed() local
[all …]
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DSignatureToJDiffCommandTest.kt658 val xmlFile = outputFile("api.xml", parentDir = folder) in arrange() constant
659 args += xmlFile.path in arrange()
665 xmlFile.exists(), in arrange()
666 message = "did not expect $xmlFile to be created but it was" in arrange()
669 assertEquals(expectedXml.trimIndent(), xmlFile.readText().trim()) in arrange()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DJarToJDiffCommandTest.kt190 val xmlFile = outputFile("api.xml", parentDir = folder) in Test convert android 30() constant
191 args += xmlFile.path in Test convert android 30()
194 verify { assertEquals(expectedXml.trimIndent(), xmlFile.readText().trim()) } in Test convert android 30()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DJarToJDiffCommand.kt54 private val xmlFile by in <lambda>() constant
83 createReportFile(progressTracker, codebase, xmlFile, "JDiff File") { printWriter -> in <lambda>()
DConvertJarsToSignatureFiles.kt157 val xmlFile = File(newApiFile.parentFile, "android.xml") in <lambda>() constant
158 if (xmlFile.isFile) { in <lambda>()
159 xmlFile.delete() in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DSignatureToJDiffCommand.kt115 private val xmlFile by in <lambda>() constant
160 val apiName = xmlFile.nameWithoutExtension.replace(' ', '_') in <lambda>()
161 createReportFile(progressTracker, outputApi, xmlFile, "JDiff File") { printWriter -> in <lambda>()
/tools/platform-compat/build/
Dprocess_compat_config.py64 def merge(self, xmlFile, source): argument
65 xml = ET.parse(xmlFile)
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt698 xmlFile = applyApiLevelsXml, in <lambda>()
919 xmlFile: File, in getApiLookup()
966 System.setProperty(xmlPathProperty, xmlFile.path) in getApiLookup()
970 System.setProperty(xmlPathProperty, xmlFile.path) in getApiLookup()
986 private fun createSymbolToSdkExtSinceMap(xmlFile: File): Map<String, List<SdkAndVersion>> { in createSymbolToSdkExtSinceMap()
1004 xmlFile, in createSymbolToSdkExtSinceMap()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2417 File xmlFile = FileUtil.createTempFile(xmlPrefix, ".xml"); in dumpCommandsXml() local
2418 PrintWriter writer = new PrintWriter(xmlFile); in dumpCommandsXml()
2421 String.format("Saved command dump to %s", xmlFile.getAbsolutePath())); in dumpCommandsXml()