Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/UrlSchemeTest.java

Issue 2337973005: Mark flaky chrome_public tests with @RetryOnFailure Batch 6 (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/UsbChooserDialogTest.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser; 5 package org.chromium.chrome.browser;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.net.Uri; 8 import android.net.Uri;
9 import android.os.Environment; 9 import android.os.Environment;
10 import android.test.suitebuilder.annotation.MediumTest; 10 import android.test.suitebuilder.annotation.MediumTest;
11 11
12 import org.chromium.base.ThreadUtils; 12 import org.chromium.base.ThreadUtils;
13 import org.chromium.base.test.util.Feature; 13 import org.chromium.base.test.util.Feature;
14 import org.chromium.base.test.util.RetryOnFailure;
14 import org.chromium.base.test.util.TestFileUtil; 15 import org.chromium.base.test.util.TestFileUtil;
15 import org.chromium.base.test.util.UrlUtils; 16 import org.chromium.base.test.util.UrlUtils;
16 import org.chromium.chrome.test.ChromeActivityTestCaseBase; 17 import org.chromium.chrome.test.ChromeActivityTestCaseBase;
17 import org.chromium.chrome.test.TestContentProvider; 18 import org.chromium.chrome.test.TestContentProvider;
18 19
19 import java.io.File; 20 import java.io.File;
20 import java.io.IOException; 21 import java.io.IOException;
21 import java.io.InputStream; 22 import java.io.InputStream;
22 import java.util.concurrent.Callable; 23 import java.util.concurrent.Callable;
23 24
24 25
25 /** Test suite for different Android URL schemes. */ 26 /** Test suite for different Android URL schemes. */
27 @RetryOnFailure
26 public class UrlSchemeTest extends ChromeActivityTestCaseBase<ChromeActivity> { 28 public class UrlSchemeTest extends ChromeActivityTestCaseBase<ChromeActivity> {
27 29
28 public UrlSchemeTest() { 30 public UrlSchemeTest() {
29 super(ChromeActivity.class); 31 super(ChromeActivity.class);
30 } 32 }
31 33
32 /** 34 /**
33 * Test that resource request count in the content provider works. 35 * Test that resource request count in the content provider works.
34 * This is to make sure that attempts to access the content provider 36 * This is to make sure that attempts to access the content provider
35 * will be detected. 37 * will be detected.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 159
158 private String createContentUrl(final String target) { 160 private String createContentUrl(final String target) {
159 return TestContentProvider.createContentUrl(target); 161 return TestContentProvider.createContentUrl(target);
160 } 162 }
161 163
162 @Override 164 @Override
163 public void startMainActivity() throws InterruptedException { 165 public void startMainActivity() throws InterruptedException {
164 startMainActivityFromLauncher(); 166 startMainActivityFromLauncher();
165 } 167 }
166 } 168 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/javatests/src/org/chromium/chrome/browser/UsbChooserDialogTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698