/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestResultParserTest.java | 40 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 …]
|
D | GTestXmlResultParserTest.java | 80 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
|
D | GTestListTestParserTest.java | 43 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
|
D | GoogleBenchmarkResultParserTest.java | 101 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
|
D | PythonUnitTestResultParserTest.java | 544 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/ |
D | StreamUtilTest.java | 41 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
|
D | SubprocessTestResultsParserTest.java | 90 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/ |
D | RustTestResultParserTest.java | 101 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
|
D | RustTestBaseTest.java | 97 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/ |
D | DataSourceFromRAFTest.java | 76 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource() 80 Files.write(tmp.toPath(), contents); in createDataSource() local
|
D | InMemoryDataSinkDataSourceTest.java | 29 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
|
D | DataSourceFromByteBufferTest.java | 47 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
|
D | DataSourceFromRAFChunkTest.java | 73 protected CloseableWithDataSource createDataSource(byte[] contents) throws IOException { in createDataSource()
|
D | DataSourceTestBase.java | 41 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/ |
D | IncidentReportCollectorTest.java | 116 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/ |
D | CsvReader.java | 43 List<String> contents = mSplitter.splitToList(line); in CsvReader() local
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 298 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/ |
D | StreamUtil.java | 64 final String contents; in getStringFromSource() local 100 final ByteArrayList contents; in getByteArrayListFromSource() local
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | MediaPlayerStressTest.java | 162 String contents; in parseOutputFile() local
|
D | VideoEditingPerformanceTest.java | 206 String contents; in parseOutputFile() local
|
D | VideoEditingMemoryTest.java | 217 String contents; in parseOutputFile() local
|
D | MediaMemoryTest.java | 226 String contents; in parseOutputFile() local
|
D | MediaStressTest.java | 138 String contents; in parseOutputFile() local
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/ |
D | CoverageMeasurementForwarderTest.java | 213 private File mockBuildArtifact(ByteString contents) throws IOException { in mockBuildArtifact()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | FileDownloadCacheTest.java | 367 String contents = StreamUtil.getStringFromStream(new FileInputStream(fileCopy)); in assertFetchRemoteFile() local
|