Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /svnutils/trunk/src/tests/sident.t

svnutils
Discussion topic

Back to topic list

CVS update: /svnutils/trunk/src/tests/sident.t

Author sunny256
Full name Øyvind A. Holm
Date 2008-09-25 12:29:01 PDT
Message User: sunny256 Date: 2008-09-25 12:29:01-0700 Log: r221 | sunny256 | 2008-09-25 16:22:26 +0000 (Thu, 25 Sep 2008) | 7 lines * /trunk/src/tests/sident.t (List only expanded keywords): Had no description, and modified it to also read a file containing expanded keywords. Also added two new tests. 10d401aa-8b1e-11dd-b347-000475e441b9 (svn) 309c77c8-8b38-11dd-afd4-000475e441b9 (cvs) File Changes: Directory: /svnutils/trunk/src/tests/ ===================================== File [changed]: sident.t Url: http://svnutils.tigris.org/source/browse/svnutils/trunk/src/tests/sident.t?r1=1.2&r2=1.3 Delta lines: +42 -2 -------------------- --- sident.t 2008-09-24 18:12:44-0700 1.2 +++ sident.t 2008-09-25 12:28:59-0700 1.3 @@ -139,10 +139,43 @@ # }}} diag("Testing -e (--expanded-only) option..."); -testcmd("$CMD -e sident-files/unexpanded", # {{{ +testcmd("$CMD -e sident-files/unexpanded sident-files/textfile", # {{{ + <<'END', + +sident-files/textfile: + $Id: plain_old_textfile 93653 2008-09-22 14:15:10Z sunny $ + $Id: yeh 1234 2008-09-22 12:25:05Z sunny $ + $Id: plain_old_textfile 93653 2008-09-22 14:15:10Z sunny $ + $Id: yeh 1234 2008-09-22 12:25:05Z sunny $ + $Id: yeh 1234 2008-09-22 12:25:05Z sunny $ + $Date: 1999/12/23 21:59:22 $ + $Header: /cvsweb/cvs-guide/keyword.html,v 1.3 1999/12/23 21:59:22 markd Exp $ + $Id: keyword.html,v 1.3 1999/12/23 21:59:22 markd Exp $ + $Weirdo: blah blah $ +END "", + "List only expanded keywords", +); + +# }}} +testcmd("$CMD -ev sident-files/unexpanded sident-files/textfile", # {{{ + <<'END', + +sident-files/unexpanded: + +sident-files/textfile: + $Id: plain_old_textfile 93653 2008-09-22 14:15:10Z sunny $ + $Id: yeh 1234 2008-09-22 12:25:05Z sunny $ + $Id: plain_old_textfile 93653 2008-09-22 14:15:10Z sunny $ + $Id: yeh 1234 2008-09-22 12:25:05Z sunny $ + $Id: yeh 1234 2008-09-22 12:25:05Z sunny $ + $Date: 1999/12/23 21:59:22 $ + $Header: /cvsweb/cvs-guide/keyword.html,v 1.3 1999/12/23 21:59:22 markd Exp $ + $Id: keyword.html,v 1.3 1999/12/23 21:59:22 markd Exp $ + $Weirdo: blah blah $ +END "", - "description", + "List only expanded keywords, plus list filename without expanded kw", ); # }}} @@ -418,6 +451,13 @@ ); # }}} +likecmd("$CMD -x sident-files/shbvkdsvsdfv", # {{{ + '/^<\?xml version="1\.0"\?>\n\n<\/sident>$/', + '/^sident: sident-files/shbvkdsvsdfv: .*$/', + "File not found, don’t break the XML", +); + +# }}} diag("Validate POD (Plain Old Documentation)"); testcmd("podchecker $CMD", # {{{ "",

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /svnutils/trunk/src/tests/sident.t sunny256 Øyvind A. Holm 2008-09-25 12:29:01 PDT
Messages per page: