nesstar.api.faster
Class StudyTestBase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by nesstar.test.NesstarTestCase
              extended by nesstar.api.faster.StudyTestBase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
StudyTest

public class StudyTestBase
extends NesstarTestCase

A Base Test class for Study.java Automatically generated from ARGO/UML


Field Summary
static StudyHome __home
           
 
Fields inherited from class nesstar.test.NesstarTestCase
ALL, CATALOG_HOME, CUBE_CUBE, DATAFILE_2568_F1, DATAFILE_4176_F1, DATAFILE_4213_F1, DATAFILE_44871_F1, DATAFILE_Cube_C1, DATAFILE_Mergetest_F2, DATAFILE_UnpopulatedElementsTest_F1, emWindow, HC_VAR_HOME, ID_2568, ID_2981, ID_3690, ID_4176, ID_4213, ID_4396, ID_44871, ID_4638, ID_CAMEROON, ID_CIRCULATORY, ID_CUBE, ID_HIERARCHY, ID_LANDET, ID_MERGE, ID_NOGROUPS, ID_NSD50, ID_PUBLISH, ID_UPElements, LICENSE, localIP, NESSTAR2_SERVER_URL, NESSTAR2_URL, NONE, ROOT_CATALOG, SECTION_MERGE_VG10, SECTION_MERGE_VG7, SECTION_MERGE_VG8, SERVER, SOME, SPSS_FORMAT, STAT_ENGINE, STATEMENT_HOME, STATEMENT1, STUDY_2568, STUDY_2981, STUDY_4176, STUDY_4213, STUDY_44871, STUDY_CAMEROON, STUDY_CIRCULATORY, STUDY_CUBE, STUDY_HIERARCHY, STUDY_HOME, STUDY_LANDET, STUDY_MERGE, STUDY_NOGROUPS, STUDY_NSD50, STUDY_UPElements, STUDY2_2568, STUDY2_4638, STUDY2_UPElements, TEST_PROTOCOL, VAR_HOME, VARIABLE_2568_V1, VARIABLE_2568_V13, VARIABLE_2568_V16, VARIABLE_2568_V17, VARIABLE_2568_V18, VARIABLE_2568_V3, VARIABLE_2568_V354, VARIABLE_2568_V77, VARIABLE_44871_V1, VARIABLE_CAMEROON_V238, VARIABLE_CAMEROON_V355, VARIABLE_LANDET_V1, VARIABLE_LANDET_V2, VARIABLE_MERGE_V22, VARIABLE_MERGE_V23, VARIABLE_MERGE_V26, VARIABLE_MERGE_V41, VID_2568_V1, VID_2568_V13, VID_2568_V16, VID_2568_V17, VID_2568_V18, VID_2568_V3, VID_2568_V354, VID_2568_V77, VID_44871_V1, VID_CAMEROON_V238, VID_CAMEROON_V355, VID_LANDET_V1, VID_LANDET_V2, VID_MERGE_V22, VID_MERGE_V23, VID_MERGE_V26, VID_MERGE_V41, WebDataURL
 
Constructor Summary
StudyTestBase(String testName)
          Constructor for the StudyTestBase object
 
Method Summary
static junit.framework.Test getAssociationTest()
           
static junit.framework.Test getAttributesTest()
           
static StudyHome getHome()
           
static junit.framework.Test getMethodsTest()
           
static junit.framework.Test getProperiesTest()
           
static void main(String[] args)
          The main program for the StudyTestBase class
