Search in sources :

Example 1 with Author

use of org.geometerplus.fbreader.description.Author in project FBReaderJ by geometer.

the class TestDescriptionBook method testAuthor.

public void testAuthor() {
    BookDescription bd = BookDescription.getDescription(myDirectory + "/" + filename);
    assertTrue(bd != null);
    Author author = bd.getAuthor();
    assertTrue(author != null);
    assertEquals(author.getDisplayName(), "����� ������");
    assertEquals(author.getSortKey(), "������");
    assertEquals(author.isSingle(), true);
}
Also used : BookDescription(org.geometerplus.fbreader.description.BookDescription) Author(org.geometerplus.fbreader.description.Author)

Aggregations

Author (org.geometerplus.fbreader.description.Author)1 BookDescription (org.geometerplus.fbreader.description.BookDescription)1