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

Commit ea560468 authored by Jiyong Park's avatar Jiyong Park Committed by Android (Google) Code Review
Browse files

Merge "Don't use impl lib of android.test.[mock|base|runners]"

parents d8517ef3 b4e458d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ java_sdk_library {
    ],

    compile_dex: true,
    default_to_stubs: true,
}

// Build the android.test.base_static library
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ java_sdk_library {
        "android.test.mock",
    ],
    compile_dex: true,
    default_to_stubs: true,
}

// Make the current.txt available for use by the cts/tests/signature tests.
+2 −1
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ import android.content.res.AssetFileDescriptor;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.ICancellationSignal;
@@ -336,7 +337,7 @@ public class MockContentProvider extends ContentProvider {
     * @hide
     */
    public IBinder getIContentProviderBinder() {
        throw new UnsupportedOperationException("unimplemented mock method");
        return new Binder();
    }

    /**
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ java_sdk_library {
    ],

    compile_dex: true,
    default_to_stubs: true,
}

// Build the android.test.runner-minus-junit library
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ package android.test {

  @Deprecated public class InstrumentationTestRunner extends android.app.Instrumentation implements android.test.TestSuiteProvider {
    ctor @Deprecated public InstrumentationTestRunner();
    method @Deprecated protected void addTestListener(junit.framework.TestListener);
    method @Deprecated public junit.framework.TestSuite getAllTests();
    method @Deprecated protected android.test.AndroidTestRunner getAndroidTestRunner();
    method @Deprecated public android.os.Bundle getArguments();
Loading