[jsword-svn] biblemapper/java/test/org/crosswire/biblemapper/model s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Fri Apr 1 10:10:11 MST 2005
Update of /cvs/jsword/biblemapper/java/test/org/crosswire/biblemapper/model
In directory www.crosswire.org:/tmp/cvs-serv5417/java/test/org/crosswire/biblemapper/model
Modified Files:
LinkArrayTest.java
Log Message:
Improved ranking, bible display and fixed a few bugs.
Index: LinkArrayTest.java
===================================================================
RCS file: /cvs/jsword/biblemapper/java/test/org/crosswire/biblemapper/model/LinkArrayTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LinkArrayTest.java 20 Apr 2004 21:10:37 -0000 1.1
--- LinkArrayTest.java 1 Apr 2005 17:10:08 -0000 1.2
***************
*** 8,15 ****
import junit.framework.TestCase;
- import org.crosswire.biblemapper.model.LinkArray;
import org.crosswire.jsword.book.Book;
import org.crosswire.jsword.book.BookFilters;
- import org.crosswire.jsword.book.BookMetaData;
import org.crosswire.jsword.book.Books;
import org.crosswire.jsword.book.raw.RawBook;
--- 8,13 ----
***************
*** 58,64 ****
RawBook.setDefaultCacheData(true);
! List dicts = Books.installed().getBookMetaDatas(BookFilters.getBibles());
! BookMetaData bmd = (BookMetaData) dicts.get(0);
! Book book = bmd.getBook();
LinkArray la = new LinkArray(book);
--- 56,61 ----
RawBook.setDefaultCacheData(true);
! List dicts = Books.installed().getBooks(BookFilters.getBibles());
! Book book = (Book) dicts.get(0);
LinkArray la = new LinkArray(book);
More information about the jsword-svn
mailing list