Index: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java |
index de8e625172ba8af2e4378988897cdff843a58210..0402f4c3f052a5985aa66554209b3f1d0356d60b 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java |
@@ -117,8 +117,8 @@ public class AwContentsClientShouldInterceptRequestTest extends AwTestBase { |
} |
} |
- final int teapotStatusCode = 418; |
- final String teapotResponsePhrase = "I'm a teapot"; |
+ private static final int TEAPOT_STATUS_CODE = 418; |
+ private static final String TEAPOD_RESPONSE_PHRASE = "I'm a teapot"; |
newt (away)
2014/08/08 16:01:29
s/TEAPOD/TEAPOT
|
private String addPageToTestServer(TestWebServer webServer, String httpPath, String html) { |
List<Pair<String, String>> headers = new ArrayList<Pair<String, String>>(); |
@@ -492,8 +492,8 @@ public class AwContentsClientShouldInterceptRequestTest extends AwTestBase { |
mShouldInterceptRequestHelper.setReturnValue( |
new AwWebResourceResponse("text/html", "UTF-8", new EmptyInputStream(), |
- teapotStatusCode, teapotResponsePhrase, new HashMap<String, String>())); |
- assertEquals("\"[" + teapotStatusCode + "][" + teapotResponsePhrase + "]\"", |
+ TEAPOT_STATUS_CODE, TEAPOD_RESPONSE_PHRASE, new HashMap<String, String>())); |
+ assertEquals("\"[" + TEAPOT_STATUS_CODE + "][" + TEAPOD_RESPONSE_PHRASE + "]\"", |
executeJavaScriptAndWaitForResult(mAwContents, mContentsClient, syncGetJs)); |
} |