[jsword-svn] jsword/java/jswordtest/org/crosswire/jsword/passage s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Jun 11 19:39:30 MST 2005


Update of /cvs/jsword/jsword/java/jswordtest/org/crosswire/jsword/passage
In directory www.crosswire.org:/tmp/cvs-serv32246/java/jswordtest/org/crosswire/jsword/passage

Modified Files:
	PassageParentTst.java BibleInfoTest.java 
Log Message:
Made full book names a configurable default and used it.
Fixed the name of Readings.

Index: PassageParentTst.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jswordtest/org/crosswire/jsword/passage/PassageParentTst.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** PassageParentTst.java	11 Jun 2005 14:26:38 -0000	1.15
--- PassageParentTst.java	12 Jun 2005 02:39:28 -0000	1.16
***************
*** 142,145 ****
--- 142,146 ----
          exo3b = new Verse(2, 3, 11);
          rev99 = VerseFactory.fromString("Rev 22:21"); //$NON-NLS-1$
+         BibleInfo.setFullBookName(false);
      }
  

Index: BibleInfoTest.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jswordtest/org/crosswire/jsword/passage/BibleInfoTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** BibleInfoTest.java	17 May 2005 00:43:15 -0000	1.8
--- BibleInfoTest.java	12 Jun 2005 02:39:28 -0000	1.9
***************
*** 62,74 ****
          BibleInfo.setCase(CaseType.SENTENCE);
          assertEquals(BibleInfo.getDefaultCase(), CaseType.SENTENCE);
- 
-         try
-         {
-             BibleInfo.setCase(CaseType.MIXED);
-             fail();
-         }
-         catch (IllegalArgumentException ex)
-         {
-         }
      }
  
--- 62,65 ----
***************
*** 89,93 ****
          try
          {
!             BibleInfo.getShortBookName(0);
              fail();
          }
--- 80,84 ----
          try
          {
!             BibleInfo.getLongBookName(0);
              fail();
          }
***************
*** 98,102 ****
          try
          {
!             BibleInfo.getShortBookName(67);
              fail();
          }
--- 89,93 ----
          try
          {
!             BibleInfo.getLongBookName(67);
              fail();
          }



More information about the jsword-svn mailing list