Home
last modified time | relevance | path

Searched refs:mOutput (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DFileProtoResultReporterTest.java54 private File mOutput; field in FileProtoResultReporterTest
60 mOutput = FileUtil.createTempFile("proto-file-reporter-test", ".pb"); in setUp()
62 mReporter.setFileOutput(mOutput); in setUp()
68 FileUtil.deleteFile(mOutput); in tearDown()
76 assertEquals(0L, mOutput.length()); in testWriteResults()
84 assertTrue(mOutput.length() != 0L); in testWriteResults()
85 TestRecord record = TestRecordProtoUtil.readFromFile(mOutput); in testWriteResults()
99 setter.setOptionValue("proto-output-file", mOutput.getAbsolutePath()); in testWriteResults_periodic()
121 File currentOutput = new File(mOutput.getAbsolutePath() + index); in testWriteResults_periodic()
155 currentOutput = new File(mOutput.getAbsolutePath() + index); in testWriteResults_periodic()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DConsoleResultReporterTest.java43 private ByteArrayOutputStream mOutput; field in ConsoleResultReporterTest
47 mOutput = new ByteArrayOutputStream(); in setUp()
49 mResultReporter = new ConsoleResultReporter(new PrintStream(mOutput, true)); in setUp()
56 Truth.assertThat(mOutput.toString()).contains("FooTest#testFoo"); in testPassed()
63 Truth.assertThat(mOutput.toString()).hasLength(0); in testPassed_suppressedPassed()
72 Truth.assertThat(mOutput.toString()).contains("FooTest#testFoo"); in testFailed()
73 Truth.assertThat(mOutput.toString()).contains("this is a trace"); in testFailed()
83 Truth.assertThat(mOutput.toString()).contains("FooTest#testFoo"); in testFailed_suppressPassed()
84 Truth.assertThat(mOutput.toString()).contains("this is a trace"); in testFailed_suppressPassed()
91 Truth.assertThat(mOutput.toString()).contains("1 Tests [1 Passed]"); in testSummary()
[all …]
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationResultForwarder.java34 private OutputStream mOutput; field in IsolationResultForwarder
44 mOutput = output; in IsolationResultForwarder()
60 .writeDelimitedTo(mOutput); in testFailure()
77 .writeDelimitedTo(mOutput); in testAssumptionFailure()
95 .writeDelimitedTo(mOutput); in testStarted()
110 .writeDelimitedTo(mOutput); in testFinished()
125 .writeDelimitedTo(mOutput); in testIgnored()
141 .writeDelimitedTo(mOutput); in testRunStarted()
155 .writeDelimitedTo(mOutput); in testRunFinished()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java101 private String mOutput = null; field in MonkeyBase.CommandHelper
127 mOutput = receiver.getOutput(); in runCommand()
136 return mOutput; in getOutput()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java251 String mOutput = null; field in NativeDevice.AdbAction
285 mOutput = result.getStdout(); in run()
289 mOutput = result.getStdout(); in run()
1877 return adbAction.mOutput; in executeAdbCommand()