[jsword-devel] [JIRA] Created: (JS-202) TDavid.contains(verse) does not work correctly

Martin Denham (JIRA) jira at crosswire.org
Wed Jul 6 14:04:24 MST 2011


TDavid.contains(verse) does not work correctly
----------------------------------------------

                 Key: JS-202
                 URL: http://www.crosswire.org/bugs/browse/JS-202
             Project: JSword
          Issue Type: Bug
          Components: o.c.jsword.book.sword
    Affects Versions: 1.6.1
         Environment: All
            Reporter: Martin Denham
            Assignee: DM Smith


TDavid.contains(verse) often returns true for verses that aren't in Psalms.

Here is a test to show the problem:

public void testTDavidContains() throws Exception {
	Book tdavid = Books.installed().getBook("TDavid");

	Verse verse = VerseFactory.fromString("Prov 19:14");
	assertFalse("TDavid contains not working correctly 1", tdavid.contains(verse));
		
	verse = VerseFactory.fromString("Isaiah 55:1");
	assertFalse("TDavid contains not working correctly 2", tdavid.contains(verse));
}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jsword-devel mailing list