cst.test
Class TestCaseBatchLoaderFeatures

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cst.test.AbstractCSTTestCase
              extended by cst.test.TestCaseBatchLoaderFeatures
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestCaseImportSpreadsheetData, TestCaseSpreadsheetData, TestCaseSpreadsheetHeader

public abstract class TestCaseBatchLoaderFeatures
extends AbstractCSTTestCase


 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)

Field Summary
protected  ActivityHeaderParser activityHeaderParser
           
protected  boolean databasesInitialised
           
protected  SpreadsheetTransferSettings importSettings
           
protected  LoggingServiceAPI loggingServiceAPI
           
protected  SessionProperties sessionProperties
           
 
Fields inherited from class cst.test.AbstractCSTTestCase
adminServiceAPI, adminUser, DATE_FORMAT, endUser, sampleTrialSubjectModel, simpleDateFormat, testDataSet
 
Constructor Summary
TestCaseBatchLoaderFeatures(java.lang.String name)
           
 
Method Summary
protected  void addDefaultRecords()
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class cst.test.AbstractCSTTestCase
populateDatabase, userTestDataSet
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

databasesInitialised

protected boolean databasesInitialised

activityHeaderParser

protected ActivityHeaderParser activityHeaderParser

importSettings

protected SpreadsheetTransferSettings importSettings

loggingServiceAPI

protected LoggingServiceAPI loggingServiceAPI

sessionProperties

protected SessionProperties sessionProperties
Constructor Detail

TestCaseBatchLoaderFeatures

public TestCaseBatchLoaderFeatures(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractCSTTestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class AbstractCSTTestCase
Throws:
java.lang.Exception

addDefaultRecords

protected void addDefaultRecords()
                          throws CSTException
Throws:
CSTException