static junit.framework.Test suite()
          Return the suite of all tests of this class
 void testAssociationCubes()
          A Test of the attribute cubes as collection of Cube
 void testAssociationFactsheets()
          A Test of the attribute factsheets as collection of Factsheet
 void testAssociationFiles()
          A Test of the attribute files as collection of Datafile
 void testAssociationSections()
          A Test of the attribute sections as collection of Section
 void testAssociationSeries()
          A Test of the attribute series of type Series
 void testAssociationTables()
          A Test of the attribute tables as collection of Table
 void testAssociationVariables()
          A Test of the attribute variables as collection of Variable
 void testAttributeAccessPlace()
          A Test of the attribute accessPlace
 void testAttributeAnalyticUnit()
          A Test of the attribute analyticUnit
 void testAttributeCollectionEnd()
          A Test of the attribute CollectionEnd
 void testAttributeCollectionStart()
          A Test of the attribute CollectionStart
 void testAttributeComment()
          A test on Comment
 void testAttributeCountryCode()
          A Test of the attribute CountryCode
 void testAttributeCreationDate()
          A test on CreationDate
 void testAttributeDataCollector()
          A Test of the attribute DataCollector
 void testAttributeDocAltTitl()
          A Test of the attribute docAltTitl
 void testAttributeDocAuthEntity()
          A Test of the attribute DocAuthEntity
 void testAttributeDocBiblCit()
          A Test of the attribute DocBiblCit
 void testAttributeDocCopyright()
          A Test of the attribute DocCopyright
 void testAttributeDocEngTitle()
          A Test of the attribute DocEngTitle
 void testAttributeDocProdDate()
          A Test of the attribute DocProdDate
 void testAttributeDocProducer()
          A Test of the attribute DocProducer
 void testAttributeDocTitle()
          A Test of the attribute DocTitle
 void testAttributeEngWeight()
          A Test of the attribute EngWeight
 void testAttributeKeywords()
          A Test of the attribute Keywords
 void testAttributeLabel()
          A test on Label
 void testAttributeNation()
          A Test of the attribute Nation
 void testAttributeNumCubes()
          A Test of the attribute numCubes
 void testAttributePeriodEnd()
          A Test of the attribute PeriodEnd
 void testAttributePeriodStart()
          A Test of the attribute PeriodStart
 void testAttributeRelated()
          A Test of the attribute Related
 void testAttributeSeriesName()
          A Test of the attribute SeriesName
 void testAttributeStdyAltTitl()
          A Test of the attribute stdyAltTitl
 void testAttributeStdyAuthEntity()
          A Test of the attribute StdyAuthEntity
 void testAttributeStdyContact()
          A Test of the attribute stdyContact
 void testAttributeStdyContactAffiliation()
          A Test of the attribute stdyContactAffiliation
 void testAttributeStdyContactEmail()
          A Test of the attribute stdyContactEmail
 void testAttributeStdyContributor()
          A Test of the attribute stdyContributor
 void testAttributeStdyCopyright()
          A Test of the attribute StdyCopyright
 void testAttributeStdyDataAppraisal()
          A Test of the attribute stdyDataAppraisal
 void testAttributeStdyDataCollFreq()
          A Test of the attribute stdyDataCollFreq
 void testAttributeStdyDepDate()
          A Test of the attribute StdyDepDate
 void testAttributeStdyID()
          A Test of the attribute StdyID
 void testAttributeStdyParTitl()
          A Test of the attribute StdyParTitl
 void testAttributeStdyProdAgency()
          A Test of the attribute StdyProdAgency
 void testAttributeStdyProdDate()
          A Test of the attribute StdyProdDate
 void testAttributeStdyProducer()
          A Test of the attribute StdyProducer
 void testAttributeStdyProducerAbbr()
          A Test of the attribute stdyProducerAbbr
 void testAttributeStdyStatus()
          A Test of the attribute stdyStatus
 void testAttributeStdyVersion()
          A Test of the attribute StdyVersion
 void testAttributeStdyVersionDate()
          A Test of the attribute stdyVersionDate
 void testAttributeStdyVersionNotes()
          A Test of the attribute stdyVersionNotes
 void testAttributeStdyVersionResponsibility()
          A Test of the attribute stdyVersionResponsibility
 void testAttributeStdyVersionType()
          A Test of the attribute stdyVersionType
 void testAttributeTopics()
          A Test of the attribute Topics
 void testAttributeUniverse()
          A Test of the attribute universe
 void testAttributeWeight()
          A Test of the attribute Weight
 void testHomeOperationAddStudy()
          A Test of the Home operation addStudy(File file)
 void testHomeOperationCreate()
          A Test of the Home operation create(File file)
 void testHomeOperationFindAll()
          A test on the home operation findAll(String id)
 void testHomeOperationFindByKey()
          A test on the home operation findByKey(String id)
 void testOperationGetWeightVariables()
          A Test of the operation GetWeightVariables()
 void testOperationRangeQuery()
          A Test of the operation RangeQuery(String query,Integer startFrom,Integer maxHits,Boolean withPath)
 
