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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java

Issue 543553002: [Checkstyle] Enable additional name checks for Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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: android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java
index cbd5cf5b73f72875c04d82f3003c4400a50ae071..13f8f807b534ad0a7b511ba82cb2046cc39cacb8 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/util/VideoTestWebServer.java
@@ -66,9 +66,9 @@ public class VideoTestWebServer {
}
private void initFullScreenVideoTest(Context context) throws IOException {
- final String FULL_SCREEN_VIDEO_PATH = "full_screen_video_test.html";
- String data = loadAssetData(context, FULL_SCREEN_VIDEO_PATH);
- mFullScreenVideoTestURL = mTestWebServer.setResponse("/" + FULL_SCREEN_VIDEO_PATH,
+ final String fullScreenVideoPath = "full_screen_video_test.html";
+ String data = loadAssetData(context, fullScreenVideoPath);
+ mFullScreenVideoTestURL = mTestWebServer.setResponse("/" + fullScreenVideoPath,
data.replace("VIDEO_FILE_URL", getOnePixelOneFrameWebmURL()),
getHTMLHeaders(false));
}

Powered by Google App Engine
This is Rietveld 408576698