| Index: chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java
|
| index 3137a8bd45bd5bb997b09ca8f838f19370fec7ad..22356c9fdd8be4cfd32d229034237590617aeba6 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadTest.java
|
| @@ -105,36 +105,6 @@ public class DownloadTest extends DownloadTestBase {
|
| @MediumTest
|
| @Feature({"Downloads"})
|
| @RetryOnFailure
|
| - public void testDangerousDownloadCancel() throws Exception {
|
| - loadUrl(mTestServer.getURL(TEST_DOWNLOAD_DIRECTORY + "dangerous.html"));
|
| - waitForFocus();
|
| - View currentView = getActivity().getActivityTab().getView();
|
| - TouchCommon.longPressView(currentView);
|
| -
|
| - // Open in new tab so that the "CloseBlankTab" functionality is invoked later.
|
| - getInstrumentation().invokeContextMenuAction(getActivity(),
|
| - R.id.contextmenu_open_in_new_tab, 0);
|
| -
|
| - waitForNewTabToStabilize(2);
|
| - goToLastTab();
|
| - assertPollForInfoBarSize(1);
|
| -
|
| - assertTrue("Cancel button wasn't found",
|
| - InfoBarUtil.clickSecondaryButton(getInfoBars().get(0)));
|
| -
|
| - // "Cancel" should close the blank tab opened for this download.
|
| - CriteriaHelper.pollUiThread(
|
| - Criteria.equals(1, new Callable<Integer>() {
|
| - @Override
|
| - public Integer call() {
|
| - return getActivity().getCurrentTabModel().getCount();
|
| - }
|
| - }));
|
| - }
|
| -
|
| - @MediumTest
|
| - @Feature({"Downloads"})
|
| - @RetryOnFailure
|
| public void testHttpPostDownload() throws Exception {
|
| loadUrl(mTestServer.getURL(TEST_DOWNLOAD_DIRECTORY + "post.html"));
|
| waitForFocus();
|
|
|