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

Commit 9392d40a authored by Chet Haase's avatar Chet Haase
Browse files

Test presubmit infrastructure

Annotating a single test to vet the presubmit infrastructure for TreeHugger

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

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

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

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