Methods inherited from class nesstar.test.NesstarTestCase
addAllTests, addAllTests, addDatafile, addPath, adminLogin, assertBinary, assertContains, assertContains, assertDoesNotContain, assertDoesNotContain, assertDuration, assertEqualIgnoreOrder, assertEquals, assertMatches, assertMatches, assertNoAccess, assertNoAccess, assertNoAccess, assertNotEquals, assertNotEquals, assertObjDoesNotExists, assertObjDoesNotExists, assertObjExists, assertObjExists, assertWebAuthorisationRequired, assertWebAuthorisationRequired, basicSetup, cannotRun, catalogSetup, checkIllegalArgument, checkPaths, checkPathsTo, checkPathsTo, checkPerformance, compareWithFile, compareWithReferenceFile, compareWithTestFile, compareWithTestFile, createDerivedVariable, createDerivedVariable, createDerivedVariableUnprotected, cubeSetup, cvsAbstractName, cvsClientSetup, cvsCompare, cvsCompare, cvsFailIfDifferent, cvsFailIfDifferent, cvsFileRevision, cvsFileRevisions, cvsRootDir, dependsOn, dependsOn, equalToFile, equalToTestFile, equalToTestFile, executeRangeQuery, executeRangeQuery, executeRangeQuery, executeRangeQueryAdditivity, expectFalse, expectTrue, extractZipFile, factsheetSetup, findPosition, flirtWithTestFile, getBrowserPage, getBrowserPage, getCatalog, getCategoryStatistic, getCategoryStatisticFromVariable, getConcept, getCurrentBrowserPage, getCvsPropertiesFile, getDatafile, getDDITestFile, getDDITestFileContents, getDerivedVariableByName, getDimension, getDimensionFromCube, getEGMSResource, getEGMSResource2, getEvent, getExisting, getFailedDir, getFailedFile, getFilenames, getFilteredTestFile, getGeographicalUnit, getLocalFile, getMaxConcurrentOps, getMeasure, getNumberCompletedOps, getNumberHTTPConnections, getNumberStartedOps, getObj, getObjectsFrom, getObjURL, getOrganisation, getPage, getPage, getPartsOf, getPartsOf, getPartsOf, getPerson, getRawPage, getRDF, getReport, getResultDir, getResultFile, getSecureObjURL, getSecureServerURL, getServerDataDir, getServerDatafile, getServerIP, getServerLog, getServerName, getServerObjURL, getServerPage, getServerPageURL, getServerPassword, getServerPort, getServerSecurePort, getServerURL, getServerUsername, getStatementsOn, getStatementsOn, getTableFromStudy, getTerm, getTestDir, getTestFile, getTestFile, getVariable, getVariableFromStudy, getWebFile, getZipFile, hasWebData, HCSetup, isLocalServer, isNTService, isOnline, isQuickie, isReleaseTest, isWaitForSQLServerIndexer, loadCube, loadDDI, loadHashFromFile, loadStudy, loadStudy3, loadVariable, msg, msg, noDirectAccess, objExists, objsExists, openEMWindow, performRangeQuery, querySetup, read, rebootServer, rebootServer, reloadObj, removeAllVars, removeCreationDate, removeProperties, removeServerURL, repeatCheck, saveToTestFile, setNTService, setQuickie, setReleaseTest, setWaitForSQLServerIndexer, statementSetup, studyCleanup, studySetup, tableSetup, toMsg, toString, untested, updateChildren, variableSetup, waitForSQLServerIndexer, waitServer, warn, webclientSetup, write, xthesaurusSetup
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__home

