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

Unified Diff: chrome/android/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java

Issue 1969303002: Upstream WebAPK notification related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java
diff --git a/chrome/android/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java b/chrome/android/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java
index 27ba022405a8878d8811ae781e4911bf0c98dae7..99bf382bd0f9fcd55b7bce02da08785b50875534 100644
--- a/chrome/android/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java
+++ b/chrome/android/webapk/libs/client/junit/src/org/chromium/webapk/lib/client/WebApkValidatorTest.java
@@ -72,14 +72,15 @@ public class WebApkValidatorTest {
WebApkValidator.initWithBrowserHostSignature(EXPECTED_SIGNATURE);
}
+ @Test
Peter Beverloo 2016/05/19 15:59:00 Accidental change? This is different from other te
pkotwicz 2016/05/20 00:45:19 Yes, this change was a result of a bad merge
/**
- * Tests {@link WebApkValidator.queryWebApkPackage()} returns a WebAPK's package name if the
- * WebAPK can handle the given URL.
+ * Tests {@link WebApkValidator.queryWebApkPackage()} returns a WebAPK's package name if it can
+ * handle the given URL.
*/
- @Test
- public void testQueryWebApkPackageReturnsWebApkPackageNameIfTheURLCanBeHandled() {
+ public void testQueryWebAPKPackageReturnWebApkPackageNameWhichCanHandleTheURL() {
+ Intent intent;
try {
- Intent intent = Intent.parseUri(URL_OF_WEBAPK, Intent.URI_INTENT_SCHEME);
+ intent = Intent.parseUri(URL_OF_WEBAPK, Intent.URI_INTENT_SCHEME);
intent.addCategory(Intent.CATEGORY_BROWSABLE);
ResolveInfo info = newResolveInfo(WEBAPK_PACKAGE_NAME);

Powered by Google App Engine
This is Rietveld 408576698