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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.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.infobar; 5 package org.chromium.chrome.browser.infobar;
6 6
7 import android.graphics.Rect; 7 import android.graphics.Rect;
8 import android.graphics.Region; 8 import android.graphics.Region;
9 import android.test.suitebuilder.annotation.MediumTest; 9 import android.support.test.filters.MediumTest;
10 import android.view.ViewGroup; 10 import android.view.ViewGroup;
11 import android.view.ViewTreeObserver; 11 import android.view.ViewTreeObserver;
12 import android.widget.TextView; 12 import android.widget.TextView;
13 13
14 import org.chromium.base.ThreadUtils; 14 import org.chromium.base.ThreadUtils;
15 import org.chromium.base.test.util.CallbackHelper; 15 import org.chromium.base.test.util.CallbackHelper;
16 import org.chromium.base.test.util.Feature; 16 import org.chromium.base.test.util.Feature;
17 import org.chromium.base.test.util.RetryOnFailure; 17 import org.chromium.base.test.util.RetryOnFailure;
18 import org.chromium.chrome.R; 18 import org.chromium.chrome.R;
19 import org.chromium.chrome.browser.ChromeActivity; 19 import org.chromium.chrome.browser.ChromeActivity;
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // Additional manual test that this is working: 359 // Additional manual test that this is working:
360 // - adb shell dumpsys SurfaceFlinger 360 // - adb shell dumpsys SurfaceFlinger
361 // - Observe that Clank's overlay size changes (or disappears if URLbar is also gone). 361 // - Observe that Clank's overlay size changes (or disappears if URLbar is also gone).
362 } 362 }
363 363
364 @Override 364 @Override
365 public void startMainActivity() throws InterruptedException { 365 public void startMainActivity() throws InterruptedException {
366 startMainActivityOnBlankPage(); 366 startMainActivityOnBlankPage();
367 } 367 }
368 } 368 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698