[sword-svn] r3688 - trunk/tests/testsuite
scribe at crosswire.org
scribe at crosswire.org
Fri Jan 31 17:57:28 MST 2020
Author: scribe
Date: 2020-01-31 17:57:28 -0700 (Fri, 31 Jan 2020)
New Revision: 3688
Modified:
trunk/tests/testsuite/osisReference.xml
trunk/tests/testsuite/osis_basic.good
Log:
added check for note in canonical title
Modified: trunk/tests/testsuite/osisReference.xml
===================================================================
--- trunk/tests/testsuite/osisReference.xml 2020-01-30 16:41:12 UTC (rev 3687)
+++ trunk/tests/testsuite/osisReference.xml 2020-02-01 00:57:28 UTC (rev 3688)
@@ -118,7 +118,7 @@
<chapter sID="Ps.3" osisID="Ps.3"/>
<title type="chapter">PSALM 3.</title>
<div type="section">
- <title type="psalm" canonical="true">A Psalm of David, when he fled from Absalom his son.</title>
+ <title type="psalm" canonical="true">A Psalm of David<note n="A" osisID="Ps.3.xref.A" type="crossReference"><reference osisRef="Matt.1.4">Matt 1:4</reference></note>, when he fled from Absalom his son.</title>
<p>
<lg>
<verse sID="Ps.3.1" osisID="Ps.3.1"/>
Modified: trunk/tests/testsuite/osis_basic.good
===================================================================
--- trunk/tests/testsuite/osis_basic.good 2020-01-30 16:41:12 UTC (rev 3687)
+++ trunk/tests/testsuite/osis_basic.good 2020-02-01 00:57:28 UTC (rev 3688)
@@ -4,10 +4,10 @@
-------
Preverse Header 0:
Raw:
-<div sID="gen12" type="section"/> <title canonical="true" type="psalm">A Psalm of David, when he fled from Absalom his son.</title> <div sID="gen13" type="x-p"/> <lg sID="gen14"/>
+<div sID="gen12" type="section"/> <title canonical="true" type="psalm">A Psalm of David<note n="A" osisID="Ps.3.xref.A" swordFootnote="1" type="crossReference"></note>, when he fled from Absalom his son.</title> <div sID="gen13" type="x-p"/> <lg sID="gen14"/>
-------
Rendered Header:
- <h3 class="title psalm canonical">A Psalm of David, when he fled from Absalom his son.</h3>
+ <h3 class="title psalm canonical">A Psalm of David<a class="noteMarker crossReference" href="passagestudy.jsp?action=showNote&type=x&value=1&module=OSISReference&passage=Psalms+3%3A1"><small><sup class="x">*x</sup></small></a>, when he fled from Absalom his son.</h3>
<br />
More information about the sword-cvs
mailing list