| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |