KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > MSSQLTests


1 /*
2  * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: MSSQLTests.java,v 1.4 2007/01/07 06:14:21 bastafidli Exp $
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; version 2 of the License.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */

21  
22 package org.opensubsystems;
23
24 import junit.framework.Test;
25 import junit.framework.TestSuite;
26
27 import org.opensubsystems.core.persist.db.DatabaseTestSuite;
28 import org.opensubsystems.core.util.Config;
29
30 /**
31  * Tests to execute for MS SQL Server.
32  *
33  * Tested with MS SQL Server 2000 (under Windows XP)
34  *
35  * @version $Id: MSSQLTests.java,v 1.4 2007/01/07 06:14:21 bastafidli Exp $
36  * @author Julo Legeny
37  */

38 public class MSSQLTests extends GenericDatabaseTests
39 {
40    /**
41     * Create suite of all tests which should be run for this database.
42     *
43     * @return Test - suite of tests to run for this database
44     */

45    public static Test suite(
46    )
47    {
48       Config.getInstance().setPropertyFileName("osstestmssql.properties");
49
50       TestSuite suite = new DatabaseTestSuite("Test for MS SQL Server");
51       
52       addGenericTests(suite);
53       
54       // TODO: Everyone: Add MS SQL Server specific tests here
55

56       return suite;
57    }
58 }
59
Popular Tags