001: /* Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com
002:
003: This file is part of the db4o open source object database.
004:
005: db4o is free software; you can redistribute it and/or modify it under
006: the terms of version 2 of the GNU General Public License as published
007: by the Free Software Foundation and as clarified by db4objects' GPL
008: interpretation policy, available at
009: http://www.db4o.com/about/company/legalpolicies/gplinterpretation/
010: Alternatively you can write to db4objects, Inc., 1900 S Norfolk Street,
011: Suite 350, San Mateo, CA 94403, USA.
012:
013: db4o is distributed in the hope that it will be useful, but WITHOUT ANY
014: WARRANTY; without even the implied warranty of MERCHANTABILITY or
015: FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
016: for more details.
017:
018: You should have received a copy of the GNU General Public License along
019: with this program; if not, write to the Free Software Foundation, Inc.,
020: 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
021: package com.db4o.test;
022:
023: public class AllTestsConfPending {
024:
025: /**
026: * test cases here
027: */
028: public Class[] TESTS = new Class[] { StoredClassInformation.class };
029:
030: /**
031: * the number of test runs
032: */
033: public int RUNS = 1;
034:
035: /**
036: * delete the database files
037: */
038: public boolean DELETE_FILE = true;
039:
040: /**
041: * run the tests stand-alone
042: */
043: public boolean SOLO = true;
044:
045: /**
046: * run the tests in client/server mode
047: */
048: public boolean CLIENT_SERVER = true;
049:
050: /**
051: * use ObjectServer#openClient() instead of Db4o.openClient()
052: */
053: public static boolean EMBEDDED_CLIENT = false;
054:
055: /**
056: * run the test against a memory file instead of disc file
057: */
058: public static boolean MEMORY_FILE = false;
059:
060: /**
061: * run the client/server test against a remote server.
062: * This requires AllTestsServer to be started on the other machine and
063: * SERVER_HOSTNAME to be set correctly.
064: */
065: final boolean REMOTE_SERVER = false;
066:
067: /**
068: * the database file to be used for the server.
069: */
070: public static String FILE_SERVER = "xt_serv.yap";
071:
072: /**
073: * the database file to be used stand-alone.
074: */
075: public static String FILE_SOLO = "xt_solo.yap";
076:
077: /**
078: * the server host name.
079: */
080: public static String SERVER_HOSTNAME = "localhost";
081:
082: /**
083: * the server port.
084: */
085: public static int SERVER_PORT = 4448;
086:
087: /**
088: * the db4o user.
089: */
090: public static String DB4O_USER = "db4o";
091:
092: /**
093: * the db4o password.
094: */
095: public static String DB4O_PASSWORD = "db4o";
096:
097: /**
098: * path to blobs held externally
099: */
100: public static String BLOB_PATH = "TEMP/db4oTestBlobs";
101:
102: }
|