Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29769/src/org/htmlparser/tests/scannersTests
Modified Files:
ScriptScannerTest.java JspScannerTest.java
Log Message:
Implemented:
RFE #1017249 HTML Client Doesn't Support Cookies but will follow redirect
RFE #1010586 Add support for password protected URL
and RFE #1000739 Add support for proxy scenario
A new http package is added, the primary class being Connectionmanager which
handles proxies, passwords and cookies. Some testing still needed.
Also removed some line separator cruft.
Index: JspScannerTest.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/JspScannerTest.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** JspScannerTest.java 14 Jan 2004 02:53:47 -0000 1.37
--- JspScannerTest.java 2 Sep 2004 02:28:07 -0000 1.38
***************
*** 27,31 ****
package org.htmlparser.tests.scannersTests;
- import org.htmlparser.Parser;
import org.htmlparser.PrototypicalNodeFactory;
import org.htmlparser.tags.JspTag;
--- 27,30 ----
***************
*** 85,89 ****
"}\n" +
"%>");
- Parser.setLineSeparator("\r\n");
parser.setNodeFactory (new PrototypicalNodeFactory (new JspTag ()));
parseAndAssertNodeCount(1);
--- 84,87 ----
Index: ScriptScannerTest.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/ScriptScannerTest.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** ScriptScannerTest.java 18 Jul 2004 21:31:19 -0000 1.56
--- ScriptScannerTest.java 2 Sep 2004 02:28:07 -0000 1.57
***************
*** 113,117 ****
createParser(testHTML1,"http://www.google.com/test/index.html");
- Parser.setLineSeparator("\r\n");
parseAndAssertNodeCount(1);
assertTrue("Node should be a body tag", node[0] instanceof BodyTag);
--- 113,116 ----
|