Home
last modified time | relevance | path

Searched refs:any (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DNoisyDryRunTestTest.java89 mMockListener.testStarted(Mockito.any()); in testRun()
90 mMockListener.testEnded(Mockito.any(), Mockito.<HashMap<String, Metric>>any()); in testRun()
91 mMockListener.testRunEnded(Mockito.eq(0L), Mockito.<HashMap<String, Metric>>any()); in testRun()
95 mMockListener.testStarted(Mockito.any()); in testRun()
96 mMockListener.testEnded(Mockito.any(), Mockito.<HashMap<String, Metric>>any()); in testRun()
97 mMockListener.testStarted(Mockito.any()); in testRun()
98 mMockListener.testEnded(Mockito.any(), Mockito.<HashMap<String, Metric>>any()); in testRun()
99 mMockListener.testRunEnded(Mockito.eq(0L), Mockito.<HashMap<String, Metric>>any()); in testRun()
116 mMockListener.testStarted(Mockito.any()); in testRun_withKeystore()
117 mMockListener.testEnded(Mockito.any(), Mockito.<HashMap<String, Metric>>any()); in testRun_withKeystore()
[all …]
DGTestResultParserTest.java51 verify(mockRunListener, times(11)).testStarted(Mockito.any(), Mockito.anyLong()); in testParseSimpleFile()
54 (TestDescription) Mockito.any(), in testParseSimpleFile()
56 Mockito.<HashMap<String, Metric>>any()); in testParseSimpleFile()
58 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testParseSimpleFile()
72 verify(mockRunListener, times(53)).testStarted(Mockito.any(), Mockito.anyLong()); in testParseSimpleFileNoTimes()
75 (TestDescription) Mockito.any(), in testParseSimpleFileNoTimes()
77 Mockito.<HashMap<String, Metric>>any()); in testParseSimpleFileNoTimes()
79 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testParseSimpleFileNoTimes()
108 verify(mockRunListener, times(268)).testStarted(Mockito.any(), Mockito.anyLong()); in testParseLargerFile()
111 (TestDescription) Mockito.any(), in testParseLargerFile()
[all …]
DIsolatedHostTestTest.java180 verify(mListener, times(2)).testLog((String) Mockito.any(), Mockito.any(), Mockito.any()); in testUploadReportArtifacts()
281 verify(mListener).testRunStarted((String) Mockito.any(), Mockito.eq(1)); in testSimpleFailingTestLifecycle()
283 verify(mListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testSimpleFailingTestLifecycle()
286 … Mockito.eq(test), Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testSimpleFailingTestLifecycle()
288 .testLog((String) Mockito.any(), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testSimpleFailingTestLifecycle()
289 verify(mListener).testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testSimpleFailingTestLifecycle()
302 verify(mListener).testRunStarted((String) Mockito.any(), Mockito.eq(1)); in testSimplePassingTestLifecycle()
306 … Mockito.eq(test), Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testSimplePassingTestLifecycle()
308 .testLog((String) Mockito.any(), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testSimplePassingTestLifecycle()
309 verify(mListener).testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testSimplePassingTestLifecycle()
[all …]
DGTestXmlResultParserTest.java98 .testStarted((TestDescription) Mockito.any(), Mockito.anyLong()); in testParseSimpleFile()
101 (TestDescription) Mockito.any(), in testParseSimpleFile()
103 (HashMap<String, Metric>) Mockito.any()); in testParseSimpleFile()
105 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testParseSimpleFile()
126 .testStarted((TestDescription) Mockito.any(), Mockito.anyLong()); in testParseLargerFile()
129 (TestDescription) Mockito.any(), in testParseLargerFile()
131 (HashMap<String, Metric>) Mockito.any()); in testParseLargerFile()
133 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testParseLargerFile()
156 .testStarted((TestDescription) Mockito.any(), Mockito.anyLong()); in testParseWithFailures()
159 (TestDescription) Mockito.any(), in testParseWithFailures()
[all …]
DHostTestTest.java643 verify(mListener).testRunStarted((String) Mockito.any(), Mockito.eq(2)); in testRun_testcase()
645 verify(mListener).testEnded(Mockito.eq(test1), (HashMap<String, Metric>) Mockito.any()); in testRun_testcase()
647 verify(mListener).testEnded(Mockito.eq(test2), (HashMap<String, Metric>) Mockito.any()); in testRun_testcase()
648 verify(mListener).testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_testcase()
664 verify(mListener).testRunStarted((String) Mockito.any(), Mockito.eq(2)); in testRun_MetricTestCase()
675 verify(mListener).testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_MetricTestCase()
690 verify(mListener).testRunStarted((String) Mockito.any(), Mockito.eq(2)); in testRun_LogMetricTestCase()
696 .testLog(Mockito.eq("test2_log"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testRun_LogMetricTestCase()
701 verify(mListener).testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_LogMetricTestCase()
724 verify(mListener).testRunStarted((String) Mockito.any(), Mockito.eq(2)); in testRun_MetricTestCase_withOption()
[all …]
DPythonUnitTestResultParserTest.java156 .testEnded(Mockito.eq(id), Mockito.<HashMap<String, Metric>>any()); in testParseSingleTestPass()
196 .testEnded(Mockito.eq(id), Mockito.<HashMap<String, Metric>>any()); in testParseSingleTestPassWithExpectedFailure()
218 .testEnded(Mockito.eq(id), Mockito.<HashMap<String, Metric>>any()); in testParseSingleWithModuleClass()
242 .testEnded(Mockito.eq(id), Mockito.<HashMap<String, Metric>>any()); in testParseMultiTestPass()
245 .testEnded(Mockito.eq(id2), Mockito.<HashMap<String, Metric>>any()); in testParseMultiTestPass()
269 .testEnded(Mockito.eq(id), Mockito.<HashMap<String, Metric>>any()); in testParseMultiTestPassWithOneExpectedFailure()
272 .testEnded(Mockito.eq(id2), Mockito.<HashMap<String, Metric>>any()); in testParseMultiTestPassWithOneExpectedFailure()
296 .testEnded(Mockito.eq(id), Mockito.<HashMap<String, Metric>>any()); in testParseMultiTestPassWithAllExpectedFailure()
299 .testEnded(Mockito.eq(id2), Mockito.<HashMap<String, Metric>>any()); in testParseMultiTestPassWithAllExpectedFailure()
328 inOrder.verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseSingleTestFail()
[all …]
DPythonUnitTestRunnerTest.java179 (String) Mockito.any(), in getMockRunUtil()
180 (String) Mockito.any(), in getMockRunUtil()
181 (String) Mockito.any(), in getMockRunUtil()
182 (String) Mockito.any(), in getMockRunUtil()
183 (String) Mockito.any())) in getMockRunUtil()
192 (String) Mockito.any(), in verifyMockRunUtil()
193 (String) Mockito.any(), in verifyMockRunUtil()
194 (String) Mockito.any(), in verifyMockRunUtil()
195 (String) Mockito.any(), in verifyMockRunUtil()
196 (String) Mockito.any()); in verifyMockRunUtil()
[all …]
DTfTestLauncherTest.java108 (FileOutputStream) Mockito.any(), in testRun()
109 (FileOutputStream) Mockito.any(), in testRun()
111 (String) Mockito.any(), in testRun()
116 (String) Mockito.any(), in testRun()
132 (String) Mockito.any())) in testRun()
145 (String) Mockito.any(), in testRun()
146 (LogDataType) Mockito.any(), in testRun()
147 (FileInputStreamSource) Mockito.any()); in testRun()
166 verify(mMockListener, times(3)).testStarted((TestDescription) Mockito.any()); in testRun()
169 (TestDescription) Mockito.any(), Mockito.eq(new HashMap<String, Metric>())); in testRun()
[all …]
DAndroidJUnitTestTest.java351 when(mMockTestDevice.pushFile(Mockito.<File>any(), Mockito.<String>any(), Mockito.eq(true))) in testRun_includeFile()
353 when(mMockTestDevice.executeShellCommand(Mockito.<String>any())).thenReturn(""); in testRun_includeFile()
354 when(mMockTestDevice.doesFileExist(Mockito.<String>any())).thenReturn(true); in testRun_includeFile()
362 .addInstrumentationArg(Mockito.eq("testFile"), Mockito.<String>any()); in testRun_includeFile()
375 when(mMockTestDevice.pushFile(Mockito.<File>any(), Mockito.<String>any(), Mockito.eq(true))) in testRun_includeFileWithChown()
377 when(mMockTestDevice.executeShellCommand(Mockito.<String>any())).thenReturn(""); in testRun_includeFileWithChown()
378 when(mMockTestDevice.doesFileExist(Mockito.<String>any())).thenReturn(false); in testRun_includeFileWithChown()
386 .addInstrumentationArg(Mockito.eq("testFile"), Mockito.<String>any()); in testRun_includeFileWithChown()
399 when(mMockTestDevice.pushFile(Mockito.<File>any(), Mockito.<String>any(), Mockito.eq(true))) in testRun_excludeFile()
401 when(mMockTestDevice.executeShellCommand(Mockito.<String>any())).thenReturn(""); in testRun_excludeFile()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java24 import static org.mockito.ArgumentMatchers.any;
265 AdditionalMatchers.aryEq(args), isNull(), (IKeyStoreClient) any()); in testAddConfig_configHelp()
282 (IInvocationContext) any(), in testRun_oneConfig()
283 (IConfiguration) any(), in testRun_oneConfig()
284 (IRescheduler) any(), in testRun_oneConfig()
285 (ITestInvocationListener) any()); in testRun_oneConfig()
291 AdditionalMatchers.aryEq(args), isNull(), (IKeyStoreClient) any()); in testRun_oneConfig()
315 AdditionalMatchers.aryEq(args), isNull(), (IKeyStoreClient) any()); in testRemoveAllCommands()
345 (IInvocationContext) any(), in testRun_dryRun()
346 (IConfiguration) any(), in testRun_dryRun()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationMultiTest.java103 mMockConfig.setConfigurationObject(Mockito.eq("TEST_INFORMATION"), Mockito.any()); in setUp()
146 mDevice1.setOptions(Mockito.any()); in makeTwoDeviceContext()
147 mDevice1.setRecovery(Mockito.any()); in makeTwoDeviceContext()
159 mDevice2.setOptions(Mockito.any()); in makeTwoDeviceContext()
198 when(mMockLogSaver.saveLogData(Mockito.any(), Mockito.any(), Mockito.any())) in testRunBuildProvider_oneMiss()
201 when(mMockLogSaver.saveLogData(Mockito.any(), Mockito.any(), Mockito.any())) in testRunBuildProvider_oneMiss()
205 Mockito.any(), in testRunBuildProvider_oneMiss()
206 Mockito.any())) in testRunBuildProvider_oneMiss()
224 verify(mMockConfig).resolveDynamicOptions(Mockito.any()); in testRunBuildProvider_oneMiss()
231 .dumpXml(Mockito.any(), Mockito.any(), Mockito.eq(true), Mockito.eq(false)); in testRunBuildProvider_oneMiss()
[all …]
DSandboxedInvocationExecutionTest.java22 import static org.mockito.ArgumentMatchers.any;
162 .saveLogData(any(), any(), any()); in testSandboxInvocation()
228 .saveLogData(any(), any(), any()); in testParentSandboxInvocation_sharding()
231 doReturn(result).when(mMockSandbox).run(any(), any(), any()); in testParentSandboxInvocation_sharding()
254 .saveLogData(any(), any(), any()); in testParentSandboxInvocation()
258 doReturn(result).when(mMockSandbox).run(any(), any(), any()); in testParentSandboxInvocation()
265 Mockito.verify(mMockPreparer, times(0)).setUp(any()); in testParentSandboxInvocation()
266 Mockito.verify(mMockCleaner, times(0)).tearDown(any(), any()); in testParentSandboxInvocation()
307 .saveLogData(any(), any(), any()); in testInvocation_sharding_notTests()
310 doReturn(result).when(mMockSandbox).run(any(), any(), any()); in testInvocation_sharding_notTests()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DBundletoolUtilTest.java23 import static org.mockito.ArgumentMatchers.any;
108 (String) Mockito.any(), in testGenerateDeviceSpecFile()
109 (String) Mockito.any(), in testGenerateDeviceSpecFile()
110 (String) Mockito.any(), in testGenerateDeviceSpecFile()
111 (String) Mockito.any(), in testGenerateDeviceSpecFile()
112 (String) Mockito.any(), in testGenerateDeviceSpecFile()
113 (String) Mockito.any(), in testGenerateDeviceSpecFile()
114 (String) Mockito.any()); in testGenerateDeviceSpecFile()
128 (String) Mockito.any(), in testextractSplitsFromApks()
129 (String) Mockito.any(), in testextractSplitsFromApks()
[all …]
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java21 import static org.mockito.ArgumentMatchers.any;
102 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistMethod()
123 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistConstructor()
144 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistField()
165 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistImplicit()
185 verify(mStatus, times(1)).error(format.capture(), any()); in testGreylistImplicit_Invalid_MissingOnClass()
207 verify(mStatus, times(1)).error(format.capture(), any()); in testGreylistImplicit_Invalid_PresentOnMember()
229 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistMethodExpectedSignature()
248 verify(mStatus, times(1)).error(any(), any()); in testGreylistMethodExpectedSignatureWrong()
270 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistInnerClassMethod()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java19 import static org.mockito.ArgumentMatchers.any;
96 verify(mMockListener, times(0)).testRunStarted(any(), anyInt()); in testRunHostExecutable_noBinaries()
116 .testRunEnded(anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable_doesNotExists()
131 (OutputStream) Mockito.any(), in testRunHostExecutable()
132 Mockito.any(), in testRunHostExecutable()
138 verify(mMockListener, Mockito.times(0)).testRunFailed((String) any()); in testRunHostExecutable()
139 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable()
141 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRunHostExecutable()
160 (OutputStream) Mockito.any(), in testRunHostExecutable_relativePath()
161 Mockito.any(), in testRunHostExecutable_relativePath()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/device/internal/
DDeviceSnapshotHandlerTest.java21 import static org.mockito.ArgumentMatchers.any;
62 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testSnapshot()
71 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testSnapshot_error()
88 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testSnapshot_dnae()
104 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testSnapshot_runtime()
120 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testSnapshot_parseDuration()
137 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testRestoreSnapshot()
146 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testRestoreSnapshot_error()
163 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testRestoreSnapshot_dnae()
179 when(mMockClient.triggerFeature(any(), any())).thenReturn(responseBuilder.build()); in testRestoreSnapshot_runtime()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollectorTest.java111 Mockito.any(), Mockito.any(), Mockito.any()); in testProcessingFlow()
119 Mockito.any(), Mockito.any(), Mockito.any()); in testProcessingFlow()
121 .testLog(Mockito.eq("trace"), Mockito.eq(LogDataType.PERFETTO), Mockito.any()); in testProcessingFlow()
151 Mockito.any(), Mockito.any(), Mockito.any()); in testProcessingFlowWithFileSizeMetric()
159 Mockito.any(), Mockito.any(), Mockito.any()); in testProcessingFlowWithFileSizeMetric()
161 .testLog(Mockito.eq("trace"), Mockito.eq(LogDataType.PERFETTO), Mockito.any()); in testProcessingFlowWithFileSizeMetric()
191 Mockito.any(), Mockito.any(), Mockito.any()); in testCompressedProcessingFlow()
200 Mockito.any(), Mockito.any(), Mockito.any()); in testCompressedProcessingFlow()
202 Mockito.eq(LogDataType.GZIP), Mockito.any()); in testCompressedProcessingFlow()
229 Mockito.any(), Mockito.any(), Mockito.any()); in testScriptFailureStatus()
[all …]
DAtraceCollectorTest.java78 when(mMockDevice.pullFile((String) Mockito.any())).thenReturn(new File(M_TRACE_PATH_NAME)); in setUp()
110 Mockito.any(), in testStartsAtraceOnSetupNoOptions()
112 Mockito.any(), in testStartsAtraceOnSetupNoOptions()
130 Mockito.any(), in testStartsAtraceOnSetupNoCompression()
132 Mockito.any(), in testStartsAtraceOnSetupNoCompression()
149 Mockito.any(), in testStartsAtraceOnSetupCategoriesOption()
151 Mockito.any(), in testStartsAtraceOnSetupCategoriesOption()
173 Mockito.any(), in testStartsAtraceOnSetupMultipleCategoriesOption()
175 Mockito.any(), in testStartsAtraceOnSetupMultipleCategoriesOption()
190 (String) Mockito.any(), in testStartsAtraceWithNoCategoriesOption()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTestTest.java24 import static org.mockito.ArgumentMatchers.any;
138 Mockito.when(mMockRunUtil.runTimedCmd(anyLong(), any())) in testRun_withPythonBinariesOption()
156 verify(mSpyTest.getRunUtil(), times(2)).runTimedCmd(anyLong(), any()); in testRun_withPythonBinariesOption()
168 verify(mSpyTest, never()).reportLogs(any(), any()); in testRun_withPythonBinariesOption_binaryNotFound()
179 Mockito.when(mMockRunUtil.runTimedCmd(anyLong(), any())) in testRun_withParFileNameOption()
197 verify(mSpyTest.getRunUtil(), times(2)).runTimedCmd(anyLong(), any()); in testRun_withParFileNameOption()
213 verify(mSpyTest, never()).reportLogs(any(), any()); in testRun_withParFileNameOption_binaryNotFound()
215 verify(mockListener, times(1)).testRunFailed(any(FailureDescription.class)); in testRun_withParFileNameOption_binaryNotFound()
225 Mockito.when(mMockRunUtil.runTimedCmd(anyLong(), any())) in testRun_withStdLogOption()
234 anyLong(), any(OutputStream.class), any(OutputStream.class), any())) in testRun_withStdLogOption()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java79 } catch (RuntimeException any) { in testStarted()
83 CLog.e(any); in testStarted()
97 } catch (RuntimeException any) { in testAssumptionFailure()
101 CLog.e(any); in testAssumptionFailure()
117 } catch (RuntimeException any) { in testFailed()
121 CLog.e(any); in testFailed()
135 } catch (RuntimeException any) { in testIgnored()
139 CLog.e(any); in testIgnored()
177 } catch (RuntimeException any) { in testEnded()
181 CLog.e(any); in testEnded()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/multi/
DPairingMultiTargetPreparerTest.java19 import static org.mockito.ArgumentMatchers.any;
77 when(mUtil.enable(any(ITestDevice.class))).thenReturn(true); in setUp()
78 when(mUtil.pair(any(ITestDevice.class), any(ITestDevice.class))).thenReturn(true); in setUp()
80 any(ITestDevice.class), in setUp()
81 any(ITestDevice.class), in setUp()
82 any(BluetoothProfile.class), in setUp()
83 any(BluetoothAccessLevel.class))) in setUp()
86 any(ITestDevice.class), in setUp()
87 any(ITestDevice.class), in setUp()
89 any(BluetoothPriorityLevel.class))) in setUp()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterCommandLauncherTest.java142 Mockito.<File>any(), in testRun()
143 Mockito.<File>any(), in testRun()
144 Mockito.<String[]>any())) in testRun()
160 Mockito.<File>any(), in testRun()
161 Mockito.<File>any(), in testRun()
214 Mockito.<File>any(), in testRun_withTFDeviceCount()
215 Mockito.<File>any(), in testRun_withTFDeviceCount()
216 Mockito.<String[]>any())) in testRun_withTFDeviceCount()
227 Mockito.<File>any(), in testRun_withTFDeviceCount()
228 Mockito.<File>any(), in testRun_withTFDeviceCount()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DTimeStatusCheckerTest.java55 when(mMockDevice.getDeviceTimeOffset(Mockito.any())).thenReturn(2000L); in testCheckTimeDiff_small()
66 when(mMockDevice.getDeviceTimeOffset(Mockito.any())).thenReturn(15000L); in testCheckTimeDiff_large()
71 .logOnDevice(Mockito.any(), Mockito.any(), Mockito.contains("reset the time.")); in testCheckTimeDiff_large()
72 verify(mMockDevice).setDate(Mockito.any()); in testCheckTimeDiff_large()
81 when(mMockDevice.getDeviceTimeOffset(Mockito.any())).thenReturn(15000L); in testCheckTimeDiff_multiFailure()
88 .logOnDevice(Mockito.any(), Mockito.any(), Mockito.contains("reset the time.")); in testCheckTimeDiff_multiFailure()
89 verify(mMockDevice, times(2)).setDate(Mockito.any()); in testCheckTimeDiff_multiFailure()
90 verify(mMockDevice, times(2)).getDeviceTimeOffset(Mockito.any()); in testCheckTimeDiff_multiFailure()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DPythonVirtualenvPreparerTest.java33 import static org.mockito.ArgumentMatchers.any;
70 anyLong(), (String) any(), (String) any(), (String) any(), (String) any())) in testInstallDeps_reqFile_success()
81 when(mMockRunUtil.runTimedCmd(anyLong(), (String) any(), (String) any(), (String) any())) in testInstallDeps_depModule_success()
93 anyLong(), (String) any(), (String) any(), (String) any(), (String) any())) in testInstallDeps_reqFile_failure()
108 when(mMockRunUtil.runTimedCmd(anyLong(), (String) any(), (String) any(), (String) any())) in testInstallDeps_depModule_failure()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java108 mMockRunUtil.setWorkingDir(Mockito.any()); in setUp()
110 mMockRunUtil.setEnvVariable(Mockito.eq("PATH"), Mockito.any()); in setUp()
143 (OutputStream) Mockito.any(), in testRun()
158 verify(mMockRunUtil).setEnvVariable(Mockito.eq("LD_LIBRARY_PATH"), Mockito.any()); in testRun()
169 Mockito.any()); in testRun()
174 Mockito.any()); in testRun()
198 (OutputStream) Mockito.any(), in testRun_failWithIncludeFilters()
211 verify(mMockRunUtil).setEnvVariable(Mockito.eq("LD_LIBRARY_PATH"), Mockito.any()); in testRun_failWithIncludeFilters()
214 verify(mMockListener).testRunFailed((FailureDescription) Mockito.any()); in testRun_failWithIncludeFilters()
216 .testRunEnded(Mockito.anyLong(), Mockito.<HashMap<String, Metric>>any()); in testRun_failWithIncludeFilters()
[all …]

12345678910>>...16