|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase cst.test.AbstractCSTTestCase cst.test.TestCaseBatchLoaderFeatures cst.test.TestCaseSpreadsheetData
public class TestCaseSpreadsheetData
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.
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 | |
---|---|
TestCaseSpreadsheetData()
|
Method Summary | |
---|---|
void |
testParseLineE1()
do not allow blank values |
void |
testParseLineE2()
do not allow comments |
void |
testParseLineE3()
do not allow an illegal comment |
void |
testParseLineE4()
do not allow an alternative date format |
void |
testParseLineE5()
do not allow chronology errors within the same line to happen |
void |
testParseLineE6()
do not allow chronology errors to happen when valid new data that is read is combined with existing data. |
void |
testParseLineN1()
|
void |
testParseLineN2()
allow blank values |
void |
testParseLineN3()
allow comments |
void |
testParseLineN4()
accepts the same dates for multiple steps in the same activity |
void |
testRowNumberN1()
|
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 |
---|
public TestCaseSpreadsheetData()
Method Detail |
---|
public void testParseLineN1()
public void testParseLineN2()
public void testParseLineN3()
public void testParseLineN4()
public void testParseLineE1()
public void testParseLineE2()
public void testParseLineE3()
public void testParseLineE4()
public void testParseLineE5()
public void testParseLineE6()
public void testRowNumberN1()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |