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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabTabPersistenceIntegrationTest.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.customtabs; 5 package org.chromium.chrome.browser.customtabs;
6 6
7 import android.test.suitebuilder.annotation.MediumTest; 7 import android.support.test.filters.MediumTest;
8 8
9 import org.chromium.chrome.browser.TabState; 9 import org.chromium.chrome.browser.TabState;
10 import org.chromium.chrome.browser.UrlConstants; 10 import org.chromium.chrome.browser.UrlConstants;
11 import org.chromium.chrome.browser.tab.Tab; 11 import org.chromium.chrome.browser.tab.Tab;
12 import org.chromium.content.browser.test.util.Criteria; 12 import org.chromium.content.browser.test.util.Criteria;
13 import org.chromium.content.browser.test.util.CriteriaHelper; 13 import org.chromium.content.browser.test.util.CriteriaHelper;
14 14
15 import java.io.File; 15 import java.io.File;
16 import java.util.Locale; 16 import java.util.Locale;
17 17
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 String.format(Locale.US, "File, %s, expected to exist: %b", file Name, exists)) { 50 String.format(Locale.US, "File, %s, expected to exist: %b", file Name, exists)) {
51 @Override 51 @Override
52 public boolean isSatisfied() { 52 public boolean isSatisfied() {
53 File file = new File(filePath, fileName); 53 File file = new File(filePath, fileName);
54 return file.exists() == exists; 54 return file.exists() == exists;
55 } 55 }
56 }); 56 });
57 } 57 }
58 58
59 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698