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

Commit 57fc7599 authored by Teng-Hui Zhu's avatar Teng-Hui Zhu
Browse files

Update VectorDrawablePerfTest to use JUnit 4

Merge StubActivity into utils.
b/28980976

Change-Id: I2ea53d5b6e3e508b2f83846940dc617f1fdff248
parent 4cbaff6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@

    <application>
        <uses-library android:name="android.test.runner" />
        <activity android:name="android.widget.StubActivity" />
        <activity android:name="android.perftests.utils.StubActivity" />
    </application>

    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.os.Bundle;
import android.util.Log;

import android.perftests.utils.BenchmarkState;
import android.perftests.utils.StubActivity;
import android.support.test.filters.LargeTest;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.rule.ActivityTestRule;
+1 −3
Original line number Diff line number Diff line
@@ -3,13 +3,11 @@ include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := tests

LOCAL_STATIC_JAVA_LIBRARIES := apct-perftests-utils
LOCAL_STATIC_JAVA_LIBRARIES := apct-perftests-utils android-support-test

LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_JAVA_LIBRARIES := android.test.runner

LOCAL_PACKAGE_NAME := GraphicsPerfTests

include $(BUILD_PACKAGE)
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@

    <application>
        <uses-library android:name="android.test.runner" />
        <activity android:name="android.graphics.perftests.StubActivity" >
        <activity android:name="android.perftests.utils.StubActivity" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
@@ -15,7 +15,7 @@
        <uses-library android:name="android.test.runner" />
    </application>

    <instrumentation android:name="android.test.InstrumentationTestRunner"
    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
        android:targetPackage="com.android.frameworks.perftests"/>

</manifest>
+0 −6
Original line number Diff line number Diff line
package android.graphics.perftests;

import android.app.Activity;

public class StubActivity extends Activity {
}
 No newline at end of file
Loading