[Docstring-checkins] CVS: dps/test/test_transforms test_hyperlinks.py,1.5,1.6
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-03-11 03:25:57
|
Update of /cvsroot/docstring/dps/test/test_transforms In directory usw-pr-cvs1:/tmp/cvs-serv11918/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.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** test_hyperlinks.py 20 Feb 2002 04:30:03 -0000 1.5 --- test_hyperlinks.py 11 Mar 2002 03:25:54 -0000 1.6 *************** *** 30,34 **** # Exhaustive listing of hyperlink variations: every combination of # target/reference, direct/indirect, internal/external, and named/anonymous. ! totest['enumerated_hyperlinks'] = ((Hyperlinks,), [ ["""\ direct_ external --- 30,34 ---- # Exhaustive listing of hyperlink variations: every combination of # target/reference, direct/indirect, internal/external, and named/anonymous. ! totest['exhaustive_hyperlinks'] = ((Hyperlinks,), [ ["""\ direct_ external *************** *** 91,94 **** --- 91,148 ---- """], ["""\ + Implicit + -------- + + indirect_ internal + + .. _indirect: implicit_ + """, + """\ + <document> + <section id="id1" name="implicit"> + <title> + Implicit + <paragraph> + <reference refname="implicit"> + indirect + internal + <target id="id2" name="indirect" refname="implicit"> + """], + ["""\ + Implicit + -------- + + Duplicate implicit targets. + + Implicit + -------- + + indirect_ internal + + .. _indirect: implicit_ + """, + """\ + <document> + <section dupname="implicit" id="id1"> + <title> + Implicit + <paragraph> + Duplicate implicit targets. + <section dupname="implicit" id="id2"> + <title> + Implicit + <system_message level="1" refid="id2" type="INFO"> + <paragraph> + Duplicate implicit target name: "implicit" + <paragraph> + <reference refname="implicit"> + indirect + internal + <target id="id3" name="indirect" refname="implicit"> + <system_message level="2" type="WARNING"> + <paragraph> + Indirect hyperlink target "indirect" refers to target "implicit", which does not exist. + """], + ["""\ `direct external`__ *************** *** 98,104 **** <document> <paragraph> ! <reference refuri="http://direct"> direct external ! <target id="id1" name="_:1:_" refuri="http://direct"> """], ["""\ --- 152,158 ---- <document> <paragraph> ! <reference anonymous="1" refuri="http://direct"> direct external ! <target anonymous="1" id="id1" name="_:1:_" refuri="http://direct"> """], ["""\ *************** *** 111,117 **** <document> <paragraph> ! <reference refuri="http://indirect"> indirect external ! <target id="id2" name="_:1:_" refuri="http://indirect"> <target id="id1" name="xtarget" refuri="http://indirect"> """], --- 165,171 ---- <document> <paragraph> ! <reference anonymous="1" refuri="http://indirect"> indirect external ! <target anonymous="1" id="id2" name="_:1:_" refuri="http://indirect"> <target id="id1" name="xtarget" refuri="http://indirect"> """], *************** *** 123,129 **** """\ <document> ! <target id="id1" name="_:1:_"> <paragraph> ! <reference refname="_:1:_"> direct internal """], --- 177,183 ---- """\ <document> ! <target anonymous="1" id="id1" name="_:1:_"> <paragraph> ! <reference anonymous="1" refname="_:1:_"> direct internal """], *************** *** 139,145 **** <target id="id1" name="ztarget"> <paragraph> ! <reference refname="ztarget"> indirect internal ! <target id="id2" name="_:1:_" refname="ztarget"> """], ]) --- 193,228 ---- <target id="id1" name="ztarget"> <paragraph> ! <reference anonymous="1" refname="ztarget"> indirect internal ! <target anonymous="1" id="id2" name="_:1:_" refname="ztarget"> ! """], ! ["""\ ! .. _ztarget: ! ! First ! ! .. _ztarget: ! ! Second ! ! `indirect internal`__ ! ! __ ztarget_ ! """, ! """\ ! <document> ! <target dupname="ztarget" id="id1"> ! <paragraph> ! First ! <system_message level="2" refid="id2" type="WARNING"> ! <paragraph> ! Duplicate explicit target name: "ztarget" ! <target dupname="ztarget" id="id2"> ! <paragraph> ! Second ! <paragraph> ! <reference anonymous="1" refname="ztarget"> ! indirect internal ! <target anonymous="1" id="id3" name="_:1:_" refname="ztarget"> """], ]) *************** *** 289,312 **** """\ <document> ! <target id="id2" name="_:1:_" refuri="http://full"> ! <target id="id3" name="_:2:_" refuri="http://simplified"> ! <target id="id4" name="_:3:_" refuri="http://simplified"> <target id="id1" name="external" refuri="http://indirect.external"> ! <target id="id5" name="_:4:_" refuri="http://indirect.external"> ! <target id="id6" name="_:5:_"> <paragraph> ! <reference refuri="http://full"> Full syntax anonymous external hyperlink reference , ! <reference refuri="http://simplified"> chained anonymous external reference , ! <reference refuri="http://simplified"> simplified syntax anonymous external hyperlink reference , ! <reference refuri="http://indirect.external"> indirect anonymous hyperlink reference , ! <reference refname="_:5:_"> internal anonymous hyperlink reference . --- 372,395 ---- """\ <document> ! <target anonymous="1" id="id2" name="_:1:_" refuri="http://full"> ! <target anonymous="1" id="id3" name="_:2:_" refuri="http://simplified"> ! <target anonymous="1" id="id4" name="_:3:_" refuri="http://simplified"> <target id="id1" name="external" refuri="http://indirect.external"> ! <target anonymous="1" id="id5" name="_:4:_" refuri="http://indirect.external"> ! <target anonymous="1" id="id6" name="_:5:_"> <paragraph> ! <reference anonymous="1" refuri="http://full"> Full syntax anonymous external hyperlink reference , ! <reference anonymous="1" refuri="http://simplified"> chained anonymous external reference , ! <reference anonymous="1" refuri="http://simplified"> simplified syntax anonymous external hyperlink reference , ! <reference anonymous="1" refuri="http://indirect.external"> indirect anonymous hyperlink reference , ! <reference anonymous="1" refname="_:5:_"> internal anonymous hyperlink reference . *************** *** 327,331 **** 's (different URIs): <target dupname="target" id="id1" refuri="first"> ! <system_message level="2" type="WARNING"> <paragraph> Duplicate explicit target name: "target" --- 410,414 ---- 's (different URIs): <target dupname="target" id="id1" refuri="first"> ! <system_message level="2" refid="id2" type="WARNING"> <paragraph> Duplicate explicit target name: "target" |