1   /*
2    *  Java HTML Tidy - JTidy
3    *  HTML parser and pretty printer
4    *
5    *  Copyright (c) 1998-2000 World Wide Web Consortium (Massachusetts
6    *  Institute of Technology, Institut National de Recherche en
7    *  Informatique et en Automatique, Keio University). All Rights
8    *  Reserved.
9    *
10   *  Contributing Author(s):
11   *
12   *     Dave Raggett <dsr@w3.org>
13   *     Andy Quick <ac.quick@sympatico.ca> (translation to Java)
14   *     Gary L Peskin <garyp@firstech.com> (Java development)
15   *     Sami Lempinen <sami@lempinen.net> (release management)
16   *     Fabrizio Giustina <fgiust at users.sourceforge.net>
17   *
18   *  The contributing author(s) would like to thank all those who
19   *  helped with testing, bug fixes, and patience.  This wouldn't
20   *  have been possible without all of you.
21   *
22   *  COPYRIGHT NOTICE:
23   *
24   *  This software and documentation is provided "as is," and
25   *  the copyright holders and contributing author(s) make no
26   *  representations or warranties, express or implied, including
27   *  but not limited to, warranties of merchantability or fitness
28   *  for any particular purpose or that the use of the software or
29   *  documentation will not infringe any third party patents,
30   *  copyrights, trademarks or other rights.
31   *
32   *  The copyright holders and contributing author(s) will not be
33   *  liable for any direct, indirect, special or consequential damages
34   *  arising out of any use of the software or documentation, even if
35   *  advised of the possibility of such damage.
36   *
37   *  Permission is hereby granted to use, copy, modify, and distribute
38   *  this source code, or portions hereof, documentation and executables,
39   *  for any purpose, without fee, subject to the following restrictions:
40   *
41   *  1. The origin of this source code must not be misrepresented.
42   *  2. Altered versions must be plainly marked as such and must
43   *     not be misrepresented as being the original source.
44   *  3. This Copyright notice may not be removed or altered from any
45   *     source or altered source distribution.
46   *
47   *  The copyright holders and contributing author(s) specifically
48   *  permit, without fee, and encourage the use of this source code
49   *  as a component for supporting the Hypertext Markup Language in
50   *  commercial products. If you use this source code in a product,
51   *  acknowledgment is not required but would be appreciated.
52   *
53   */
54  package org.w3c.tidy;
55  
56  import junit.framework.Test;
57  import junit.framework.TestSuite;
58  
59  
60  /**
61   * Testsuite for all the test cases actually working in JTidy. Must be used to assure there are no regressions after a
62   * change.
63   * @author Fabrizio Giustina
64   * @version $Revision: 779 $ ($Author: fgiust $)
65   */
66  public final class AllWorkingTests
67  {
68  
69      /**
70       * Should not be instantiated.
71       */
72      private AllWorkingTests()
73      {
74          // unused
75      }
76  
77      /**
78       * Generates the suite.
79       * @return junit test suite.
80       */
81      public static Test suite()
82      {
83          TestSuite suite = new TestSuite("All the working test cases for JTidy");
84          suite.addTestSuite(TidyCrashingBugsTest.class);
85          suite.addTestSuite(TidyBugsTest.class);
86          suite.addTestSuite(JTidyParserBugsTest.class);
87          suite.addTestSuite(JTidyWarningBugsTest.class);
88  
89          suite.addTest(new JTidyBugsTest("test475643"));
90          suite.addTest(new JTidyBugsTest("test527118"));
91          suite.addTest(new JTidyBugsTest("test538727"));
92          suite.addTest(new JTidyBugsTest("test547976"));
93          suite.addTest(new JTidyBugsTest("test610244"));
94          suite.addTest(new JTidyBugsTest("test648768"));
95          suite.addTest(new JTidyBugsTest("test663197"));
96          suite.addTest(new JTidyBugsTest("test791933"));
97          suite.addTest(new JTidyBugsTest("test909187"));
98          suite.addTest(new JTidyBugsTest("test929936"));
99          suite.addTest(new JTidyBugsTest("test1024661"));
100         suite.addTest(new JTidyBugsTest("test1058909"));
101         suite.addTest(new JTidyBugsTest("test1097062"));
102 
103         suite.addTest(new TidyOutputBugsTest("test427812"));
104         suite.addTest(new TidyOutputBugsTest("test427662"));
105         suite.addTest(new TidyOutputBugsTest("test427677"));
106         suite.addTest(new TidyOutputBugsTest("test427819"));
107         suite.addTest(new TidyOutputBugsTest("test427821"));
108         suite.addTest(new TidyOutputBugsTest("test427823"));
109         suite.addTest(new TidyOutputBugsTest("test427825"));
110         suite.addTest(new TidyOutputBugsTest("test427835"));
111         suite.addTest(new TidyOutputBugsTest("test427837"));
112         suite.addTest(new TidyOutputBugsTest("test427839"));
113         suite.addTest(new TidyOutputBugsTest("test427846"));
114         suite.addTest(new TidyOutputBugsTest("test431731"));
115         suite.addTest(new TidyOutputBugsTest("test431889"));
116         suite.addTest(new TidyOutputBugsTest("test431965"));
117         suite.addTest(new TidyOutputBugsTest("test431736"));
118         suite.addTest(new TidyOutputBugsTest("test432677"));
119         suite.addTest(new TidyOutputBugsTest("test433040"));
120         suite.addTest(new TidyOutputBugsTest("test433359"));
121         suite.addTest(new TidyOutputBugsTest("test433604"));
122         suite.addTest(new TidyOutputBugsTest("test433656"));
123         suite.addTest(new TidyOutputBugsTest("test433666"));
124         suite.addTest(new TidyOutputBugsTest("test433672"));
125         suite.addTest(new TidyOutputBugsTest("test434940"));
126         suite.addTest(new TidyOutputBugsTest("test434940b"));
127         suite.addTest(new TidyOutputBugsTest("test435919"));
128         suite.addTest(new TidyOutputBugsTest("test438650"));
129         suite.addTest(new TidyOutputBugsTest("test438658"));
130         suite.addTest(new TidyOutputBugsTest("test441568"));
131         suite.addTest(new TidyOutputBugsTest("test441740"));
132         suite.addTest(new TidyOutputBugsTest("test443381"));
133         suite.addTest(new TidyOutputBugsTest("test443678"));
134         suite.addTest(new TidyOutputBugsTest("test445074"));
135         suite.addTest(new TidyOutputBugsTest("test470688"));
136         suite.addTest(new TidyOutputBugsTest("test471264"));
137         suite.addTest(new TidyOutputBugsTest("test473490"));
138         suite.addTest(new TidyOutputBugsTest("test456596"));
139         suite.addTest(new TidyOutputBugsTest("test480406"));
140         suite.addTest(new TidyOutputBugsTest("test480701"));
141         suite.addTest(new TidyOutputBugsTest("test487204"));
142         suite.addTest(new TidyOutputBugsTest("test487283"));
143         suite.addTest(new TidyOutputBugsTest("test500236"));
144         suite.addTest(new TidyOutputBugsTest("test502348"));
145         suite.addTest(new TidyOutputBugsTest("test517550"));
146         suite.addTest(new TidyOutputBugsTest("test603128"));
147         suite.addTest(new TidyOutputBugsTest("test616744"));
148         suite.addTest(new TidyOutputBugsTest("test996484"));
149 
150         suite.addTest(new TidyWarningBugsTest("test427810"));
151         suite.addTest(new TidyWarningBugsTest("test431874"));
152         suite.addTest(new TidyWarningBugsTest("test427827"));
153         suite.addTest(new TidyWarningBugsTest("test427834"));
154         suite.addTest(new TidyWarningBugsTest("test427844"));
155         suite.addTest(new TidyWarningBugsTest("test431719"));
156         suite.addTest(new TidyWarningBugsTest("test431883"));
157         suite.addTest(new TidyWarningBugsTest("test431956"));
158         suite.addTest(new TidyWarningBugsTest("test433021"));
159         suite.addTest(new TidyWarningBugsTest("test434100"));
160         suite.addTest(new TidyWarningBugsTest("test435917"));
161         suite.addTest(new TidyWarningBugsTest("test435917b"));
162         suite.addTest(new TidyWarningBugsTest("test438956"));
163         suite.addTest(new TidyWarningBugsTest("test450389"));
164         suite.addTest(new TidyWarningBugsTest("test501230"));
165         suite.addTest(new TidyWarningBugsTest("test501669"));
166         suite.addTest(new TidyWarningBugsTest("test516370"));
167         suite.addTest(new TidyWarningBugsTest("test517528"));
168         suite.addTest(new TidyWarningBugsTest("test525081"));
169         suite.addTest(new TidyWarningBugsTest("test538536"));
170         suite.addTest(new TidyWarningBugsTest("test545067"));
171         suite.addTest(new TidyWarningBugsTest("test553468"));
172         suite.addTest(new TidyWarningBugsTest("test706260"));
173 
174         suite.addTest(new TidyEncodingBugsTest("test676156"));
175 
176         return suite;
177     }
178 
179 }