Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DKeyguardControllerStateTest.java33 List<String> testOutput = new ArrayList<String>(); in testCreate_invalidOutput() local
34 testOutput.add("mSleepTimeout=false"); in testCreate_invalidOutput()
35 testOutput.add(" mCurTaskIdForUser={0=2}"); in testCreate_invalidOutput()
36 testOutput.add(" mUserStackInFront={}"); in testCreate_invalidOutput()
37 KeyguardControllerState state = KeyguardControllerState.create(testOutput); in testCreate_invalidOutput()
46 List<String> testOutput = new ArrayList<String>(); in testCreate() local
47 testOutput.add("KeyguardController:"); in testCreate()
48 testOutput.add(" mKeyguardShowing=true"); in testCreate()
49 testOutput.add(" mKeyguardGoingAway=false"); in testCreate()
50 testOutput.add(" mOccluded=false"); in testCreate()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DKeyguardStatusCheckerTest.java88 List<String> testOutput = new ArrayList<String>(); in createKeyguardState() local
89 testOutput.add("KeyguardController:"); in createKeyguardState()
90 testOutput.add(String.format(" mKeyguardShowing=%s", showing)); in createKeyguardState()
91 testOutput.add(" mKeyguardGoingAway=false"); in createKeyguardState()
92 testOutput.add(String.format(" mOccluded=%s", occluded)); in createKeyguardState()
93 return KeyguardControllerState.create(testOutput); in createKeyguardState()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java338 String testOutput = result.getStderr(); in runSinglePythonFile() local
344 testOutput = FileUtil.readStringFromFile(testOutputFile); in runSinglePythonFile()
352 if (!testOutput.contains("TEST_RUN_STARTED")) { in runSinglePythonFile()
360 pythonParser.processNewLines(testOutput.split("\n")); in runSinglePythonFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostGTestTest.java347 String testOutput = new String(mFakeReceiver.getReceivedOutput(), StandardCharsets.UTF_8); in testTestFailureHandledCorrectly() local
348 assertEquals("TEST FAILED\n", testOutput); in testTestFailureHandledCorrectly()
393 String testOutput = new String(mFakeReceiver.getReceivedOutput(), StandardCharsets.UTF_8); in testBothStdoutAndStderrCollected() local
394 assertEquals(expected, testOutput); in testBothStdoutAndStderrCollected()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java579 String testOutput = "TEST_RUN_STARTED {\"testCount\": 5, \"runName\": \"TestSuite\"}"; in testRun_useTestOutputFileOptionSet_logsTestOutput() local
582 newCommandResult(CommandStatus.SUCCESS, "NOT TEST OUTPUT"), testOutput); in testRun_useTestOutputFileOptionSet_logsTestOutput() local
584 anyObject(), eq(LogDataType.TEXT), inputStreamSourceContainsText(testOutput)); in testRun_useTestOutputFileOptionSet_logsTestOutput()