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

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

Issue 2773273002: Last_n: do not save snapshot of custom tabs. (Closed)
Patch Set: Renamed method; added custom tab checks to tests. Created 3 years, 8 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
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.customtabs; 5 package org.chromium.chrome.browser.customtabs;
6 6
7 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; 7 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
8 8
9 import android.app.Activity; 9 import android.app.Activity;
10 import android.content.Intent; 10 import android.content.Intent;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 fail(); 90 fail();
91 } 91 }
92 CriteriaHelper.pollUiThread(new Criteria("Deferred startup never complet ed") { 92 CriteriaHelper.pollUiThread(new Criteria("Deferred startup never complet ed") {
93 @Override 93 @Override
94 public boolean isSatisfied() { 94 public boolean isSatisfied() {
95 return DeferredStartupHandler.getInstance().isDeferredStartupCom pleteForApp(); 95 return DeferredStartupHandler.getInstance().isDeferredStartupCom pleteForApp();
96 } 96 }
97 }, STARTUP_TIMEOUT_MS, CriteriaHelper.DEFAULT_POLLING_INTERVAL); 97 }, STARTUP_TIMEOUT_MS, CriteriaHelper.DEFAULT_POLLING_INTERVAL);
98 assertNotNull(tab); 98 assertNotNull(tab);
99 assertNotNull(tab.getView()); 99 assertNotNull(tab.getView());
100 assertTrue(tab.isCurrentlyACustomTab());
100 } 101 }
101 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698