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

Side by Side Diff: android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Rebase again :( Created 4 years 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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.android_webview.test; 5 package org.chromium.android_webview.test;
6 6
7 import android.test.suitebuilder.annotation.SmallTest; 7 import android.support.test.filters.SmallTest;
8 import android.webkit.ValueCallback; 8 import android.webkit.ValueCallback;
9 9
10 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; 10 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
11 11
12 import org.chromium.android_webview.AwContents; 12 import org.chromium.android_webview.AwContents;
13 import org.chromium.base.ThreadUtils; 13 import org.chromium.base.ThreadUtils;
14 import org.chromium.base.annotations.SuppressFBWarnings; 14 import org.chromium.base.annotations.SuppressFBWarnings;
15 import org.chromium.base.test.util.Feature; 15 import org.chromium.base.test.util.Feature;
16 import org.chromium.base.test.util.UrlUtils; 16 import org.chromium.base.test.util.UrlUtils;
17 17
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 final String path = new File("/foo/bar/").getAbsolutePath(); 138 final String path = new File("/foo/bar/").getAbsolutePath();
139 deleteFile(path); 139 deleteFile(path);
140 140
141 loadUrlSync(mTestContainerView.getAwContents(), 141 loadUrlSync(mTestContainerView.getAwContents(),
142 mContentsClient.getOnPageFinishedHelper(), TEST_PAGE); 142 mContentsClient.getOnPageFinishedHelper(), TEST_PAGE);
143 143
144 doArchiveTest(mTestContainerView.getAwContents(), path, true, null); 144 doArchiveTest(mTestContainerView.getAwContents(), path, true, null);
145 } 145 }
146 146
147 } 147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698