cst.test
Class TestCaseSpreadsheetHeader

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cst.test.AbstractCSTTestCase
              extended by cst.test.TestCaseBatchLoaderFeatures
                  extended by cst.test.TestCaseSpreadsheetHeader
All Implemented Interfaces:
junit.framework.Test

public class TestCaseSpreadsheetHeader
extends TestCaseBatchLoaderFeatures


 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
 
Fields inherited from class cst.test.TestCaseBatchLoaderFeatures
activityHeaderParser, databasesInitialised, importSettings, loggingServiceAPI, sessionProperties
 
Fields inherited from class cst.test.AbstractCSTTestCase
adminServiceAPI, adminUser, DATE_FORMAT, endUser, sampleTrialSubjectModel, simpleDateFormat, testDataSet
 
Constructor Summary
TestCaseSpreadsheetHeader()
           
 
Method Summary
 void testGetActivityE1()
           
 void testGetActivityN1()
           
 void testGetActivityStepE1()
           
 void testGetActivityStepN1()
           
 void testGetStorageNameA1()
           
 void testGetStorageNameN1()
           
 void testParseHeaderA1()
           
 void testParseHeaderE1()
          test duplicate header labels cause an error
 void testParseHeaderE2()
          test non-existent header label.
 void testParseHeaderN1()
           
 
Methods inherited from class cst.test.TestCaseBatchLoaderFeatures
addDefaultRecords, setUp, 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
 

Constructor Detail

TestCaseSpreadsheetHeader

public TestCaseSpreadsheetHeader()
Method Detail

testGetStorageNameN1

public void testGetStorageNameN1()

testGetStorageNameA1

public void testGetStorageNameA1()

testGetActivityN1

public void testGetActivityN1()

testGetActivityE1

public void testGetActivityE1()

testGetActivityStepN1

public void testGetActivityStepN1()

testGetActivityStepE1

public void testGetActivityStepE1()

testParseHeaderN1

public void testParseHeaderN1()

testParseHeaderA1

public void testParseHeaderA1()

testParseHeaderE1

public void testParseHeaderE1()
test duplicate header labels cause an error


testParseHeaderE2

public void testParseHeaderE2()
test non-existent header label.