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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java

Issue 2431753003: Merge EmbeddedTestServer#createAndStartDefaultServer() and createAndStartFileServer() (Closed)
Patch Set: Merge branch 'master' into webapk_embedded_test_server Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java
index 6e01dedf6aab032a501293110a32bc8aaa319f60..a87ecbec52730fb9226db84e23eaa4d13a3769d3 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java
@@ -6,7 +6,6 @@ package org.chromium.chrome.browser.infobar;
import android.graphics.Rect;
import android.graphics.Region;
-import android.os.Environment;
import android.test.suitebuilder.annotation.MediumTest;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
@@ -75,8 +74,7 @@ public class InfoBarContainerTest extends ChromeActivityTestCaseBase<ChromeActiv
mListener = new InfoBarTestAnimationListener();
container.setAnimationListener(mListener);
- mTestServer = EmbeddedTestServer.createAndStartFileServer(
- getInstrumentation().getContext(), Environment.getExternalStorageDirectory());
+ mTestServer = EmbeddedTestServer.createAndStartServer(getInstrumentation().getContext());
}
@Override

Powered by Google App Engine
This is Rietveld 408576698