| Index: chrome/android/webapk/libs/runtime_library/javatests/src/org/chromium/webapk/lib/runtime_library/WebApkServiceImplTest.java
|
| diff --git a/chrome/android/webapk/libs/runtime_library/javatests/src/org/chromium/webapk/lib/runtime_library/WebApkServiceImplTest.java b/chrome/android/webapk/libs/runtime_library/javatests/src/org/chromium/webapk/lib/runtime_library/WebApkServiceImplTest.java
|
| index 110a931ef132394d12fd8213cd640fe66ba843a7..916c9b227766eee902b10ea05a7f5a76addfdf56 100644
|
| --- a/chrome/android/webapk/libs/runtime_library/javatests/src/org/chromium/webapk/lib/runtime_library/WebApkServiceImplTest.java
|
| +++ b/chrome/android/webapk/libs/runtime_library/javatests/src/org/chromium/webapk/lib/runtime_library/WebApkServiceImplTest.java
|
| @@ -12,8 +12,8 @@ import android.content.pm.ApplicationInfo;
|
| import android.content.pm.PackageManager;
|
| import android.os.IBinder;
|
| import android.test.InstrumentationTestCase;
|
| -import android.test.suitebuilder.annotation.SmallTest;
|
|
|
| +import org.chromium.base.test.util.DisabledTest;
|
| import org.chromium.chrome.test.webapk.TestWebApkServiceImplWrapper;
|
| import org.chromium.content.browser.test.util.CallbackHelper;
|
|
|
| @@ -62,8 +62,11 @@ public class WebApkServiceImplTest extends InstrumentationTestCase {
|
|
|
| /**
|
| * Test that an application which is not allowed to use the WebAPK service actually cannot.
|
| + *
|
| + * @SmallTest
|
| + * crbug.com/634390
|
| */
|
| - @SmallTest
|
| + @DisabledTest
|
| public void testApiFailsIfNoPermission() throws Exception {
|
| IWebApkApi api = bindService(mContext, mTargetUid + 1, SMALL_ICON_ID);
|
| try {
|
| @@ -76,8 +79,11 @@ public class WebApkServiceImplTest extends InstrumentationTestCase {
|
|
|
| /**
|
| * Test that an application which is allowed to use the WebAPK service actually can.
|
| + *
|
| + * @SmallTest
|
| + * crbug.com/634390
|
| */
|
| - @SmallTest
|
| + @DisabledTest
|
| public void testApiWorksIfHasPermission() throws Exception {
|
| IWebApkApi api = bindService(mContext, mTargetUid, SMALL_ICON_ID);
|
| try {
|
|
|