Home
last modified time | relevance | path

Searched defs:contents (Results 1 – 25 of 43) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestResultParserTest.java40 String[] contents = readInFile(GTEST_OUTPUT_FILE_1); in testParseSimpleFile() local
64 String[] contents = readInFile(GTEST_OUTPUT_FILE_2); in testParseSimpleFileNoTimes() local
88 String[] contents = readInFile(GTEST_OUTPUT_FILE_3); in testParseNoTests() local
104 String[] contents = readInFile(GTEST_OUTPUT_FILE_4); in testParseLargerFile() local
130 String[] contents = readInFile(GTEST_OUTPUT_FILE_5); in testParseWithFailures() local
189 String[] contents = readInFile(GTEST_OUTPUT_FILE_6); in testParseWithErrors() local
240 String[] contents = readInFile(GTEST_OUTPUT_FILE_7); in testParseNonAlignedTag() local
266 String[] contents = readInFile(GTEST_OUTPUT_FILE_8); in testParseSimpleFile_AltFormat() local
321 String[] contents = readInFile(GTEST_OUTPUT_FILE_9); in testParseSimpleFile_LinkError() local
349 String[] contents = readInFile(GTEST_OUTPUT_FILE_10); in testParseSimpleFile_earlyError() local
[all …]
DGTestXmlResultParserTest.java80 File contents = readInFile(GTEST_OUTPUT_FILE_1); in testParseSimpleFile() local
112 File contents = readInFile(GTEST_OUTPUT_FILE_2); in testParseLargerFile() local
142 File contents = readInFile(GTEST_OUTPUT_FILE_3); in testParseWithFailures() local
179 File contents = FileUtil.createTempFile("test", ".xml"); in testParseWithEmptyFile() local
202 File contents = readInFile(GTEST_OUTPUT_FILE_4); in testParseUnexpectedNumberTest() local
235 File contents = readInFile(GTEST_OUTPUT_FILE_5); in testParseSimpleFile_badXmltag() local
274 File contents = FileUtil.createTempFile("test", ".xml"); in testParseWithEmptyFile_AdditionalOutput() local
296 File contents = readInFile(GTEST_OUTPUT_FILE_6); in testParseSimpleFile_skipped() local
DGTestListTestParserTest.java43 String[] contents = readInFile(GTEST_LIST_FILE_1); in testParseSimpleList() local
68 String[] contents = readInFile(GTEST_LIST_FILE_2); in testParseMultiClassList() local
92 String[] contents = readInFile(GTEST_LIST_FILE_3); in testParseMalformedList() local
108 String[] contents = readInFile(GTEST_LIST_FILE_4); in testParseSimpleList_withSpecialChar() local
145 String[] contents = readInFile(GTEST_LIST_FILE_5); in testParseParameterized() local
DGoogleBenchmarkResultParserTest.java101 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_1); in testParseSimpleFile() local
159 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_2); in testParseSimpleFile_twoTests() local
183 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_3); in testParse_contextError() local
197 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_4); in testParse_noBenchmarkResults() local
221 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_7); in testParse_benchmarkError() local
259 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_5); in testParseSimpleFile_withWarning() local
285 CollectingOutputReceiver contents = readInFile(GBENCH_OUTPUT_FILE_6); in testParse_ignore() local
DPythonUnitTestResultParserTest.java544 String[] contents = readInFile(PYTHON_OUTPUT_FILE_1); in testParseRealOutput() local
582 String[] contents = readInFile(PYTHON_OUTPUT_FILE_2); in testParseRealOutput2() local
597 String[] contents = readInFile(PYTHON_OUTPUT_FILE_3); in testParseRealOutput3() local
620 String[] contents = readInFile("python_subtest_output.txt"); in testParseSubtestOutput() local
657 String[] contents = readInFile(PYTHON_OUTPUT_FILE_1); in testParseTestResults_withIncludeFilters() local
706 String[] contents = readInFile(PYTHON_OUTPUT_FILE_1); in testParseTestResults_withExcludeFilters() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DStreamUtilTest.java41 final String contents = "this is a string"; in testGetByteArrayListFromSource() local
60 final String contents = "this is a string"; in testGetByteArrayListFromStream() local
77 final String contents = "this is a string"; in testGetStringFromSource() local
90 final String contents = "this is a string"; in testGetBufferedReaderFromInputStream() local
107 final String contents = "foo\nbar\n\foo\n"; in testCountLinesFromSource() local
117 final String contents = "this is a string"; in testGetStringFromStream() local
128 final String contents = "this is a string"; in testGetStringFromStream_withLength() local
DSubprocessTestResultsParserTest.java90 String[] contents = readInFile(SUBPROC_OUTPUT_FILE_1); in testParse_randomEvents() local
133 String[] contents = readInFile(SUBPROC_OUTPUT_FILE_2); in testParse_invalidEventOrder() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustTestResultParserTest.java101 String[] contents = readInFile(RUST_OUTPUT_FILE_1); in testParseRealOutput() local
116 String[] contents = readInFile(RUST_OUTPUT_FILE_2); in testParseRealOutput2() local
134 String[] contents = readInFile(RUST_OUTPUT_FILE_3); in testParseRealOutput3() local
DRustTestBaseTest.java97 String[] contents = readInFile(RUST_LIST_FILE_1); in testParseTestListRealOutput() local
115 String[] contents = { in testParseTestListMalformed() local
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFTest.java76 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
80 Files.write(tmp.toPath(), contents); in createDataSource() local
DInMemoryDataSinkDataSourceTest.java29 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
DDataSourceFromByteBufferTest.java47 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
DDataSourceFromRAFChunkTest.java73 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
DDataSourceTestBase.java41 protected abstract CloseableWithDataSource createDataSource(byte[] contents) throws IOException; in createDataSource()
43 protected CloseableWithDataSource createDataSource(String contents) throws IOException { in createDataSource()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DIncidentReportCollectorTest.java116 private File createFileWithBytes(byte[] contents) { in createFileWithBytes()
120 Files.write(result.toPath(), contents, StandardOpenOption.WRITE); in createFileWithBytes() local
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DCsvReader.java43 List<String> contents = mSplitter.splitToList(line); in CsvReader() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java298 ByteBuffer contents = chunk.getContents(); in next() local
342 ByteBuffer contents = chunk.getContents(); in next() local
505 public Chunk(int type, ByteBuffer header, ByteBuffer contents) { in Chunk()
609 ByteBuffer contents = chunk.getContents(); in StringPool() local
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java64 final String contents; in getStringFromSource() local
100 final ByteArrayList contents; in getByteArrayListFromSource() local
/tools/tradefederation/contrib/src/com/android/media/tests/
DMediaPlayerStressTest.java162 String contents; in parseOutputFile() local
DVideoEditingPerformanceTest.java206 String contents; in parseOutputFile() local
DVideoEditingMemoryTest.java217 String contents; in parseOutputFile() local
DMediaMemoryTest.java226 String contents; in parseOutputFile() local
DMediaStressTest.java138 String contents; in parseOutputFile() local
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarderTest.java213 private File mockBuildArtifact(ByteString contents) throws IOException { in mockBuildArtifact()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheTest.java367 String contents = StreamUtil.getStringFromStream(new FileInputStream(fileCopy)); in assertFetchRemoteFile() local

12