/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | InvocationExecutionTest.java | 24 import static org.mockito.Mockito.verify; 119 EasyMock.verify(cleaner); in testCleanUp() 138 EasyMock.verify(cleaner); in testCleanUp_disabled() 157 EasyMock.verify(cleaner); in testCleanUp_tearDownDisabled() 219 verify(mMockLogListener).testRunStarted("runName", 3, 0); in testRun_autoRetry() 220 verify(mMockLogListener).testRunStarted("runName", 3, 1); in testRun_autoRetry() 221 verify(mMockLogListener).testRunStarted("runName", 3, 2); in testRun_autoRetry() 223 verify(mMockLogListener, times(3)) in testRun_autoRetry() 251 verify(mMockLogListener).testRunStarted("runName", 3, 0); in testRun_autoRetry_throughForwarder() 252 verify(mMockLogListener).testRunStarted("runName", 3, 1); in testRun_autoRetry_throughForwarder() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 35 import static org.mockito.Mockito.verify; 192 inOrder.verify(mInstrumentationTest).setRunnerArgs(runner.capture()); in testRun() 193 inOrder.verify(mMockTestDevice, times(2)) in testRun() 196 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun() 197 inOrder.verify(mMockListener).testStarted(eq(TEST1), anyLong()); in testRun() 198 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 199 inOrder.verify(mMockListener).testStarted(eq(TEST2), anyLong()); in testRun() 200 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 201 inOrder.verify(mMockListener).testRunEnded(1, EMPTY_STRING_MAP); in testRun() 398 inOrder.verify(mMockListener).testRunStarted(TEST_PACKAGE_VALUE, 2); in testRun_betterFailure() [all …]
|
D | HostTestTest.java | 626 EasyMock.verify(mListener); in testRun_testcase() 652 EasyMock.verify(mListener); in testRun_MetricTestCase() 677 EasyMock.verify(mListener); in testRun_LogMetricTestCase() 713 EasyMock.verify(mListener); in testRun_MetricTestCase_withOption() 732 EasyMock.verify(mListener); in testRun_testSuite() 751 EasyMock.verify(mListener); in testRun_junit3TestSuite_dynamicOptions() 770 EasyMock.verify(mListener); in testRun_testHierarchySuite() 787 EasyMock.verify(mListener); in testRun_testMethod() 884 EasyMock.verify(mListener); in testRun_multipleClass() 925 EasyMock.verify(mListener); in testRun_deviceTest() [all …]
|
D | PythonUnitTestResultParserTest.java | 23 import static org.easymock.EasyMock.verify; 143 verify(mMockListener); in testParseNoTests() 163 verify(mMockListener); in testParseSingleTestPass() 202 verify(mMockListener); in testParseSingleTestPassWithExpectedFailure() 223 verify(mMockListener); in testParseMultiTestPass() 244 verify(mMockListener); in testParseMultiTestPassWithOneExpectedFailure() 265 verify(mMockListener); in testParseMultiTestPassWithAllExpectedFailure() 293 verify(mMockListener); in testParseSingleTestFail() 320 verify(mMockListener); in testParseSubtestFailure() 349 verify(mMockListener); in testParseMultiTestFailWithExpectedFailure() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DeviceSetupTest.java | 94 EasyMock.verify(mMockDevice); in testSetup() 118 EasyMock.verify(mMockDevice); in testSetup_airplane_mode_on() 132 EasyMock.verify(mMockDevice); in testSetup_airplane_mode_off() 145 EasyMock.verify(mMockDevice); in testSetup_data_on() 158 EasyMock.verify(mMockDevice); in testSetup_data_off() 170 EasyMock.verify(mMockDevice); in testSetup_cell_on() 182 EasyMock.verify(mMockDevice); in testSetup_cell_off() 194 EasyMock.verify(mMockDevice); in testSetup_cell_auto_setting_on() 206 EasyMock.verify(mMockDevice); in testSetup_cell_auto_setting_off() 219 EasyMock.verify(mMockDevice); in testSetup_wifi_on() [all …]
|
D | PushFilePreparerTest.java | 76 EasyMock.verify(mMockDevice); in testNoop() 92 EasyMock.verify(mMockDevice); in testLocalNoExist() 112 EasyMock.verify(mMockDevice); in testRemoteNoExist() 136 EasyMock.verify(mMockDevice); in testPushFile_RemoteIsDir() 167 EasyMock.verify(mMockDevice); in testPushFile_duplicateKey() 195 EasyMock.verify(mMockDevice); in testPushDir_RemoteIsDir() 221 EasyMock.verify(mMockDevice); in testPushDir_RemoteIsFile() 254 EasyMock.verify(mMockDevice); in testRemotePush_override() 288 EasyMock.verify(mMockDevice); in testPushFileAndPush_override() 310 EasyMock.verify(mMockDevice); in testWarnOnFailure() [all …]
|
D | FastbootDeviceFlasherTest.java | 140 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetImageVersion() 158 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetCurrentSlot_fastboot() 171 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetCurrentSlot_adb() 187 EasyMock.verify(mMockDevice, mMockRunUtil); in testGetCurrentSlot_null() 215 EasyMock.verify(mMockDevice, mMockRunUtil); in testRetryGetVersionCommand() 238 EasyMock.verify(mockDevice, mMockRunUtil); in testFlashBaseband_noVersion() 261 EasyMock.verify(mMockDevice, mockZipInstaller); in testFlashUserData_testsZip() 334 EasyMock.verify(mMockDevice); in testWipeCache_exists() 359 EasyMock.verify(mMockDevice); in testWipeCache_not_exists() 382 EasyMock.verify(mMockDevice); in testWipeCache_not_exists_error() [all …]
|
D | InstallApexModuleTargetPreparerTest.java | 247 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupSuccess_removeExistingStagedApexSuccess() 271 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupSuccess_noDataUnderApexDataDirs() 304 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupSuccess_getActivatedPackageSuccess() 337 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupSuccess_withAbsoluteTestFileName() 367 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded() 401 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupFail_getActivatedPackageFail() 443 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupFail_apexActivationFailPackageNameWrong() 485 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupFail_apexActivationFailVersionWrong() 527 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupFail_apexActivationFailSourceDirWrong() 559 EasyMock.verify(mMockBuildInfo, mMockDevice); in testSetupSuccess_activatedSuccessOnQ() [all …]
|
D | AoaTargetPreparerTest.java | 24 import static org.mockito.Mockito.verify; 86 verify(mUsb).getAoaDevice(any(), eq(Duration.ofSeconds(1L))); in testSetUp() 87 verify(mPreparer).execute(eq(mDevice), eq("wake")); in testSetUp() 88 verify(mTestDevice).waitForDeviceOnline(); in testSetUp() 96 verify(mPreparer, never()).execute(eq(mDevice), any()); in testSetUp_noActions() 114 verify(mPreparer).execute(eq(mDevice), eq("wake")); in testSetUp_skipDeviceCheck() 115 verify(mTestDevice, never()).waitForDeviceOnline(); in testSetUp_skipDeviceCheck() 122 verify(mDevice).click(eq(new Point(1, 23))); in testClick() 130 verify(mDevice).longClick(eq(new Point(23, 4))); in testLongClick() 138 verify(mDevice) in testSwipe() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollectorTest.java | 95 Mockito.verify(mMockListener, times(1)).invocationStarted(Mockito.any()); in testInitAndForwarding() 96 Mockito.verify(mMockListener, times(1)).testModuleStarted(Mockito.any()); in testInitAndForwarding() 97 Mockito.verify(mMockListener, times(1)) in testInitAndForwarding() 100 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test), Mockito.anyLong()); in testInitAndForwarding() 101 Mockito.verify(mMockListener, times(1)) in testInitAndForwarding() 103 Mockito.verify(mMockListener, times(1)).testFailed(test, "trace"); in testInitAndForwarding() 104 Mockito.verify(mMockListener, times(1)).testAssumptionFailure(test, "trace"); in testInitAndForwarding() 105 Mockito.verify(mMockListener, times(1)).testIgnored(test); in testInitAndForwarding() 106 Mockito.verify(mMockListener, times(1)) in testInitAndForwarding() 111 Mockito.verify(mMockListener, times(1)).testRunFailed("test run failed"); in testInitAndForwarding() [all …]
|
D | LogcatTimingMetricCollectorTest.java | 27 import static org.mockito.Mockito.verify; 100 verify(mMockReceiver).start(); in testCollect_oneDevice_perRun() 101 verify(mMockReceiver).stop(); in testCollect_oneDevice_perRun() 102 verify(mMockReceiver).clear(); in testCollect_oneDevice_perRun() 135 verify(mMockReceiver).start(); in testCollect_multipleDevice_perRun() 136 verify(mMockReceiver).stop(); in testCollect_multipleDevice_perRun() 137 verify(mMockReceiver).clear(); in testCollect_multipleDevice_perRun() 138 verify(mockReceiver).start(); in testCollect_multipleDevice_perRun() 139 verify(mockReceiver).stop(); in testCollect_multipleDevice_perRun() 140 verify(mockReceiver).clear(); in testCollect_multipleDevice_perRun() [all …]
|
D | AtraceCollectorTest.java | 117 EasyMock.verify(mMockDevice); in testStartsAtraceOnSetupNoOptions() 140 EasyMock.verify(mMockDevice); in testStartsAtraceOnSetupNoCompression() 165 EasyMock.verify(mMockDevice); in testStartsAtraceOnSetupCategoriesOption() 192 EasyMock.verify(mMockDevice); in testStartsAtraceOnSetupMultipleCategoriesOption() 217 EasyMock.verify(mMockDevice); in testStartsAtraceWithNoCategoriesOption() 244 EasyMock.verify(mMockDevice); in testStopsAtraceDuringTearDown() 271 EasyMock.verify(mMockDevice); in testPreserveFileOnDeviceOption() 311 EasyMock.verify(mMockTestLogger); in testUploadsLogWithCompression() 336 EasyMock.verify(mMockTestLogger); in testUploadsLogWithoutCompression() 376 EasyMock.verify(mMockTestLogger); in testMultipleDeviceBehavior() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableTargetTestTest.java | 98 Mockito.verify(mListener, Mockito.times(1)).testRunStarted(eq(testName1), eq(1)); in testRun_cmdSuccess() 99 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdSuccess() 100 Mockito.verify(mListener, Mockito.times(1)) in testRun_cmdSuccess() 106 Mockito.verify(mListener, Mockito.times(1)).testRunStarted(eq(testName2), eq(1)); in testRun_cmdSuccess() 107 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdSuccess() 108 Mockito.verify(mListener, Mockito.times(1)) in testRun_cmdSuccess() 112 Mockito.verify(mListener, Mockito.times(2)) in testRun_cmdSuccess() 141 Mockito.verify(mListener, Mockito.times(0)).testRunStarted(eq(testName1), eq(1)); in testRun_pathNotExist() 147 Mockito.verify(mListener, Mockito.times(1)).testRunFailed(failure1); in testRun_pathNotExist() 149 Mockito.verify(mListener, Mockito.times(0)).testRunStarted(eq(testName2), eq(1)); in testRun_pathNotExist() [all …]
|
D | ExecutableHostTestTest.java | 26 import static org.mockito.Mockito.verify; 90 verify(mMockListener, times(0)).testRunStarted(any(), anyInt()); in testRunHostExecutable_noBinaries() 101 verify(mMockListener, Mockito.times(1)).testRunStarted(eq("test"), eq(0)); in testRunHostExecutable_doesNotExists() 107 verify(mMockListener, Mockito.times(1)).testRunFailed(failure); in testRunHostExecutable_doesNotExists() 108 verify(mMockListener, Mockito.times(1)) in testRunHostExecutable_doesNotExists() 130 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable() 131 verify(mMockListener, Mockito.times(0)).testRunFailed((String) any()); in testRunHostExecutable() 132 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable() 133 verify(mMockListener, Mockito.times(1)) in testRunHostExecutable() 164 verify(mMockListener, Mockito.times(1)).testRunStarted(eq(tmpBinary.getName()), eq(1)); in testRunHostExecutable_relativePath() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 369 EasyMock.verify(fakeEntry); in testPullDir_nothingToDo() 440 EasyMock.verify(fakeEntry, fakeFile, fakeDir); in testPullDir() 525 EasyMock.verify(fakeEntry, fakeFile, fakeDir, secondLevelChildren); in testPullDir_pullFail() 746 EasyMock.verify(mMockWifi); in testConnectToWifiNetworkIfNeeded_alreadyConnected() 760 EasyMock.verify(mMockWifi, mMockIDevice); in testConnectToWifiNetwork_success() 781 EasyMock.verify(mMockWifi, mMockIDevice, mMockRunUtil); in testConnectToWifiNetwork_failure() 811 EasyMock.verify(mMockWifi, mMockIDevice); in testConnectToWifiNetwork_maxConnectTime() 812 Mockito.verify(mockClock, Mockito.times(3)).millis(); in testConnectToWifiNetwork_maxConnectTime() 826 EasyMock.verify(mMockWifi, mMockIDevice); in testConnectToWifiNetwork_scanSsid() 839 EasyMock.verify(mMockWifi, mMockIDevice); in testCheckWifiConnection() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryReschedulerTest.java | 19 import static org.mockito.Mockito.verify; 129 EasyMock.verify( in testReschedule_onlyPassTests() 139 verify(mSuite).setExcludeFilter(excludeRun0); in testReschedule_onlyPassTests() 142 verify(mSuite).setExcludeFilter(excludeRun1); in testReschedule_onlyPassTests() 173 EasyMock.verify( in testReschedule_carryShardCount() 183 verify(mSuite).setExcludeFilter(excludeRun0); in testReschedule_carryShardCount() 186 verify(mSuite).setExcludeFilter(excludeRun1); in testReschedule_carryShardCount() 210 EasyMock.verify( in testReschedule_someFailedTests() 219 verify(mSuite).setExcludeFilter(excludeRun0); in testReschedule_someFailedTests() 222 verify(mSuite).setExcludeFilter(excludeRun1); in testReschedule_someFailedTests() [all …]
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkVerifierTest.java | 64 assertVerified(verify("original.apk")); in testOriginalAccepted() 448 assertVerified(verify("v1-with-apk-sig-block-but-without-apk-sig-scheme-v2-block.apk")); in testNoApkSignatureSchemeBlockRejected() 471 verify("v2-only-truncated-cd.apk"); in testTruncatedZipCentralDirectoryRejected() 603 assertVerified(verify("two-signers.apk")); in testTwoSignersAccepted() 604 assertVerified(verify("v1-only-two-signers.apk")); in testTwoSignersAccepted() 639 ApkVerifier.Result result = verify("v1-only-pkcs7-cert-bag-first-cert-not-used.apk"); in testCorrectCertUsedFromPkcs7SignedDataCertsSet() 664 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der.apk"); in testV1SchemeSignatureCertNotReencoded() 718 ApkVerifier.Result result = verify("v1-only-with-rsa-1024-cert-not-der2.apk"); in testV1SchemeSignatureCertNotReencoded2() 731 assertVerified(verify("v1-only-max-sized-eocd-comment.apk")); in testMaxSizedZipEocdCommentAccepted() 769 assertVerified(verify("targetSandboxVersion-2.apk")); in testTargetSandboxVersion2AndHigher() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 139 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 141 Mockito.verify(mListener, Mockito.times(numTests)) in testPollingRun() 173 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_runtimeException() 175 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_runtimeException() 204 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_deviceUnresponsive() 206 Mockito.verify(mListener, Mockito.times(numTests)) in testRun_deviceUnresponsive() 242 Mockito.verify(mListener, Mockito.times(0)) in testRun_dnae() 244 Mockito.verify(mListener, Mockito.times(0)) in testRun_dnae() 247 Mockito.verify(mMockRegistry) in testRun_dnae() 281 Mockito.verify(mListener, Mockito.times(1)) in testRun_dnae_reportNotExecuted() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/ |
D | UserCheckerTest.java | 38 import static org.mockito.Mockito.verify; 74 verify(preDevice, never()).createUser(any(), anyBoolean(), anyBoolean()); in testSwitchIsSuccess() 75 verify(preDevice, times(1)).switchUser(0); in testSwitchIsSuccess() 84 verify(postDevice, never()).createUser(any(), anyBoolean(), anyBoolean()); in testSwitchIsSuccess() 85 verify(postDevice, never()).switchUser(anyInt()); in testSwitchIsSuccess() 103 verify(preDevice, times(1)).createUser("Tfsecondary", false, false); in testCreateIsSuccess() 104 verify(preDevice, times(1)).switchUser(10); in testCreateIsSuccess() 113 verify(postDevice, never()).removeUser(anyInt()); in testCreateIsSuccess() 114 verify(postDevice, never()).switchUser(anyInt()); in testCreateIsSuccess() 133 verify(preDevice, times(1)).createUser("Tfsecondary", false, false); in testCreateCleanup() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | Sl4aBluetoothUtilTest.java | 32 import static org.mockito.Mockito.verify; 142 verify(mPrimaryClient, times(1)).rpcCall(Commands.BLUETOOTH_GET_LOCAL_ADDRESS); in testGetAddress_calledTwice() 165 verify(mSecondaryClient, never()).rpcCall(Commands.BLUETOOTH_MAKE_DISCOVERABLE); in testPair_alreadyPaired() 166 verify(mPrimaryClient, never()).rpcCall(Commands.BLUETOOTH_START_PAIRING_HELPER); in testPair_alreadyPaired() 167 verify(mSecondaryClient, never()).rpcCall(Commands.BLUETOOTH_START_PAIRING_HELPER); in testPair_alreadyPaired() 168 verify(mPrimaryClient, never()).rpcCall(Commands.BLUETOOTH_DISCOVER_AND_BOND, "address_2"); in testPair_alreadyPaired() 183 verify(mSecondaryClient).rpcCall(Commands.BLUETOOTH_MAKE_DISCOVERABLE); in testPair_success() 184 verify(mPrimaryClient).rpcCall(Commands.BLUETOOTH_START_PAIRING_HELPER); in testPair_success() 185 verify(mSecondaryClient).rpcCall(Commands.BLUETOOTH_START_PAIRING_HELPER); in testPair_success() 186 verify(mPrimaryClient).rpcCall(Commands.BLUETOOTH_DISCOVER_AND_BOND, "address_2"); in testPair_success() [all …]
|
D | JavaCodeCoverageFlusherTest.java | 21 import static org.mockito.Mockito.verify; 78 verify(mMockDevice) in testResetAll_calledForAllProcesses() 82 verify(mMockDevice) in testResetAll_calledForAllProcesses() 86 verify(mMockDevice) in testResetAll_calledForAllProcesses() 90 verify(mMockDevice).executeShellCommand("cmd coverage reset"); in testResetAll_calledForAllProcesses() 105 verify(mMockDevice) in testResetSpecific_calledForSpecificProcesses() 109 verify(mMockDevice).executeShellCommand("cmd coverage reset"); in testResetSpecific_calledForSpecificProcesses() 133 verify(mMockDevice) in testDumpAll_calledForAllProcesses() 137 verify(mMockDevice) in testDumpAll_calledForAllProcesses() 142 verify(mMockDevice) in testDumpAll_calledForAllProcesses() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncherTest.java | 148 Mockito.verify(mMockRunUtil, Mockito.times(2)).setWorkingDir(mRootDir); in testRun() 149 Mockito.verify(mMockRunUtil).unsetEnvVariable("TF_GLOBAL_CONFIG"); in testRun() 150 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun() 151 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", expandedTfPathValue); in testRun() 152 Mockito.verify(mMockRunUtil) in testRun() 194 Mockito.verify(mMockRunUtil, Mockito.times(2)).setWorkingDir(mRootDir); in testRun_withSetupScripts() 195 Mockito.verify(mMockRunUtil).unsetEnvVariable("TF_GLOBAL_CONFIG"); in testRun_withSetupScripts() 196 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun_withSetupScripts() 197 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", mTfPath.getAbsolutePath()); in testRun_withSetupScripts() 198 Mockito.verify(mMockRunUtil).setEnvVariable("BAR", "bar"); in testRun_withSetupScripts() [all …]
|
D | ClusterCommandConfigBuilderTest.java | 24 import static org.mockito.Mockito.verify; 111 verify(mConfig, times(1)).injectOptionValue("cluster:request-id", REQUEST_ID); in testBuild_commandProperties() 112 verify(mConfig, times(1)).injectOptionValue("cluster:command-id", COMMAND_ID); in testBuild_commandProperties() 113 verify(mConfig, times(1)).injectOptionValue("cluster:attempt-id", ATTEMPT_ID); in testBuild_commandProperties() 114 verify(mConfig, times(1)).injectOptionValue("cluster:command-line", COMMAND_LINE); in testBuild_commandProperties() 115 verify(mConfig, times(1)).injectOptionValue("cluster:root-dir", mWorkDir.getAbsolutePath()); in testBuild_commandProperties() 133 verify(mConfig, times(1)).setDeviceConfigList(captor.capture()); in testBuild_targetPreparers() 169 verify(mConfig, times(1)) in testBuild_envVars() 171 verify(mConfig, times(1)).injectOptionValue("cluster:env-var", "E1", "V1"); in testBuild_envVars() 172 verify(mConfig, times(1)).injectOptionValue("cluster:env-var", "E2", "V2"); in testBuild_envVars() [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | StoredEntry.java | 260 verifyLog.verify( in StoredEntry() 263 verifyLog.verify(cdh.getCrc32() == 0, "Directory has CRC32 = %s.", cdh.getCrc32()); in StoredEntry() 264 verifyLog.verify( in StoredEntry() 275 verifyLog.verify( in StoredEntry() 292 Verify.verify(header.getOffset() >= 0, "Files that are not on disk cannot have the " in StoredEntry() 439 F_LOCAL_SIGNATURE.verify(bytes); in readLocalHeader() 440 F_VERSION_EXTRACT.verify(bytes, compressInfo.getVersionExtract(), verifyLog); in readLocalHeader() 441 F_GP_BIT.verify(bytes, cdh.getGpBit().getValue(), verifyLog); in readLocalHeader() 442 F_METHOD.verify(bytes, compressInfo.getMethod().methodCode, verifyLog); in readLocalHeader() 448 F_LAST_MOD_TIME.verify(bytes, cdh.getLastModTime(), verifyLog); in readLocalHeader() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | FileDownloadCacheTest.java | 81 EasyMock.verify(mMockDownloader); in testFetchRemoteFile() 93 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_destFile() 105 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_destFile_nullPath() 117 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_cacheHit() 125 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_cacheHit() 137 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_cacheHit_notFresh() 146 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_cacheHit_notFresh() 166 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_cacheSizeExceeded() 188 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_downloadFailed() 207 EasyMock.verify(mMockDownloader); in testFetchRemoteFile_downloadFailed_Runtime() [all …]
|