Chromium Code Reviews| 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); |