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

Commit 7f9ee1bc authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Presubmit FormatterTest and SpannableStringBuilderTest

Adds the following tests to presubmit.
- android.text.format.FormatterTest
- android.text.SpannableStringBuildeTest

Test: None
Bug: 70506734
Change-Id: Ie5a93be3673df143ee1f33ca39173784457c336a
parent 53b2d749
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ package android.text;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;

import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.text.style.BulletSpan;
@@ -30,6 +31,7 @@ import android.text.style.UnderlineSpan;
import org.junit.Test;
import org.junit.runner.RunWith;

@Presubmit
@SmallTest
@RunWith(AndroidJUnit4.class)
public class SpannableStringBuilderTest extends SpannableTest {
+2 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.icu.util.MeasureUnit;
import android.platform.test.annotations.Presubmit;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
@@ -36,7 +37,7 @@ import org.junit.runner.RunWith;
import java.util.Locale;
import java.util.Set;


@Presubmit
@SmallTest
@RunWith(AndroidJUnit4.class)
public class FormatterTest {