Source code: com/lutris/util/tests/Main.java
1 /*
2 * Enhydra Java Application Server Project
3 *
4 * The contents of this file are subject to the Enhydra Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License on
7 * the Enhydra web site ( http://www.enhydra.org/ ).
8 *
9 * Software distributed under the License is distributed on an "AS IS"
10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11 * the License for the specific terms governing rights and limitations
12 * under the License.
13 *
14 * The Initial Developer of the Enhydra Application Server is Lutris
15 * Technologies, Inc. The Enhydra Application Server and portions created
16 * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17 * All Rights Reserved.
18 *
19 * Contributor(s):
20 *
21 * $Id: Main.java,v 1.9.8.1 2000/10/19 17:58:53 jasona Exp $
22 */
23
24
25
26
27
28 package com.lutris.util.tests;
29
30 /**
31 * Class that runs all tests in this directory.
32 *
33 * @author Kyle Clark
34 */
35 public class Main {
36
37 public static void main (String [] args)
38 throws Exception
39 {
40 // KeywordValueTableTests
41 System.out.println();
42 try {
43 System.out.println();
44 System.out.println("<BEGIN KeywordValueTableTests>");
45 KeywordValueTableTests.runTests();
46 }
47 catch (Exception keywordValueTableTestsException) {
48 System.out.println("<EXCEPTION KeywordValueTableTests>");
49 System.out.println(keywordValueTableTestsException.getMessage());
50 }
51 finally {
52 System.out.println("<END KeywordValueTableTests>");
53 }
54
55 // FilePersistentStoreTests
56 try {
57 System.out.println();
58 System.out.println("<BEGIN FilePersistentStoreTests>");
59 FilePersistentStoreTests.runTests();
60 }
61 catch (Exception filePersistentStoreTestsException) {
62 System.out.println("<EXCEPTION FilePersistentStoreTests>");
63 System.out.println(filePersistentStoreTestsException.getMessage());
64 }
65 finally {
66 System.out.println("<END FilePersistentStoreTests>");
67 }
68
69 System.out.println();
70
71 }
72 }