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

Commit 68e1b0ba authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Test presubmit infrastructure"

parents 7e1d4932 9392d40a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -32,7 +32,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
    android-support-test \
    android-support-test \
    mockito-target \
    mockito-target \
    espresso-core \
    espresso-core \
    ub-uiautomator
    ub-uiautomator \
    platform-test-annotations
LOCAL_JAVA_LIBRARIES := android.test.runner conscrypt telephony-common org.apache.http.legacy
LOCAL_JAVA_LIBRARIES := android.test.runner conscrypt telephony-common org.apache.http.legacy
LOCAL_PACKAGE_NAME := FrameworksCoreTests
LOCAL_PACKAGE_NAME := FrameworksCoreTests


+2 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@ package android.widget;


import android.app.Activity;
import android.app.Activity;
import android.content.Intent;
import android.content.Intent;
import android.platform.test.annotations.Presubmit;
import android.test.ActivityInstrumentationTestCase2;
import android.test.ActivityInstrumentationTestCase2;
import android.test.suitebuilder.annotation.SmallTest;
import android.test.suitebuilder.annotation.SmallTest;
import android.text.GetChars;
import android.text.GetChars;
@@ -34,6 +35,7 @@ public class TextViewTest extends ActivityInstrumentationTestCase2<TextViewActiv
    }
    }


    @SmallTest
    @SmallTest
    @Presubmit
    public void testArray() throws Exception {
    public void testArray() throws Exception {
        TextView tv = new TextView(getActivity());
        TextView tv = new TextView(getActivity());