public static StudyHome __home
Constructor Detail

StudyTestBase

public StudyTestBase(String testName)
Constructor for the StudyTestBase object

Parameters:
testName -
Method Detail

getHome

public static StudyHome getHome()
                         throws Exception
Throws:
Exception

getProperiesTest

public static junit.framework.Test getProperiesTest()
                                             throws Exception
Returns:
all the tests on the properties of the Study
Throws:
Exception

getAttributesTest

public static junit.framework.Test getAttributesTest()
                                              throws Exception
Returns:
all the tests on the attributes of the Study
Throws:
Exception

getAssociationTest

public static junit.framework.Test getAssociationTest()
                                               throws Exception
Returns:
all the tests on the associations of the Study
Throws:
Exception

getMethodsTest

public static junit.framework.Test getMethodsTest()
                                           throws Exception
Returns:
all the test on the methods of the Study
Throws:
Exception

main

public static void main(String[] args)
The main program for the StudyTestBase class

Parameters:
args - The command line arguments

suite

public static junit.framework.Test suite()
Return the suite of all tests of this class


testAttributeCollectionEnd

public void testAttributeCollectionEnd()
                                throws Exception
A Test of the attribute CollectionEnd

Contains the end date of when the data was collected.

Throws:
Exception

testAttributeCollectionStart

public void testAttributeCollectionStart()
                                  throws Exception
A Test of the attribute CollectionStart

Contains the start date of when the data was collected.

Throws:
Exception

testAttributeDocProdDate

public void testAttributeDocProdDate()
                              throws Exception
A Test of the attribute DocProdDate

Date the data/documentation was produced (not archived).

Throws:
Exception

testAttributePeriodEnd

public void testAttributePeriodEnd()
                            throws Exception
A Test of the attribute PeriodEnd

The end date of the time period to which the data refer.

Throws:
Exception

testAttributePeriodStart

public void testAttributePeriodStart()
                              throws Exception
A Test of the attribute PeriodStart

The start date of the time period to which the data refer.

Throws:
Exception

testAttributeStdyDepDate

public void testAttributeStdyDepDate()
                              throws Exception
A Test of the attribute StdyDepDate

Date that the data/documentation was deposited with the archive that originally received it.

Throws:
Exception

testAttributeStdyProdDate

public void testAttributeStdyProdDate()
                               throws Exception
A Test of the attribute StdyProdDate

Date of production of study

Throws:
Exception

testAttributeAccessPlace

public void testAttributeAccessPlace()
                              throws Exception
A Test of the attribute accessPlace

Represents ...

Throws:
Exception

testAttributeAnalyticUnit

public void testAttributeAnalyticUnit()
                               throws Exception
A Test of the attribute analyticUnit

Analytic Unit eg household, family, individual

Throws:
Exception

testAttributeCountryCode

public void testAttributeCountryCode()
                              throws Exception
A Test of the attribute CountryCode

ISO 3166 Code of the country

Throws:
Exception

testAttributeDataCollector

public void testAttributeDataCollector()
                                throws Exception
A Test of the attribute DataCollector

Collector of data

Throws:
Exception

testAttributeDocAuthEntity

public void testAttributeDocAuthEntity()
                                throws Exception
A Test of the attribute DocAuthEntity

Author

Throws:
Exception

testAttributeDocBiblCit

public void testAttributeDocBiblCit()
                             throws Exception
A Test of the attribute DocBiblCit

Bibliographic citation for document

Throws:
Exception

testAttributeDocCopyright

public void testAttributeDocCopyright()
                               throws Exception
A Test of the attribute DocCopyright

Copyright statement for document

Throws:
Exception

testAttributeDocEngTitle

public void testAttributeDocEngTitle()
                              throws Exception
A Test of the attribute DocEngTitle

English translation of title

Throws:
Exception

