Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv28867/tests
Modified Files:
ParserTestCase.java
Log Message:
Moved SpecialHashTable to util.
Fixed some attribute bugs and some test cases.
Index: ParserTestCase.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/ParserTestCase.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** ParserTestCase.java 28 Sep 2003 15:33:58 -0000 1.29
--- ParserTestCase.java 2 Oct 2003 23:48:53 -0000 1.30
***************
*** 48,51 ****
--- 48,52 ----
import org.htmlparser.util.ParserException;
import org.htmlparser.util.ParserUtils;
+ import org.htmlparser.util.SpecialHashtable;
public class ParserTestCase extends TestCase {
***************
*** 325,329 ****
String actualValue =
actualTag.getAttribute(key);
! if (key==Tag.TAGNAME) {
expectedValue = ParserUtils.removeChars(expectedValue,'/');
actualValue = ParserUtils.removeChars(actualValue,'/');
--- 326,330 ----
String actualValue =
actualTag.getAttribute(key);
! if (key==SpecialHashtable.TAGNAME) {
expectedValue = ParserUtils.removeChars(expectedValue,'/');
actualValue = ParserUtils.removeChars(actualValue,'/');
***************
*** 351,355 ****
String actualValue =
actualTag.getAttribute(key);
! if (key==Tag.TAGNAME) {
expectedValue = ParserUtils.removeChars(expectedValue,'/');
actualValue = ParserUtils.removeChars(actualValue,'/');
--- 352,356 ----
String actualValue =
actualTag.getAttribute(key);
! if (key==SpecialHashtable.TAGNAME) {
expectedValue = ParserUtils.removeChars(expectedValue,'/');
actualValue = ParserUtils.removeChars(actualValue,'/');
|