Source Code Cross Referenced for JTopasTestSuite.java in  » Parser » JTopas » de » susebox » jtopas » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Parser » JTopas » de.susebox.jtopas 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * JTopasTestSuite.java: JUnit test for the jtopas package
003:         *
004:         * Copyright (C) 2001 Heiko Blau
005:         *
006:         * This file belongs to the JTopas test suite.
007:         * The JTopas test suite is free software; you can redistribute it and/or modify it 
008:         * under the terms of the GNU Lesser General Public License as published by the 
009:         * Free Software Foundation; either version 2.1 of the License, or (at your option) 
010:         * any later version.
011:         *
012:         * This software is distributed in the hope that it will be useful, but WITHOUT
013:         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
014:         * FITNESS FOR A PARTICULAR PURPOSE. 
015:         * See the GNU Lesser General Public License for more details.
016:         *
017:         * You should have received a copy of the GNU Lesser General Public License along 
018:         * with the JTopas test suite. If not, write to the
019:         *
020:         *   Free Software Foundation, Inc.
021:         *   59 Temple Place, Suite 330, 
022:         *   Boston, MA 02111-1307 
023:         *   USA
024:         *
025:         * or check the Internet: http://www.fsf.org
026:         *
027:         * The JTopas test suite uses the test framework JUnit by Kent Beck and Erich Gamma.
028:         * You should have received a copy of their JUnit licence agreement along with 
029:         * the JTopas test suite.
030:         *
031:         * We do NOT provide the JUnit archive junit.jar nessecary to compile and run 
032:         * our tests, since we assume, that You  either have it already or would like 
033:         * to get the current release Yourself. 
034:         * Please visit either:
035:         *   http://sourceforge.net/projects/junit
036:         * or
037:         *   http://junit.org
038:         * to obtain JUnit.
039:         *
040:         * Contact:
041:         *   email: heiko@susebox.de 
042:         */
043:
044:        package de.susebox.jtopas;
045:
046:        //-----------------------------------------------------------------------------
047:        // Imports
048:        //
049:        import junit.framework.Test;
050:        import junit.framework.TestCase;
051:        import junit.framework.TestSuite;
052:
053:        import de.susebox.TestUtilities;
054:
055:        //-----------------------------------------------------------------------------
056:        // Class JTopasTestSuite
057:        //
058:
059:        /**<p>
060:         * This is the test suite for the java package tree. It composes all test classes
061:         * in the java subpackages to a single test suite.
062:         *</p>
063:         *
064:         * @author  Heiko Blau
065:         */
066:        public class JTopasTestSuite extends TestCase {
067:
068:            //---------------------------------------------------------------------------
069:            // main method
070:            //
071:
072:            /**
073:             * call this method to invoke the tests
074:             */
075:            public static void main(String[] args) {
076:                String[] tests = { JTopasTestSuite.class.getName() };
077:
078:                TestUtilities.run(tests, args);
079:            }
080:
081:            //---------------------------------------------------------------------------
082:            // suite method
083:            //
084:
085:            /**
086:             * Implementation of the JUnit method <code>suite</code>. For each set of test
087:             * properties one or more tests are instantiated.
088:             *
089:             * @return a test suite
090:             */
091:            public static Test suite() {
092:                TestSuite suite = new TestSuite(JTopasTestSuite.class.getName());
093:
094:                suite.addTest(TestTokenizerProperties.suite());
095:                suite.addTest(TestTokenizerFlags.suite());
096:                suite.addTest(TestMultithreadTokenizerProperties.suite());
097:                suite.addTest(TestDifficultSituations.suite());
098:                suite.addTest(TestStandardTokenizer.suite());
099:                suite.addTest(TestPatternMatching.suite());
100:                suite.addTest(TestEmbeddedTokenizer.suite());
101:                suite.addTest(TestLargeSource.suite());
102:                suite.addTest(TestTextAccess.suite());
103:                suite.addTest(TestMultithreadTokenizer.suite());
104:                suite.addTest(TestTokenizerCleanup.suite());
105:                suite.addTest(TestTokenizerSource.suite());
106:                return suite;
107:            }
108:
109:            //---------------------------------------------------------------------------
110:            // constructor
111:            //
112:
113:            /**
114:             * Constructor
115:             */
116:            public JTopasTestSuite(String name) {
117:                super(name);
118:            }
119:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.