testAttributeDocProducer

public void testAttributeDocProducer()
                              throws Exception
A Test of the attribute DocProducer

Producer of Document

Throws:
Exception

testAttributeDocTitle

public void testAttributeDocTitle()
                           throws Exception
A Test of the attribute DocTitle

Title of document (original language)

Throws:
Exception

testAttributeEngWeight

public void testAttributeEngWeight()
                            throws Exception
A Test of the attribute EngWeight

English translation of Weight.

Throws:
Exception

testAttributeKeywords

public void testAttributeKeywords()
                           throws Exception
A Test of the attribute Keywords

list of keywords

Throws:
Exception

testAttributeRelated

public void testAttributeRelated()
                          throws Exception
A Test of the attribute Related

Related material

Throws:
Exception

testAttributeSeriesName

public void testAttributeSeriesName()
                             throws Exception
A Test of the attribute SeriesName

Name of series, if applicable

Throws:
Exception

testAttributeStdyAuthEntity

public void testAttributeStdyAuthEntity()
                                 throws Exception
A Test of the attribute StdyAuthEntity

Author of study

Throws:
Exception

testAttributeStdyCopyright

public void testAttributeStdyCopyright()
                                throws Exception
A Test of the attribute StdyCopyright

Copyright Statement of Study

Throws:
Exception

testAttributeStdyID

public void testAttributeStdyID()
                         throws Exception
A Test of the attribute StdyID

ID of the study

Throws:
Exception

testAttributeStdyProdAgency

public void testAttributeStdyProdAgency()
                                 throws Exception
A Test of the attribute StdyProdAgency

Producer Code

Throws:
Exception

testAttributeStdyProducer

public void testAttributeStdyProducer()
                               throws Exception
A Test of the attribute StdyProducer

producer

Throws:
Exception

testAttributeStdyVersion

public void testAttributeStdyVersion()
                              throws Exception
A Test of the attribute StdyVersion

File History information

Throws:
Exception

testAttributeTopics

public void testAttributeTopics()
                         throws Exception
A Test of the attribute Topics

Topics covered

Throws:
Exception

testAttributeUniverse

public void testAttributeUniverse()
                           throws Exception
A Test of the attribute universe

Description of population

Throws:
Exception

testAttributeWeight

public void testAttributeWeight()
                         throws Exception
A Test of the attribute Weight

Full description of use of weights in study

Throws:
Exception

testAttributeNumCubes

public void testAttributeNumCubes()
                           throws Exception
A Test of the attribute numCubes

Number of cubes

Throws:
Exception

testAttributeStdyParTitl

public void testAttributeStdyParTitl()
                              throws Exception
A Test of the attribute StdyParTitl

Parallel Title: Title translated into another language.

Throws:
Exception

testAttributeNation

public void testAttributeNation()
                         throws Exception
A Test of the attribute Nation

Indicates the country or countries covered in the file.

Throws:
Exception

testAttributeStdyVersionNotes

public void testAttributeStdyVersionNotes()
                                   throws Exception
A Test of the attribute stdyVersionNotes

Also known as release or edition. If there have been substantive changes to the data/documentation/variable since its creation, this statement should be used.

Throws:
Exception

testAttributeStdyContributor

public void testAttributeStdyContributor()
                                  throws Exception
A Test of the attribute stdyContributor

Give statements of responsibility not recorded in the title and statement of responsibility area.

Throws:
Exception

testAttributeStdyStatus

public void testAttributeStdyStatus()
                             throws Exception
A Test of the attribute stdyStatus

Generally used to give the data archive's class or study status number, which indicates the processing status of the study.

Throws:
Exception

testAttributeStdyProducerAbbr

public void testAttributeStdyProducerAbbr()
                                   throws Exception
A Test of the attribute stdyProducerAbbr

Throws:
Exception

testAttributeStdyDataAppraisal

public void testAttributeStdyDataAppraisal()
                                    throws Exception
A Test of the attribute stdyDataAppraisal

Throws:
Exception

