[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit/javascript NekoEnhancedScriptingTest.jav
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2002-11-06 13:10:45
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/javascript
In directory usw-pr-cvs1:/tmp/cvs-serv18823/test/com/meterware/httpunit/javascript
Modified Files:
DocumentScriptingTest.java
Added Files:
NekoEnhancedScriptingTest.java
Log Message:
Enable JTidy parser if NekoHTML is not in the classpath
***** Error reading new file[Errno 2] No such file or directory: 'NekoEnhancedScriptingTest.java'
Index: DocumentScriptingTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/javascript/DocumentScriptingTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DocumentScriptingTest.java 24 Oct 2002 13:28:55 -0000 1.3
+++ DocumentScriptingTest.java 6 Nov 2002 13:10:41 -0000 1.4
@@ -99,23 +99,6 @@
}
- public void testEmbeddedDocumentWrite() throws Exception {
- defineResource( "OnCommand.html", "<html><head><title>something</title></head>" +
- "<body>" +
- "<script language='JavaScript'>" +
- "document.write( '<a id=here href=about:blank>' );" +
- "document.write( document.title );" +
- "document.write( '</a>' );" +
- "</script>" +
- "</body></html>" );
- WebConversation wc = new WebConversation();
- WebResponse response = wc.getResponse( getHostPath() + "/OnCommand.html" );
- WebLink link = response.getLinkWithID( "here" );
- assertNotNull( "The link was not found", link );
- assertEquals( "Link contents", "something", link.asText() );
- }
-
-
public void testJavaScriptObjectIdentity() throws Exception {
defineResource( "OnCommand.html", "<html><head><script language='JavaScript'>" +
"function compareLinks() { " +
|