Home
last modified time | relevance | path

Searched refs:invalidFile (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java427 final File invalidFile = new File("/some/invalid/path/to/font/file"); in testTypefaceBuilder_fallback() local
430 assertNull(new Typeface.Builder(invalidFile).build()); in testTypefaceBuilder_fallback()
441 assertNotNull(new Typeface.Builder(invalidFile).setFallback("").build()); in testTypefaceBuilder_fallback()
443 assertNotNull(new Typeface.Builder(invalidFile).setFallback("invalid name").build()); in testTypefaceBuilder_fallback()
445 Typeface sansSerifTypeface = new Typeface.Builder(invalidFile) in testTypefaceBuilder_fallback()
449 Typeface serifTypeface = new Typeface.Builder(invalidFile).setFallback("serif").build(); in testTypefaceBuilder_fallback()
452 Typeface boldSansSerifTypeface = new Typeface.Builder(invalidFile) in testTypefaceBuilder_fallback()
456 Typeface boldSerifTypeface = new Typeface.Builder(invalidFile) in testTypefaceBuilder_fallback()
460 Typeface italicSansSerifTypeface = new Typeface.Builder(invalidFile) in testTypefaceBuilder_fallback()
464 Typeface italicSerifTypeface = new Typeface.Builder(invalidFile) in testTypefaceBuilder_fallback()