cst.test
Class CSTTestSuite
java.lang.Object
junit.framework.TestSuite
cst.test.CSTTestSuite
- All Implemented Interfaces:
- junit.framework.Test
public class CSTTestSuite
- extends junit.framework.TestSuite
Establishes whether tested services are demonstration or production versions.
Calls all other test cases in a single run. Ensure that if you are going to
run CSTTestSuite against services which use a MySQL database -- that you have
run TestDataSet first to create the empty database the tests expect.
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
USE_DEMO
public static final boolean USE_DEMO
- See Also:
- Constant Field Values
loggingServiceAPI
protected static LoggingServiceAPI loggingServiceAPI
adminServiceAPI
protected static AdminServiceAPI adminServiceAPI
testDataSet
public static TestDataSet testDataSet
databasesInitialised
protected static boolean databasesInitialised
CSTTestSuite
public CSTTestSuite()
initialiseDatabases
public static void initialiseDatabases()
throws CSTException
- Throws:
CSTException
getUserDatabase
public static LoggingServiceAPI getUserDatabase()
throws CSTException
- Throws:
CSTException
getAdminDatabase
public static AdminServiceAPI getAdminDatabase()
throws CSTException
- Throws:
CSTException
getTestDataSet
public static TestDataSet getTestDataSet()
suite
public static junit.framework.Test suite()