KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > db4o > test > AllTestsConfPending


1 /* Copyright (C) 2004 - 2006 db4objects Inc. http://www.db4o.com
2
3 This file is part of the db4o open source object database.
4
5 db4o is free software; you can redistribute it and/or modify it under
6 the terms of version 2 of the GNU General Public License as published
7 by the Free Software Foundation and as clarified by db4objects' GPL
8 interpretation policy, available at
9 http://www.db4o.com/about/company/legalpolicies/gplinterpretation/
10 Alternatively you can write to db4objects, Inc., 1900 S Norfolk Street,
11 Suite 350, San Mateo, CA 94403, USA.
12
13 db4o is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
17
18 You should have received a copy of the GNU General Public License along
19 with this program; if not, write to the Free Software Foundation, Inc.,
20 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */

21 package com.db4o.test;
22
23
24 public class AllTestsConfPending {
25
26     /**
27      * test cases here
28      */

29     public Class JavaDoc[] TESTS =
30         new Class JavaDoc[] {
31             StoredClassInformation.class
32         };
33
34     /**
35       * the number of test runs
36       */

37     public int RUNS = 1;
38
39     /**
40      * delete the database files
41      */

42     public boolean DELETE_FILE = true;
43
44     /**
45       * run the tests stand-alone
46       */

47     public boolean SOLO = true;
48     
49     /**
50       * run the tests in client/server mode
51       */

52     public boolean CLIENT_SERVER = true;
53     
54     /**
55      * use ObjectServer#openClient() instead of Db4o.openClient()
56      */

57     public static boolean EMBEDDED_CLIENT = false;
58
59     /**
60      * run the test against a memory file instead of disc file
61      */

62     public static boolean MEMORY_FILE = false;
63
64     /**
65       * run the client/server test against a remote server.
66       * This requires AllTestsServer to be started on the other machine and
67       * SERVER_HOSTNAME to be set correctly.
68       */

69     final boolean REMOTE_SERVER = false;
70
71     /**
72      * the database file to be used for the server.
73      */

74     public static String JavaDoc FILE_SERVER = "xt_serv.yap";
75
76     /**
77      * the database file to be used stand-alone.
78      */

79     public static String JavaDoc FILE_SOLO = "xt_solo.yap";
80     
81     /**
82      * the server host name.
83      */

84     public static String JavaDoc SERVER_HOSTNAME = "localhost";
85
86     /**
87      * the server port.
88      */

89     public static int SERVER_PORT = 4448;
90
91     /**
92      * the db4o user.
93      */

94     public static String JavaDoc DB4O_USER = "db4o";
95
96     /**
97      * the db4o password.
98      */

99     public static String JavaDoc DB4O_PASSWORD = "db4o";
100     
101     /**
102      * path to blobs held externally
103      */

104     public static String JavaDoc BLOB_PATH = "TEMP/db4oTestBlobs";
105     
106 }
107
Popular Tags