From: fabrizio g. <fg...@us...> - 2005-01-06 10:30:54
|
Update of /cvsroot/jtidy/jtidy/src/test/org/w3c/tidy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30218/src/test/org/w3c/tidy Modified Files: JTidyBugsTest.java AllWorkingTests.java Log Message: #1097062 Index: JTidyBugsTest.java =================================================================== RCS file: /cvsroot/jtidy/jtidy/src/test/org/w3c/tidy/JTidyBugsTest.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- JTidyBugsTest.java 6 Nov 2004 22:16:25 -0000 1.23 +++ JTidyBugsTest.java 6 Jan 2005 10:30:45 -0000 1.24 @@ -53,12 +53,6 @@ */ package org.w3c.tidy; -import java.io.BufferedInputStream; -import java.net.URL; - -import org.w3c.dom.Document; - - /** * testcase for JTidy resolved bugs. * @author fgiust @@ -136,8 +130,8 @@ */ public void test538727() throws Exception { - //this has the same result of setting it in the config file - //tidy.setDocType("\"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"file:///E:/xhtml1-transitional.dtd\""); + // this has the same result of setting it in the config file + // tidy.setDocType("\"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"file:///E:/xhtml1-transitional.dtd\""); executeTidyTest("538727.html"); } @@ -288,4 +282,13 @@ executeTidyTest("1058909.html"); } + /** + * test for JTidy [1097062]: trimInitialSpace does not handle nested inlines. + * @throws Exception any exception generated during the test + */ + public void test1097062() throws Exception + { + executeTidyTest("1097062.html"); + } + } \ No newline at end of file Index: AllWorkingTests.java =================================================================== RCS file: /cvsroot/jtidy/jtidy/src/test/org/w3c/tidy/AllWorkingTests.java,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- AllWorkingTests.java 6 Nov 2004 22:16:25 -0000 1.54 +++ AllWorkingTests.java 6 Jan 2005 10:30:45 -0000 1.55 @@ -98,6 +98,7 @@ suite.addTest(new JTidyBugsTest("test929936")); suite.addTest(new JTidyBugsTest("test1024661")); suite.addTest(new JTidyBugsTest("test1058909")); + suite.addTest(new JTidyBugsTest("test1097062")); suite.addTest(new TidyOutputBugsTest("test427812")); suite.addTest(new TidyOutputBugsTest("test427662")); |