Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.bible.passage
Class ZTestBiblePassage  view ZTestBiblePassage download ZTestBiblePassage.java

java.lang.Object
  extended bycom.eireneh.util.TestBase
      extended bycom.eireneh.bible.passage.ZTestBiblePassage

public class ZTestBiblePassage
extends com.eireneh.util.TestBase

Attepmted 100% code coverage testing.
Distribution Licence:
Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.


Field Summary
 
Fields inherited from class com.eireneh.util.TestBase
fatal, out, time
 
Constructor Summary
ZTestBiblePassage()
           
 
Method Summary
 void test(java.io.PrintWriter out, boolean fatal)
          A basic are we OK type test, for the Passage package.
static void testBooks()
          Test the Books class.
static void testPassageConstants()
          Some integration testing.
static void testPassageTally()
          Test the PassageTally class.
static void testPassageUtil()
          Test the Case class.
static void testReadPassage(boolean optimize)
          Test the Passage class.
static void testStrongs()
          Test the Strongs class.
static void testVerse()
          Test the Verse class.
static void testVerseRange()
          Test the VerseRange class.
static void testWritePassage(boolean optimize)
          Test the Passage class.
protected static int verseCountSlow(int book1, int chapter1, int verse1, int book2, int chapter2, int verse2)
          This is code from Books that was needed only as part of testing, so I Moved it here.
 
Methods inherited from class com.eireneh.util.TestBase
fail, fail, fail, log, logPackageStart, logPackageStop, reportTime, test, test, test, test, test, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZTestBiblePassage

public ZTestBiblePassage()
Method Detail

test

public void test(java.io.PrintWriter out,
                 boolean fatal)
A basic are we OK type test, for the Passage package.


testPassageConstants

public static void testPassageConstants()
Some integration testing.


testPassageUtil

public static void testPassageUtil()
Test the Case class.


testBooks

public static void testBooks()
Test the Books class.


verseCountSlow

protected static int verseCountSlow(int book1,
                                    int chapter1,
                                    int verse1,
                                    int book2,
                                    int chapter2,
                                    int verse2)
                             throws NoSuchVerseException
This is code from Books that was needed only as part of testing, so I Moved it here. How many verses between ref1 and ref2 (inclusive).


testVerse

public static void testVerse()
Test the Verse class.


testVerseRange

public static void testVerseRange()
Test the VerseRange class.


testReadPassage

public static void testReadPassage(boolean optimize)
Test the Passage class.


testWritePassage

public static void testWritePassage(boolean optimize)
Test the Passage class.


testPassageTally

public static void testPassageTally()
Test the PassageTally class.


testStrongs

public static void testStrongs()
Test the Strongs class.