Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/tagTests
In directory sc8-pr-cvs1:/tmp/cvs-serv29167/tests/tagTests
Modified Files:
BaseHrefTagTest.java
Log Message:
Add simplistic web site capture example application.
Demonstration of using custom tags in the NodeFactory.
Fixed various issues with URL rewriting.
Index: BaseHrefTagTest.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/tagTests/BaseHrefTagTest.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** BaseHrefTagTest.java 8 Dec 2003 01:31:55 -0000 1.36
--- BaseHrefTagTest.java 29 Dec 2003 14:18:24 -0000 1.37
***************
*** 79,83 ****
assertTrue("Base href tag should be the 4th tag", node[3] instanceof BaseHrefTag);
BaseHrefTag baseRefTag = (BaseHrefTag)node[3];
! assertEquals("Base HREF Url","http://www.abc.com",baseRefTag.getBaseUrl());
}
--- 79,83 ----
assertTrue("Base href tag should be the 4th tag", node[3] instanceof BaseHrefTag);
BaseHrefTag baseRefTag = (BaseHrefTag)node[3];
! assertEquals("Base HREF Url","http://www.abc.com/",baseRefTag.getBaseUrl());
}
|