CDD Annotatin for Section 3.8.13
3.8.13/C-1-2: Method checks if CDD mandated fonts(roboto) and
unicode 7.0 are supported
Bug: 111354023
Test: make cts
Change-Id: I62db19ea6d899710b55ec36cad1829f30d836370
diff --git a/tests/tests/graphics/src/android/graphics/cts/PaintTest.java b/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
index 0d70947..f0d5cb8 100644
--- a/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
+++ b/tests/tests/graphics/src/android/graphics/cts/PaintTest.java
@@ -51,6 +51,8 @@
import java.util.Locale;
+import com.android.compatibility.common.util.CddTest;
+
@SmallTest
@RunWith(AndroidJUnit4.class)
public class PaintTest {
@@ -1226,6 +1228,7 @@
new Paint().getTextPath("HIJKLMN", 3, 9, 0, 0, new Path());
}
+ @CddTest(requirement="3.8.13/C-1-2")
@Test
public void testHasGlyph() {
Paint p = new Paint();
diff --git a/tests/tests/text/src/android/text/cts/FontCoverageTest.java b/tests/tests/text/src/android/text/cts/FontCoverageTest.java
index 4f66ee7..837c209 100644
--- a/tests/tests/text/src/android/text/cts/FontCoverageTest.java
+++ b/tests/tests/text/src/android/text/cts/FontCoverageTest.java
@@ -26,12 +26,15 @@
import android.support.test.filters.LargeTest;
import android.support.test.runner.AndroidJUnit4;
+import com.android.compatibility.common.util.CddTest;
+
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.HashMap;
import java.util.Locale;
+@CddTest(requirement="3.8.13/C-1-1")
@LargeTest
@RunWith(AndroidJUnit4.class)
public class FontCoverageTest {