de.oio.jpdfunit
Interface FontAssertion
- All Known Subinterfaces:
- DocumentAssertion
- All Known Implementing Classes:
- DocumentTester
public interface FontAssertion
- Author:
- bbratkus
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
assertFontNameInDocumentEquals
void assertFontNameInDocumentEquals(String expected)
- Parameters:
expected
- A expected font name like "Verdana-BoldItalic".
assertAllFontNamesInDocument
void assertAllFontNamesInDocument(String[] expected)
- Parameters:
expected
- Expected font names like "Verdana-BoldItalic".
assertFontNameOnPage
void assertFontNameOnPage(String expected,
int page)
- Parameters:
expected
- A expected font name like "Verdana-BoldItalic".page
- The supposed page number, notice it is 1-based.
assertAllFontNamesOnPage
void assertAllFontNamesOnPage(String[] expected,
int page)
- Parameters:
expected
- Expected font names like "Verdana-BoldItalic".page
- The supposed page number, notice it is 1-based.
assertFontTypeInDocument
void assertFontTypeInDocument(String expected)
- Parameters:
expected
- A supposed font type, i.e. "TrueType" or "Type1".
assertAllFontTypesInDocument
void assertAllFontTypesInDocument(String[] expected)
- Parameters:
expected
- All supposed font types in the document. Be carefull
and list all of them. A supposed font type is
i.e. "TrueType" or "Type1".
assertFontTypeOnPage
void assertFontTypeOnPage(String expected,
int page)
- Parameters:
expected
- A supposed font type, i.e "TrueType" or "Type1".page
- The supposed page to search for the font type.
assertAllFontTypesOnPage
void assertAllFontTypesOnPage(String[] expected,
int page)
- Parameters:
expected
- All supposed font types in the document. Be carefull
and list all of them. A supposed font type is
i.e. "TrueType" or "Type1".page
- The supposed page to search for the font types.
Copyright © 2011. All Rights Reserved.