[hmath-commits] org.hmath.server/WEB-INF/src/org/hartmath/server/test/filter WikipediaFilterTest.jav
Status: Pre-Alpha
Brought to you by:
jsurfer
|
From: Klaus H. <js...@us...> - 2004-03-28 17:37:08
|
Update of /cvsroot/hmath/org.hmath.server/WEB-INF/src/org/hartmath/server/test/filter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26107/WEB-INF/src/org/hartmath/server/test/filter Modified Files: WikipediaFilterTest.java Log Message: parser changes Index: WikipediaFilterTest.java =================================================================== RCS file: /cvsroot/hmath/org.hmath.server/WEB-INF/src/org/hartmath/server/test/filter/WikipediaFilterTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** WikipediaFilterTest.java 9 Mar 2004 20:13:10 -0000 1.1 --- WikipediaFilterTest.java 28 Mar 2004 17:25:48 -0000 1.2 *************** *** 39,46 **** public void testParser() { ! assertEquals( ! "test <span class=\"nobr\"><a href=\"http://www.hmath.org\">http://www.hmath.org</a></span><br/><span class=\"nobr\"><a href=\"http://www.hmath.org\">http://www.hmath.org</a></span>", filter.filter("test http://www.hmath.org<br/>http://www.hmath.org", context)); - assertEquals("asssřzzz", --- 39,46 ---- public void testParser() { ! assertEquals("<h2><a name=\"test_head\"> test head </a></h2>", ! filter.filter("== test head ==", context)); ! assertEquals("test <span class=\"nobr\"><a href=\"http://www.hmath.org\">http://www.hmath.org</a></span><br/><span class=\"nobr\"><a href=\"http://www.hmath.org\">http://www.hmath.org</a></span>", filter.filter("test http://www.hmath.org<br/>http://www.hmath.org", context)); assertEquals("asssřzzz", |