KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > htmlparser > tests > scannersTests > AllTests


1 // HTMLParser Library $Name: v1_5_20050313 $ - A java-based parser for HTML
2
// http://sourceforge.org/projects/htmlparser
3
// Copyright (C) 2004 Somik Raha
4
//
5
// Revision Control Information
6
//
7
// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/AllTests.java,v $
8
// $Author: derrickoswald $
9
// $Date: 2004/01/02 16:24:56 $
10
// $Revision: 1.55 $
11
//
12
// This library is free software; you can redistribute it and/or
13
// modify it under the terms of the GNU Lesser General Public
14
// License as published by the Free Software Foundation; either
15
// version 2.1 of the License, or (at your option) any later version.
16
//
17
// This library is distributed in the hope that it will be useful,
18
// but WITHOUT ANY WARRANTY; without even the implied warranty of
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
// Lesser General Public License for more details.
21
//
22
// You should have received a copy of the GNU Lesser General Public
23
// License along with this library; if not, write to the Free Software
24
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
//
26

27 package org.htmlparser.tests.scannersTests;
28
29 import junit.framework.TestSuite;
30
31 import org.htmlparser.tests.ParserTestCase;
32
33 public class AllTests extends ParserTestCase
34 {
35     static
36     {
37         System.setProperty ("org.htmlparser.tests.scannersTests.AllTests", "AllTests");
38     }
39
40     public AllTests(String JavaDoc name) {
41         super(name);
42     }
43
44     public static TestSuite suite() {
45         TestSuite suite = new TestSuite("Scanner Tests");
46         suite.addTestSuite(TagScannerTest.class);
47         suite.addTestSuite(ScriptScannerTest.class);
48         suite.addTestSuite(JspScannerTest.class);
49         suite.addTestSuite(CompositeTagScannerTest.class);
50         suite.addTestSuite(XmlEndTagScanningTest.class);
51         return suite;
52     }
53 }
54
55
Popular Tags