testAttributeStdyContactAffiliation

public void testAttributeStdyContactAffiliation()
                                         throws Exception
A Test of the attribute stdyContactAffiliation

Throws:
Exception

testAttributeStdyContactEmail

public void testAttributeStdyContactEmail()
                                   throws Exception
A Test of the attribute stdyContactEmail

Throws:
Exception

testAttributeStdyDataCollFreq

public void testAttributeStdyDataCollFreq()
                                   throws Exception
A Test of the attribute stdyDataCollFreq

Throws:
Exception

testAttributeStdyVersionDate

public void testAttributeStdyVersionDate()
                                  throws Exception
A Test of the attribute stdyVersionDate

Throws:
Exception

testAttributeStdyVersionType

public void testAttributeStdyVersionType()
                                  throws Exception
A Test of the attribute stdyVersionType

Throws:
Exception

testAttributeStdyVersionResponsibility

public void testAttributeStdyVersionResponsibility()
                                            throws Exception
A Test of the attribute stdyVersionResponsibility

Throws:
Exception

testAttributeStdyContact

public void testAttributeStdyContact()
                              throws Exception
A Test of the attribute stdyContact

Throws:
Exception

testAttributeStdyAltTitl

public void testAttributeStdyAltTitl()
                              throws Exception
A Test of the attribute stdyAltTitl

The alternative title may be the title by which a data collection is commonly referred or it may be an abbreviation for the title.

Throws:
Exception

testAttributeDocAltTitl

public void testAttributeDocAltTitl()
                             throws Exception
A Test of the attribute docAltTitl

The alternative title may be the title by which a data collection is commonly referred or it may be an abbreviation for the title.

Throws:
Exception

testAttributeComment

public void testAttributeComment()
                          throws Exception
A test on Comment

Throws:
Exception

testAttributeLabel

public void testAttributeLabel()
                        throws Exception
A test on Label

Throws:
Exception

testAttributeCreationDate

public void testAttributeCreationDate()
                               throws Exception
A test on CreationDate

Throws:
Exception

testHomeOperationFindByKey

public void testHomeOperationFindByKey()
                                throws Exception
A test on the home operation findByKey(String id)

Throws:
Exception

testHomeOperationFindAll

public void testHomeOperationFindAll()
                              throws Exception
A test on the home operation findAll(String id)

Throws:
Exception

testHomeOperationCreate

public void testHomeOperationCreate()
                             throws Exception
A Test of the Home operation create(File file)

Throws:
Exception

testHomeOperationAddStudy

public void testHomeOperationAddStudy()
                               throws Exception
A Test of the Home operation addStudy(File file)

Throws:
Exception

testOperationGetWeightVariables

public void testOperationGetWeightVariables()
                                     throws Exception
A Test of the operation GetWeightVariables()

Throws:
Exception

testOperationRangeQuery

public void testOperationRangeQuery()
                             throws Exception
A Test of the operation RangeQuery(String query,Integer startFrom,Integer maxHits,Boolean withPath)

Throws:
Exception

testAssociationSeries

public void testAssociationSeries()
                           throws Exception
A Test of the attribute series of type Series

Throws:
Exception

testAssociationFiles

public void testAssociationFiles()
                          throws Exception
A Test of the attribute files as collection of Datafile

Throws:
Exception

testAssociationCubes

public void testAssociationCubes()
                          throws Exception
A Test of the attribute cubes as collection of Cube

Throws:
Exception

testAssociationFactsheets

public void testAssociationFactsheets()
                               throws Exception
A Test of the attribute factsheets as collection of Factsheet

Throws:
Exception

testAssociationTables

public void testAssociationTables()
                           throws Exception
A Test of the attribute tables as collection of Table

Throws:
Exception

testAssociationVariables

public void testAssociationVariables()
                              throws Exception
A Test of the attribute variables as collection of Variable

Throws:
Exception

testAssociationSections

public void testAssociationSections()
                             throws Exception
A Test of the attribute sections as collection of Section

Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved