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

Commit a6b12de7 authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Add Text APCT tests to Presubmit

Ignored flaky tests. Test currently ignored are:
- android.text.format.FormatterTest
- android.util.util.LinkifyTest
- android.text.LineBreakingOverhangsTest

Test: None
Bug: 70506734
Change-Id: I6ef535c609d99fc6ff4a7887353b1df5ae7dcacb
parent 1fa458fd
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -18,12 +18,14 @@ package android.text;


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertEquals;


import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.runner.AndroidJUnit4;


import org.junit.Test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.RunWith;


@Presubmit
@SmallTest
@SmallTest
@RunWith(AndroidJUnit4.class)
@RunWith(AndroidJUnit4.class)
public class BidiFormatterTest {
public class BidiFormatterTest {
+2 −0
Original line number Original line Diff line number Diff line
@@ -21,6 +21,7 @@ import static android.text.Layout.Alignment.ALIGN_NORMAL;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertTrue;


import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.runner.AndroidJUnit4;


@@ -33,6 +34,7 @@ import org.junit.runner.RunWith;
 * Requires disabling access checks in the vm since this calls package-private APIs.
 * Requires disabling access checks in the vm since this calls package-private APIs.
 *
 *
 */
 */
@Presubmit
@SmallTest
@SmallTest
@RunWith(AndroidJUnit4.class)
@RunWith(AndroidJUnit4.class)
public class DynamicLayoutBlocksTest {
public class DynamicLayoutBlocksTest {
+2 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,7 @@ import static org.junit.Assert.assertTrue;


import android.graphics.Canvas;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.runner.AndroidJUnit4;
import android.text.style.ReplacementSpan;
import android.text.style.ReplacementSpan;
@@ -33,6 +34,7 @@ import android.text.style.ReplacementSpan;
import org.junit.Test;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runner.RunWith;


@Presubmit
@SmallTest
@SmallTest
@RunWith(AndroidJUnit4.class)
@RunWith(AndroidJUnit4.class)
public class DynamicLayoutTest {
public class DynamicLayoutTest {
+2 −0
Original line number Original line Diff line number Diff line
@@ -29,6 +29,7 @@ import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Path;
import android.graphics.Rect;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.RectF;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.runner.AndroidJUnit4;
import android.text.Layout.Alignment;
import android.text.Layout.Alignment;
@@ -42,6 +43,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.List;
import java.util.Locale;
import java.util.Locale;


@Presubmit
@SmallTest
@SmallTest
@RunWith(AndroidJUnit4.class)
@RunWith(AndroidJUnit4.class)
public class LayoutTest {
public class LayoutTest {
+2 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@ package android.text;


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertEquals;


import android.platform.test.annotations.Presubmit;
import android.support.test.filters.SmallTest;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.support.test.runner.AndroidJUnit4;


@@ -27,6 +28,7 @@ import org.junit.runner.RunWith;
/**
/**
 * PackedIntVectorTest tests the features of android.util.PackedIntVector.
 * PackedIntVectorTest tests the features of android.util.PackedIntVector.
 */
 */
@Presubmit
@SmallTest
@SmallTest
@RunWith(AndroidJUnit4.class)
@RunWith(AndroidJUnit4.class)
public class PackedIntVectorTest {
public class PackedIntVectorTest {
Loading