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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.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/KeySystemTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
index 3785398ca895bb80496957eadd69498cf9042728..b84a3ba1010a89551fdf057a7d48ac9ac93d85c5 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
@@ -40,7 +40,7 @@ public class KeySystemTest extends AwTestBase {
"</script> </html>";
}
- private String IsKeySystemSupported(String keySystem) throws Exception {
+ private String isKeySystemSupported(String keySystem) throws Exception {
return executeJavaScriptAndWaitForResult(mAwContents, mContentsClient,
"isKeySystemSupported('" + keySystem + "')");
}
@@ -48,7 +48,7 @@ public class KeySystemTest extends AwTestBase {
@Feature({"AndroidWebView"})
@SmallTest
public void testSupportClearKeySystem() throws Throwable {
- assertEquals("\"maybe\"", IsKeySystemSupported("webkit-org.w3.clearkey"));
+ assertEquals("\"maybe\"", isKeySystemSupported("webkit-org.w3.clearkey"));
}
@Feature({"AndroidWebView"})
@@ -57,13 +57,13 @@ public class KeySystemTest extends AwTestBase {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
return; // MediaDrm/Crypto is supported from KitKat.
}
- assertEquals("\"maybe\"", IsKeySystemSupported("com.widevine.alpha"));
+ assertEquals("\"maybe\"", isKeySystemSupported("com.widevine.alpha"));
}
@Feature({"AndroidWebView"})
@SmallTest
public void testNotSupportFooKeySystem() throws Throwable {
- assertEquals("\"\"", IsKeySystemSupported("com.foo.keysystem"));
+ assertEquals("\"\"", isKeySystemSupported("com.foo.keysystem"));
}
@Feature({"AndroidWebView"})
@@ -72,6 +72,6 @@ public class KeySystemTest extends AwTestBase {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
return; // MediaDrm/Crypto is supported from KitKat.
}
- assertEquals("\"maybe\"", IsKeySystemSupported("com.oem.test-keysystem"));
+ assertEquals("\"maybe\"", isKeySystemSupported("com.oem.test-keysystem"));
}
}

Powered by Google App Engine
This is Rietveld 408576698