001: /*
002: * Java HTML Tidy - JTidy
003: * HTML parser and pretty printer
004: *
005: * Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
006: * Institute of Technology, Institut National de Recherche en
007: * Informatique et en Automatique, Keio University). All Rights
008: * Reserved.
009: *
010: * Contributing Author(s):
011: *
012: * Dave Raggett <dsr@w3.org>
013: * Andy Quick <ac.quick@sympatico.ca> (translation to Java)
014: * Gary L Peskin <garyp@firstech.com> (Java development)
015: * Sami Lempinen <sami@lempinen.net> (release management)
016: * Fabrizio Giustina <fgiust at users.sourceforge.net>
017: *
018: * The contributing author(s) would like to thank all those who
019: * helped with testing, bug fixes, and patience. This wouldn't
020: * have been possible without all of you.
021: *
022: * COPYRIGHT NOTICE:
023: *
024: * This software and documentation is provided "as is," and
025: * the copyright holders and contributing author(s) make no
026: * representations or warranties, express or implied, including
027: * but not limited to, warranties of merchantability or fitness
028: * for any particular purpose or that the use of the software or
029: * documentation will not infringe any third party patents,
030: * copyrights, trademarks or other rights.
031: *
032: * The copyright holders and contributing author(s) will not be
033: * liable for any direct, indirect, special or consequential damages
034: * arising out of any use of the software or documentation, even if
035: * advised of the possibility of such damage.
036: *
037: * Permission is hereby granted to use, copy, modify, and distribute
038: * this source code, or portions hereof, documentation and executables,
039: * for any purpose, without fee, subject to the following restrictions:
040: *
041: * 1. The origin of this source code must not be misrepresented.
042: * 2. Altered versions must be plainly marked as such and must
043: * not be misrepresented as being the original source.
044: * 3. This Copyright notice may not be removed or altered from any
045: * source or altered source distribution.
046: *
047: * The copyright holders and contributing author(s) specifically
048: * permit, without fee, and encourage the use of this source code
049: * as a component for supporting the Hypertext Markup Language in
050: * commercial products. If you use this source code in a product,
051: * acknowledgment is not required but would be appreciated.
052: *
053: */
054: package org.w3c.tidy;
055:
056: import junit.framework.Test;
057: import junit.framework.TestSuite;
058:
059: /**
060: * Testsuite for all the test cases actually working in JTidy. Must be used to assure there are no regressions after a
061: * change.
062: * @author Fabrizio Giustina
063: * @version $Revision: 1.54 $ ($Author: fgiust $)
064: */
065: public final class AllWorkingTests {
066:
067: /**
068: * Should not be instantiated.
069: */
070: private AllWorkingTests() {
071: // unused
072: }
073:
074: /**
075: * Generates the suite.
076: * @return junit test suite.
077: */
078: public static Test suite() {
079: TestSuite suite = new TestSuite(
080: "All the working test cases for JTidy");
081: suite.addTestSuite(TidyCrashingBugsTest.class);
082: suite.addTestSuite(TidyBugsTest.class);
083: suite.addTestSuite(JTidyParserBugsTest.class);
084: suite.addTestSuite(JTidyWarningBugsTest.class);
085:
086: suite.addTest(new JTidyBugsTest("test475643"));
087: suite.addTest(new JTidyBugsTest("test527118"));
088: suite.addTest(new JTidyBugsTest("test538727"));
089: suite.addTest(new JTidyBugsTest("test547976"));
090: suite.addTest(new JTidyBugsTest("test610244"));
091: suite.addTest(new JTidyBugsTest("test648768"));
092: suite.addTest(new JTidyBugsTest("test663197"));
093: suite.addTest(new JTidyBugsTest("test791933"));
094: suite.addTest(new JTidyBugsTest("test909187"));
095: suite.addTest(new JTidyBugsTest("test929936"));
096: suite.addTest(new JTidyBugsTest("test1024661"));
097: suite.addTest(new JTidyBugsTest("test1058909"));
098:
099: suite.addTest(new TidyOutputBugsTest("test427812"));
100: suite.addTest(new TidyOutputBugsTest("test427662"));
101: suite.addTest(new TidyOutputBugsTest("test427677"));
102: suite.addTest(new TidyOutputBugsTest("test427819"));
103: suite.addTest(new TidyOutputBugsTest("test427821"));
104: suite.addTest(new TidyOutputBugsTest("test427823"));
105: suite.addTest(new TidyOutputBugsTest("test427825"));
106: suite.addTest(new TidyOutputBugsTest("test427835"));
107: suite.addTest(new TidyOutputBugsTest("test427837"));
108: suite.addTest(new TidyOutputBugsTest("test427839"));
109: suite.addTest(new TidyOutputBugsTest("test427846"));
110: suite.addTest(new TidyOutputBugsTest("test431731"));
111: suite.addTest(new TidyOutputBugsTest("test431889"));
112: suite.addTest(new TidyOutputBugsTest("test431965"));
113: suite.addTest(new TidyOutputBugsTest("test431736"));
114: suite.addTest(new TidyOutputBugsTest("test432677"));
115: suite.addTest(new TidyOutputBugsTest("test433040"));
116: suite.addTest(new TidyOutputBugsTest("test433359"));
117: suite.addTest(new TidyOutputBugsTest("test433604"));
118: suite.addTest(new TidyOutputBugsTest("test433656"));
119: suite.addTest(new TidyOutputBugsTest("test433666"));
120: suite.addTest(new TidyOutputBugsTest("test433672"));
121: suite.addTest(new TidyOutputBugsTest("test434940"));
122: suite.addTest(new TidyOutputBugsTest("test434940b"));
123: suite.addTest(new TidyOutputBugsTest("test435919"));
124: suite.addTest(new TidyOutputBugsTest("test438650"));
125: suite.addTest(new TidyOutputBugsTest("test438658"));
126: suite.addTest(new TidyOutputBugsTest("test441568"));
127: suite.addTest(new TidyOutputBugsTest("test441740"));
128: suite.addTest(new TidyOutputBugsTest("test443381"));
129: suite.addTest(new TidyOutputBugsTest("test443678"));
130: suite.addTest(new TidyOutputBugsTest("test445074"));
131: suite.addTest(new TidyOutputBugsTest("test470688"));
132: suite.addTest(new TidyOutputBugsTest("test471264"));
133: suite.addTest(new TidyOutputBugsTest("test473490"));
134: suite.addTest(new TidyOutputBugsTest("test456596"));
135: suite.addTest(new TidyOutputBugsTest("test480406"));
136: suite.addTest(new TidyOutputBugsTest("test480701"));
137: suite.addTest(new TidyOutputBugsTest("test487204"));
138: suite.addTest(new TidyOutputBugsTest("test487283"));
139: suite.addTest(new TidyOutputBugsTest("test500236"));
140: suite.addTest(new TidyOutputBugsTest("test502348"));
141: suite.addTest(new TidyOutputBugsTest("test517550"));
142: suite.addTest(new TidyOutputBugsTest("test603128"));
143: suite.addTest(new TidyOutputBugsTest("test616744"));
144: suite.addTest(new TidyOutputBugsTest("test996484"));
145:
146: suite.addTest(new TidyWarningBugsTest("test427810"));
147: suite.addTest(new TidyWarningBugsTest("test431874"));
148: suite.addTest(new TidyWarningBugsTest("test427827"));
149: suite.addTest(new TidyWarningBugsTest("test427834"));
150: suite.addTest(new TidyWarningBugsTest("test427844"));
151: suite.addTest(new TidyWarningBugsTest("test431719"));
152: suite.addTest(new TidyWarningBugsTest("test431883"));
153: suite.addTest(new TidyWarningBugsTest("test431956"));
154: suite.addTest(new TidyWarningBugsTest("test433021"));
155: suite.addTest(new TidyWarningBugsTest("test434100"));
156: suite.addTest(new TidyWarningBugsTest("test435917"));
157: suite.addTest(new TidyWarningBugsTest("test435917b"));
158: suite.addTest(new TidyWarningBugsTest("test438956"));
159: suite.addTest(new TidyWarningBugsTest("test450389"));
160: suite.addTest(new TidyWarningBugsTest("test501230"));
161: suite.addTest(new TidyWarningBugsTest("test501669"));
162: suite.addTest(new TidyWarningBugsTest("test516370"));
163: suite.addTest(new TidyWarningBugsTest("test517528"));
164: suite.addTest(new TidyWarningBugsTest("test525081"));
165: suite.addTest(new TidyWarningBugsTest("test538536"));
166: suite.addTest(new TidyWarningBugsTest("test545067"));
167: suite.addTest(new TidyWarningBugsTest("test553468"));
168: suite.addTest(new TidyWarningBugsTest("test706260"));
169:
170: suite.addTest(new TidyEncodingBugsTest("test676156"));
171:
172: return suite;
173: }
174:
175: }
|