KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > eaio > nativecall > AllTests


1 /*
2  * AllTests.java
3  *
4  * Created on 18.11.2005.
5  *
6  * eaio: NativeCall - calling operating system methods from Java
7  * Copyright (c) 2004-2006 Johann Burkard (<mailto:jb@eaio.com>)
8  * <http://eaio.com>
9  *
10  * Permission is hereby granted, free of charge, to any person obtaining a
11  * copy of this software and associated documentation files (the "Software"),
12  * to deal in the Software without restriction, including without limitation
13  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14  * and/or sell copies of the Software, and to permit persons to whom the
15  * Software is furnished to do so, subject to the following conditions:
16  *
17  * The above copyright notice and this permission notice shall be included
18  * in all copies or substantial portions of the Software.
19  *
20  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
23  * NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
24  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
25  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
26  * USE OR OTHER DEALINGS IN THE SOFTWARE.
27  *
28  */

29 package com.eaio.nativecall;
30
31 import junit.framework.Test;
32 import junit.framework.TestSuite;
33
34 /**
35  * Runs all tests.
36  *
37  * @author <a HREF="mailto:jb@eaio.com">Johann Burkard</a>
38  * @version $Id: AllTests.java,v 1.2 2006/01/05 19:57:07 grnull Exp $
39  */

40 public class AllTests {
41
42     public static void main(String JavaDoc[] args) {
43         junit.awtui.TestRunner.run(AllTests.class);
44     }
45
46     public static Test suite() {
47         TestSuite suite = new TestSuite("Test for com.eaio.nativecall");
48         //$JUnit-BEGIN$
49
suite.addTest(new TestSuite(FileManagementTest1Win32.class));
50         suite.addTest(new TestSuite(HolderTest.class));
51         suite.addTest(new TestSuite(IntCallTest1Win32.class));
52         suite.addTest(new TestSuite(Win32VerifierTest.class));
53         suite.addTest(new TestSuite(VerifiersTest.class));
54         suite.addTest(new TestSuite(VoidCallTest.class));
55         //$JUnit-END$
56
return suite;
57     }
58 }
59
Popular Tags