Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 148cb3eb authored by Gustav Sennton's avatar Gustav Sennton
Browse files

Annotate WebViewUpdateServiceTest so that it will be run continuously.

For tests to be run continuously they (or their classes) must be
annotated to declare their sizes.

Bug: 31261994
Change-Id: I4a6e59adaf26ae6ed451a21056066afe3a9a30af
parent 8fcf291c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.content.pm.Signature;
import android.os.Bundle;
import android.util.Base64;
import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.MediumTest;

import android.webkit.WebViewFactory;
import android.webkit.WebViewProviderInfo;
@@ -39,7 +40,12 @@ import org.mockito.ArgumentMatcher;

/**
 * Tests for WebViewUpdateService
 runtest --path frameworks/base/services/tests/servicestests/ \
     -c com.android.server.webkit.WebViewUpdateServiceTest
 */
// Use MediumTest instead of SmallTest as the implementation of WebViewUpdateService
// is intended to work on several threads and uses at least one sleep/wait-statement.
@MediumTest
public class WebViewUpdateServiceTest extends AndroidTestCase {
    private final static String TAG = WebViewUpdateServiceTest.class.getSimpleName();