Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java114 File tmpBinary = FileUtil.createTempFile("test-executable", ""); in testRunHostExecutable() local
117 setter.setOptionValue("binary", tmpBinary.getAbsolutePath()); in testRunHostExecutable()
126 Mockito.eq(tmpBinary.getAbsolutePath())); in testRunHostExecutable()
130 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable()
136 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable()
142 File tmpBinary = FileUtil.createTempFile("test-executable", ""); in testRunHostExecutable_relativePath() local
145 setter.setOptionValue("binary", tmpBinary.getAbsolutePath()); in testRunHostExecutable_relativePath()
160 tmpBinary.getParent(), tmpBinary.getName()))); in testRunHostExecutable_relativePath()
164 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable_relativePath()
170 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable_relativePath()
[all …]