[sword-svn] r3149 - trunk/tests/testsuite

scribe at crosswire.org scribe at crosswire.org
Thu Apr 3 00:57:16 MST 2014


Author: scribe
Date: 2014-04-03 00:57:16 -0700 (Thu, 03 Apr 2014)
New Revision: 3149

Added:
   trunk/tests/testsuite/vs2osisref.good
   trunk/tests/testsuite/vs2osisref.sh
Log:
added new test for vs2osisref utility.   Gotta make this work to get the
nasb module parsing correctly.

Added: trunk/tests/testsuite/vs2osisref.good
===================================================================
--- trunk/tests/testsuite/vs2osisref.good	                        (rev 0)
+++ trunk/tests/testsuite/vs2osisref.good	2014-04-03 07:57:16 UTC (rev 3149)
@@ -0,0 +1,2 @@
+Matt 3:1-12: {Mark 1:3-8; Luke 3:2-17;} John 1:6-8, 19-28
+<reference osisRef="Matt.3.1-Matt.3.12">Matt 3:1-12</reference>: {<reference osisRef="Mark.1.3-Mark.1.8">Mark 1:3-8</reference>; <reference osisRef="Luke.3.2-Luke.3.17">Luke 3:2-17</reference>;} <reference osisRef="John.1.6-John.1.8">John 1:6-8</reference>, <reference osisRef="John.1.19-John.1.28">19-28</reference>

Added: trunk/tests/testsuite/vs2osisref.sh
===================================================================
--- trunk/tests/testsuite/vs2osisref.sh	                        (rev 0)
+++ trunk/tests/testsuite/vs2osisref.sh	2014-04-03 07:57:16 UTC (rev 3149)
@@ -0,0 +1,22 @@
+#!/bin/sh
+#******************************************************************************
+#
+# $Id$
+#
+# Copyright 1998-2009 CrossWire Bible Society (http://www.crosswire.org)
+#	CrossWire Bible Society
+#	P. O. Box 2528
+#	Tempe, AZ  85280-2528
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation version 2.
+#
+# 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.
+#
+
+echo "Matt 3:1-12: {Mark 1:3-8; Luke 3:2-17;} John 1:6-8, 19-28"
+../../utilities/vs2osisref "Matt 3:1-12: {Mark 1:3-8; Luke 3:2-17;} John 1:6-8, 19-28"


Property changes on: trunk/tests/testsuite/vs2osisref.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the sword-cvs mailing list