[Docstring-checkins] CVS: dps/test/test_transforms test_hyperlinks.py,1.8,1.9
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-04-13 16:59:10
|
Update of /cvsroot/docstring/dps/test/test_transforms In directory usw-pr-cvs1:/tmp/cvs-serv12713/dps/test/test_transforms Modified Files: test_hyperlinks.py Log Message: updated Index: test_hyperlinks.py =================================================================== RCS file: /cvsroot/docstring/dps/test/test_transforms/test_hyperlinks.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** test_hyperlinks.py 28 Mar 2002 04:32:22 -0000 1.8 --- test_hyperlinks.py 13 Apr 2002 16:59:07 -0000 1.9 *************** *** 68,72 **** <target id="direct" name="direct"> <paragraph> ! <reference refname="direct"> direct internal --- 68,72 ---- <target id="direct" name="direct"> <paragraph> ! <reference refid="direct"> direct internal *************** *** 84,92 **** <target id="ztarget" name="ztarget"> <paragraph> ! <reference refname="ztarget"> indirect internal ! <target id="indirect2" name="indirect2" refname="ztarget"> ! <target id="indirect" name="indirect" refname="ztarget"> """], ["""\ --- 84,92 ---- <target id="ztarget" name="ztarget"> <paragraph> ! <reference refid="ztarget"> indirect internal ! <target id="indirect2" name="indirect2" refid="ztarget"> ! <target id="indirect" name="indirect" refid="ztarget"> """], ["""\ *************** *** 104,111 **** Implicit <paragraph> ! <reference refname="implicit"> indirect internal ! <target id="indirect" name="indirect" refname="implicit"> """], ["""\ --- 104,111 ---- Implicit <paragraph> ! <reference refid="implicit"> indirect internal ! <target id="indirect" name="indirect" refid="implicit"> """], ["""\ *************** *** 132,146 **** <title> Implicit ! <system_message level="1" refid="id1" type="INFO"> <paragraph> Duplicate implicit target name: "implicit". <paragraph> ! <reference refname="implicit"> ! indirect internal <target id="indirect" name="indirect" refname="implicit"> ! <system_message level="2" type="WARNING"> <paragraph> ! Indirect hyperlink target "indirect" refers to target "implicit", which does not exist. """], ["""\ --- 132,146 ---- <title> Implicit ! <system_message backrefs="id1" level="1" type="INFO"> <paragraph> Duplicate implicit target name: "implicit". <paragraph> ! <problematic id="id3" refid="id2"> ! indirect_ internal <target id="indirect" name="indirect" refname="implicit"> ! <system_message backrefs="id3" id="id2" level="2" type="WARNING"> <paragraph> ! Indirect hyperlink target "indirect" (id="indirect") refers to target "implicit", which does not exist. """], ["""\ *************** *** 154,158 **** <reference anonymous="1" refuri="http://direct"> direct external ! <target anonymous="1" id="id1" name="_:1:_" refuri="http://direct"> """], ["""\ --- 154,158 ---- <reference anonymous="1" refuri="http://direct"> direct external ! <target anonymous="1" id="id1" refuri="http://direct"> """], ["""\ *************** *** 167,171 **** <reference anonymous="1" refuri="http://indirect"> indirect external ! <target anonymous="1" id="id1" name="_:1:_" refuri="http://indirect"> <target id="xtarget" name="xtarget" refuri="http://indirect"> """], --- 167,171 ---- <reference anonymous="1" refuri="http://indirect"> indirect external ! <target anonymous="1" id="id1" refuri="http://indirect"> <target id="xtarget" name="xtarget" refuri="http://indirect"> """], *************** *** 177,183 **** """\ <document> ! <target anonymous="1" id="id1" name="_:1:_"> <paragraph> ! <reference anonymous="1" refname="_:1:_"> direct internal """], --- 177,183 ---- """\ <document> ! <target anonymous="1" id="id1"> <paragraph> ! <reference anonymous="1" refid="id1"> direct internal """], *************** *** 193,199 **** <target id="ztarget" name="ztarget"> <paragraph> ! <reference anonymous="1" refname="ztarget"> indirect internal ! <target anonymous="1" id="id1" name="_:1:_" refname="ztarget"> """], ["""\ --- 193,199 ---- <target id="ztarget" name="ztarget"> <paragraph> ! <reference anonymous="1" refid="ztarget"> indirect internal ! <target anonymous="1" id="id1" refid="ztarget"> """], ["""\ *************** *** 215,219 **** <paragraph> First ! <system_message level="2" refid="id1" type="WARNING"> <paragraph> Duplicate explicit target name: "ztarget". --- 215,219 ---- <paragraph> First ! <system_message backrefs="id1" level="2" type="WARNING"> <paragraph> Duplicate explicit target name: "ztarget". *************** *** 222,228 **** Second <paragraph> ! <reference anonymous="1" refname="ztarget"> indirect internal ! <target anonymous="1" id="id2" name="_:1:_" refname="ztarget"> """], ]) --- 222,228 ---- Second <paragraph> ! <reference anonymous="1" refid="id1"> indirect internal ! <target anonymous="1" id="id2" refid="id1"> """], ]) *************** *** 243,247 **** <paragraph> By this \n\ ! <reference refname="internal hyperlink"> internal hyperlink referemce. --- 243,247 ---- <paragraph> By this \n\ ! <reference refid="internal-hyperlink"> internal hyperlink referemce. *************** *** 266,274 **** <paragraph> By this \n\ ! <reference refname="internal hyperlink"> internal hyperlink referemce as well as by this \n\ ! <reference refname="chained"> chained reference. --- 266,274 ---- <paragraph> By this \n\ ! <reference refid="internal-hyperlink"> internal hyperlink referemce as well as by this \n\ ! <reference refid="chained"> chained reference. *************** *** 299,303 **** <system_message level="1" type="INFO"> <paragraph> ! External hyperlink target "indirect target" is not referenced. """], ["""\ --- 299,303 ---- <system_message level="1" type="INFO"> <paragraph> ! Indirect hyperlink target "indirect target" is not referenced. """], ["""\ *************** *** 372,381 **** """\ <document> ! <target anonymous="1" id="id1" name="_:1:_" refuri="http://full"> ! <target anonymous="1" id="id2" name="_:2:_" refuri="http://simplified"> ! <target anonymous="1" id="id3" name="_:3:_" refuri="http://simplified"> <target id="external" name="external" refuri="http://indirect.external"> ! <target anonymous="1" id="id4" name="_:4:_" refuri="http://indirect.external"> ! <target anonymous="1" id="id5" name="_:5:_"> <paragraph> <reference anonymous="1" refuri="http://full"> --- 372,381 ---- """\ <document> ! <target anonymous="1" id="id1" refuri="http://full"> ! <target anonymous="1" id="id2" refuri="http://simplified"> ! <target anonymous="1" id="id3" refuri="http://simplified"> <target id="external" name="external" refuri="http://indirect.external"> ! <target anonymous="1" id="id4" refuri="http://indirect.external"> ! <target anonymous="1" id="id5"> <paragraph> <reference anonymous="1" refuri="http://full"> *************** *** 391,395 **** indirect anonymous hyperlink reference , ! <reference anonymous="1" refname="_:5:_"> internal anonymous hyperlink reference . --- 391,395 ---- indirect anonymous hyperlink reference , ! <reference anonymous="1" refid="id5"> internal anonymous hyperlink reference . *************** *** 410,417 **** 's (different URIs): <target dupname="target" id="target" refuri="first"> ! <system_message level="2" refid="id1" type="WARNING"> <paragraph> Duplicate explicit target name: "target". <target dupname="target" id="id1" refuri="second"> """], ]) --- 410,439 ---- 's (different URIs): <target dupname="target" id="target" refuri="first"> ! <system_message backrefs="id1" level="2" type="WARNING"> <paragraph> Duplicate explicit target name: "target". <target dupname="target" id="id1" refuri="second"> + """], + ["""\ + Several__ anonymous__ hyperlinks__, but not enough targets. + + __ http://example.org + """, + """\ + <document> + <paragraph> + <problematic id="id3" refid="id2"> + Several__ + \n\ + <problematic id="id4" refid="id2"> + anonymous__ + \n\ + <problematic id="id5" refid="id2"> + hyperlinks__ + , but not enough targets. + <target anonymous="1" id="id1" refuri="http://example.org"> + <system_message backrefs="id3 id4 id5" id="id2" level="3" type="ERROR"> + <paragraph> + Anonymous hyperlink mismatch: 3 references but 1 targets. """], ]) |