Searched refs:invalidFile (Results 1 – 1 of 1) sorted by relevance
427 final File invalidFile = new File("/some/invalid/path/to/font/file"); in testTypefaceBuilder_fallback() local430 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()