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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.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/customtabs/CustomTabExternalNavigationTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.java
index 83051ffe081cba2afeade3494544f0ffa505b017..b4418d8c922fcf463388beca9e9a82370f1143d9 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabExternalNavigationTest.java
@@ -6,7 +6,6 @@ package org.chromium.chrome.browser.customtabs;
import android.app.Activity;
import android.os.Bundle;
-import android.os.Environment;
import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.base.test.util.RetryOnFailure;
@@ -53,8 +52,7 @@ public class CustomTabExternalNavigationTest extends CustomTabActivityTestBase {
@Override
public void setUp() throws Exception {
- mTestServer = EmbeddedTestServer.createAndStartFileServer(
- getInstrumentation().getContext(), Environment.getExternalStorageDirectory());
+ mTestServer = EmbeddedTestServer.createAndStartServer(getInstrumentation().getContext());
super.setUp();
}

Powered by Google App Engine
This is Rietveld 408576698