nesstar.api.faster
Class Study2Test

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by nesstar.test.NesstarTestCase
              extended by nesstar.api.faster.Study2TestBase
                  extended by nesstar.api.faster.Study2Test
All Implemented Interfaces:
junit.framework.Test

public class Study2Test
extends Study2TestBase

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


Field Summary
 
Fields inherited from class nesstar.api.faster.Study2TestBase
__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
Study2Test(String testName)
          Constructor for the Study2Test object
 
Method Summary
 void checkDownloadMultiple(String format)
          Test full set download.
 void checkPaths(Study2 from, RDFObject to, int numPaths)
           
 void checkUnsupportedDownloadFormat(String unsupportedFormat)
          Check that general downloads using unsupported formats return an exception with an appropriate message.
 void checkUnsupportedDownloadMultipleFormat(String unsupportedFormat)
          Check that multiple downloads using unsupported formats return an exception with an appropriate message.
 String getPath(Study from, Object to)
           
 String getPath(Study from, Section to)
           
 String getPath(Study from, Variable to)
           
static void main(String[] args)
          The main program for the Study2Test class
 void pathsExample()
           
 void pathUp(StringBuffer path, Study from, Section to)
           
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 testAssociationFiles()
          A Test of the attribute files as collection of Datafile
 void testAssociationRelatedMaterials()
          A Test of the attribute relatedMaterials as collection of Resource
 void testAssociationSections()
          A Test of the attribute sections as collection of Section
 void testAssociationSeries()
          A Test of the attribute series of type Series
 void testAssociationStudyDistributors()
          A Test of the attribute studyDistributors as collection of Organisation
 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 testAttributeComment()
          A test on Comment
 void testAttributeCreationDate()
          A test on CreationDate
 void testAttributeLabel()
          A test on Label
 void testHomeOperationFindAll()
          A test on the home operation findAll(String id)
 void testHomeOperationFindByKey()
          A test on the home operation findByKey(String id)
 void testOperationBreakdown()
          A Test of the operation Breakdown(String condition,nesstar.api.faster.Variable dependent,nesstar.api.faster.Variable independent,Collection weights,String format,String filter)
 void testOperationBreakdown(String format, String testfile)
          A Test of the operation Breakdown(String condition,Variable dependent,Variable independent,Collection weights,String format,String filter)
 void testOperationBreakdownMultifile()
           
 void testOperationBreakdownMultifileXml()
           
 void testOperationBreakdownXml()
           
 void testOperationDatalist()
          A Test of the operation Datalist(String condition,String unique,Collection variables,Collection weights,String format,String filter)
 void testOperationDatalist(String format, String testfile)
          A Test of the operation Datalist(String condition,String unique,Collection variables,Collection weights,String format,String filter)
 void testOperationDatalistMultifile()
           
 void testOperationDatalistMultifileXml()
           
 void testOperationDatalistXml()
           
 void testOperationDescriptive()
          A Test of the operation Descriptive(String condition,Boolean polygon,Collection variables,Collection weights,String format,String filter)
 void testOperationDescriptive(String format, String testfile)
          A Test of the operation Descriptive(String condition,Boolean polygon,Collection variables,Collection weights,String format,String filter)
 void testOperationDescriptiveAlpha()
           
 void testOperationDescriptiveMultifile()
           
 void testOperationDescriptiveMultifileXml()
           
 void testOperationDescriptiveXml()
           
 void testOperationDownload()
          A Test of the operation Download(String variables,String cases,String format)
 void testOperationDownload(String testfile)
          A Test of the operation Subset(String cases,String condition,String format)
 void testOperationDownloadCondition()
           
 void testOperationDownloadDBASE()
          Test download.
 void testOperationDownloadDIF()
          Test download.
 void testOperationDownloadFIXED()
          Test download.
 void testOperationDownloadFREE()
           
 void testOperationDownloadMultifile()
           
 void testOperationDownloadMultifileCarryKey()
           
 void testOperationDownloadMultifileCasesWithoutVariables()
          Check that download with case selection from multiple includes at least one variable is enforced
 void testOperationDownloadMultifileCasesWithRange()
          Check download with case selection from multiple for entire variable range
 void testOperationDownloadMultifileCasesWithRangeLarge()
          Check download with case selection from multiple for entire variable range for large data file
 void testOperationDownloadMultifileDuplicateKey()
           
 void testOperationDownloadMultifileSplitRange()
           
 void testOperationDownloadMultiple()
          Test full download.
 void testOperationDownloadMultiple2()
          Test full download.
 void testOperationDownloadNSD()
          Test NSD download.
 void testOperationDownloadNSD96()
          Test download.
 void testOperationDownloadNSD99()
           
 void testOperationDownloadNSDDOS()
          Test download.
 void testOperationDownloadSAS()
          Test download.
 void testOperationDownloadSPSS()
          Test download.
 void testOperationDownloadSPSSPORT()
          Test download.
 void testOperationDownloadSTATA()
          Test download (STATA 8).
 void testOperationDownloadSTATA7()
          Test download (STATA 7).
 void testOperationDownloadSTATISTICA()
          Test download.
 void testOperationFrequency()
          A Test of the operation Frequency(String condition,nesstar.api.faster.Variable variable,Collection weights,String format,String filter,Boolean addEmptyCategories)
 void testOperationFrequency(String format, String testfile)
          A Test of the operation Frequency(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationFrequencyAlphaSelect()
           
 void testOperationFrequencyAlphaSelectQuote()
           
 void testOperationFrequencyAlphaSelectSpaces()
           
 void testOperationFrequencyDottedVariableName()
           
 void testOperationFrequencyMultifile()
           
 void testOperationFrequencyMultifileXml()
           
 void testOperationFrequencyWeighted()
           
 void testOperationFrequencyXml()
           
 void testOperationGFrequency()
          A Test of the operation GFrequency(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationGFrequency(String format, String testfile)
          A Test of the operation GFrequency(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationGFrequencyMultifile()
           
 void testOperationGFrequencyMultifileXml()
           
 void testOperationGFrequencyXml()
           
 void testOperationMultipleRegression()
          A Test of the operation MultipleRegression(String condition,nesstar.api.faster.Variable dependent,Collection independent,String method,String missing,Collection weights,Double pin,Double pout,String format,String filter)
 void testOperationMultipleRegression(String format, String testfile)
          A Test of the operation MultipleRegression(String condition,Variable dependent,Variable independent,String method,String missing,Collection weights,Double pin,Double pout,String format,String filter) bug: param independent should be a Collection
 void testOperationMultipleRegressionMultifile()
           
 void testOperationMultipleRegressionMultifileXml()
           
 void testOperationMultipleRegressionXml()
           
 void testOperationPathsTo()
          A Test of the operation Paths(RDFObject from,RDFObject to)
 void testOperationTabulation()
          A Test of the operation Tabulation(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationTabulation(String format, String testfile)
          A Test of the operation Tabulation(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationTabulationConcurrent()
          A Test of Concurrent Tabulation
 void testOperationTabulationIllegalMerge()
           
 void testOperationTabulationLarge()
           
 void testOperationTabulationMultifile()
           
 void testOperationTabulationMultifileClash()
           
 void testOperationTabulationMultifileXml()
           
 void testOperationTabulationUTF8()
           
 void testOperationTabulationXml()
           
 void testOperationXBreak()
          A Test of the operation XBreak(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationXBreak(String format, String testfile)
          A Test of the operation XBreak(String condition,Collection variables,Collection weights,String format,String filter)
 void testOperationXBreakMultifile()
           
 void testOperationXBreakMultifileXml()
           
 void testOperationXBreakXml()
           
 void testStatopError()
          Check that an exception is thrown when incorrect parameters are sent to a statistical operation
 
Methods inherited from class nesstar.api.faster.Study2TestBase
getAssociationTest, getAttributesTest, getHome, getMethodsTest, getProperiesTest
 
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
 

Constructor Detail

Study2Test

public Study2Test(String testName)
Constructor for the Study2Test object

Parameters:
testName -
Method Detail

main

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

Parameters:
args - The command line arguments

suite

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


testAttributeComment

public void testAttributeComment()
                          throws Exception
A test on Comment

Overrides:
testAttributeComment in class Study2TestBase
Throws:
Exception

testAttributeLabel

public void testAttributeLabel()
                        throws Exception
A test on Label

Overrides:
testAttributeLabel in class Study2TestBase
Throws:
Exception

testHomeOperationFindByKey

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

Overrides:
testHomeOperationFindByKey in class Study2TestBase
Throws:
Exception

testHomeOperationFindAll

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

Overrides:
testHomeOperationFindAll in class Study2TestBase
Throws:
Exception

testOperationFrequency

public void testOperationFrequency()
                            throws Exception
Description copied from class: Study2TestBase
A Test of the operation Frequency(String condition,nesstar.api.faster.Variable variable,Collection weights,String format,String filter,Boolean addEmptyCategories)

Overrides:
testOperationFrequency in class Study2TestBase
Throws:
Exception

testOperationFrequencyXml

public void testOperationFrequencyXml()
                               throws Exception
Throws:
Exception

testOperationFrequencyWeighted

public void testOperationFrequencyWeighted()
                                    throws Exception
Throws:
Exception

testOperationFrequencyAlphaSelect

public void testOperationFrequencyAlphaSelect()
                                       throws Exception
Throws:
Exception

testOperationFrequencyAlphaSelectSpaces

public void testOperationFrequencyAlphaSelectSpaces()
                                             throws Exception
Throws:
Exception

testOperationFrequencyAlphaSelectQuote

public void testOperationFrequencyAlphaSelectQuote()
                                            throws Exception
Throws:
Exception

testOperationFrequencyDottedVariableName

public void testOperationFrequencyDottedVariableName()
                                              throws Exception
Throws:
Exception

testOperationFrequencyMultifile

public void testOperationFrequencyMultifile()
                                     throws Exception
Throws:
Exception

testOperationFrequencyMultifileXml

public void testOperationFrequencyMultifileXml()
                                        throws Exception
Throws:
Exception

testOperationFrequency

public void testOperationFrequency(String format,
                                   String testfile)
                            throws Exception
A Test of the operation Frequency(String condition,Collection variables,Collection weights,String format,String filter)

Throws:
Exception

testOperationTabulation

public void testOperationTabulation()
                             throws Exception
Description copied from class: Study2TestBase
A Test of the operation Tabulation(String condition,Collection variables,Collection weights,String format,String filter)

Overrides:
testOperationTabulation in class Study2TestBase
Throws:
Exception

testOperationTabulationXml

public void testOperationTabulationXml()
                                throws Exception
Throws:
Exception

testOperationTabulationMultifile

public void testOperationTabulationMultifile()
                                      throws Exception
Throws:
Exception

testOperationTabulationMultifileXml

public void testOperationTabulationMultifileXml()
                                         throws Exception
Throws:
Exception

testOperationTabulationMultifileClash

public void testOperationTabulationMultifileClash()
                                           throws Exception
Throws:
Exception

testOperationTabulationIllegalMerge

public void testOperationTabulationIllegalMerge()
                                         throws Exception
Throws:
Exception

testOperationTabulationLarge

public void testOperationTabulationLarge()
                                  throws Exception
Throws:
Exception

testOperationTabulationUTF8

public void testOperationTabulationUTF8()
                                 throws Exception
Throws:
Exception

testOperationTabulation

public void testOperationTabulation(String format,
                                    String testfile)
                             throws Exception
A Test of the operation Tabulation(String condition,Collection variables,Collection weights,String format,String filter)

Throws:
Exception

testOperationTabulationConcurrent

public void testOperationTabulationConcurrent()
                                       throws Exception
A Test of Concurrent Tabulation

Throws:
Exception

testOperationGFrequency

public void testOperationGFrequency()
                             throws Exception
Description copied from class: Study2TestBase
A Test of the operation GFrequency(String condition,Collection variables,Collection weights,String format,String filter)

Overrides:
testOperationGFrequency in class Study2TestBase
Throws:
Exception

testOperationGFrequencyXml

public void testOperationGFrequencyXml()
                                throws Exception
Throws:
Exception

testOperationGFrequencyMultifile

public void testOperationGFrequencyMultifile()
                                      throws Exception
Throws:
Exception

testOperationGFrequencyMultifileXml

public void testOperationGFrequencyMultifileXml()
                                         throws Exception
Throws:
Exception

testOperationGFrequency

public void testOperationGFrequency(String format,
                                    String testfile)
                             throws Exception
A Test of the operation GFrequency(String condition,Collection variables,Collection weights,String format,String filter)

Throws:
Exception

testOperationDescriptive

public void testOperationDescriptive()
                              throws Exception
Description copied from class: Study2TestBase
A Test of the operation Descriptive(String condition,Boolean polygon,Collection variables,Collection weights,String format,String filter)

Overrides:
testOperationDescriptive in class Study2TestBase
Throws:
Exception

testOperationDescriptiveXml

public void testOperationDescriptiveXml()
                                 throws Exception
Throws:
Exception

testOperationDescriptiveAlpha

public void testOperationDescriptiveAlpha()
                                   throws Exception
Throws:
Exception

testOperationDescriptiveMultifile

public void testOperationDescriptiveMultifile()
                                       throws Exception
Throws:
Exception

testOperationDescriptiveMultifileXml

public void testOperationDescriptiveMultifileXml()
                                          throws Exception
Throws:
Exception

testOperationDescriptive

public void testOperationDescriptive(String format,
                                     String testfile)
                              throws Exception
A Test of the operation Descriptive(String condition,Boolean polygon,Collection variables,Collection weights,String format,String filter)

Throws:
Exception

testOperationDatalist

public void testOperationDatalist()
                           throws Exception
Description copied from class: Study2TestBase
A Test of the operation Datalist(String condition,String unique,Collection variables,Collection weights,String format,String filter)

Overrides:
testOperationDatalist in class Study2TestBase
Throws:
Exception

testOperationDatalistXml

public void testOperationDatalistXml()
                              throws Exception
Throws:
Exception

testOperationDatalistMultifile

public void testOperationDatalistMultifile()
                                    throws Exception
Throws:
Exception

testOperationDatalistMultifileXml

public void testOperationDatalistMultifileXml()
                                       throws Exception
Throws:
Exception

testOperationDatalist

public void testOperationDatalist(String format,
                                  String testfile)
                           throws Exception
A Test of the operation Datalist(String condition,String unique,Collection variables,Collection weights,String format,String filter)

Throws:
Exception

testOperationBreakdown

public void testOperationBreakdown()
                            throws Exception
Description copied from class: Study2TestBase
A Test of the operation Breakdown(String condition,nesstar.api.faster.Variable dependent,nesstar.api.faster.Variable independent,Collection weights,String format,String filter)

Overrides:
testOperationBreakdown in class Study2TestBase
Throws:
Exception

testOperationBreakdownXml

public void testOperationBreakdownXml()
                               throws Exception
Throws:
Exception

testOperationBreakdownMultifile

public void testOperationBreakdownMultifile()
                                     throws Exception
Throws:
Exception

testOperationBreakdownMultifileXml

public void testOperationBreakdownMultifileXml()
                                        throws Exception
Throws:
Exception

testOperationBreakdown

public void testOperationBreakdown(String format,
                                   String testfile)
                            throws Exception
A Test of the operation Breakdown(String condition,Variable dependent,Variable independent,Collection weights,String format,String filter)

Throws:
Exception

testOperationMultipleRegression

public void testOperationMultipleRegression()
                                     throws Exception
Description copied from class: Study2TestBase
A Test of the operation MultipleRegression(String condition,nesstar.api.faster.Variable dependent,Collection independent,String method,String missing,Collection weights,Double pin,Double pout,String format,String filter)

Overrides:
testOperationMultipleRegression in class Study2TestBase
Throws:
Exception

testOperationMultipleRegressionXml

public void testOperationMultipleRegressionXml()
                                        throws Exception
Throws:
Exception

testOperationMultipleRegressionMultifile

public void testOperationMultipleRegressionMultifile()
                                              throws Exception
Throws:
Exception

testOperationMultipleRegressionMultifileXml

public void testOperationMultipleRegressionMultifileXml()
                                                 throws Exception
Throws:
Exception

testOperationMultipleRegression

public void testOperationMultipleRegression(String format,
                                            String testfile)
                                     throws Exception
A Test of the operation MultipleRegression(String condition,Variable dependent,Variable independent,String method,String missing,Collection weights,Double pin,Double pout,String format,String filter) bug: param independent should be a Collection

Throws:
Exception

testOperationXBreak

public void testOperationXBreak()
                         throws Exception
Description copied from class: Study2TestBase
A Test of the operation XBreak(String condition,Collection variables,Collection weights,String format,String filter)

Overrides:
testOperationXBreak in class Study2TestBase
Throws:
Exception

testOperationXBreakXml

public void testOperationXBreakXml()
                            throws Exception
Throws:
Exception

testOperationXBreakMultifile

public void testOperationXBreakMultifile()
                                  throws Exception
Throws:
Exception

testOperationXBreakMultifileXml

public void testOperationXBreakMultifileXml()
                                     throws Exception
Throws:
Exception

testOperationXBreak

public void testOperationXBreak(String format,
                                String testfile)
                         throws Exception
A Test of the operation XBreak(String condition,Collection variables,Collection weights,String format,String filter)

Throws:
Exception

testStatopError

public void testStatopError()
                     throws Exception
Check that an exception is thrown when incorrect parameters are sent to a statistical operation

Throws:
Exception

testOperationDownload

public void testOperationDownload()
                           throws Exception
Description copied from class: Study2TestBase
A Test of the operation Download(String variables,String cases,String format)

Overrides:
testOperationDownload in class Study2TestBase
Throws:
Exception

testOperationDownloadCondition

public void testOperationDownloadCondition()
                                    throws Exception
Throws:
Exception

testOperationDownloadMultifile

public void testOperationDownloadMultifile()
                                    throws Exception
Throws:
Exception

testOperationDownloadMultifileCarryKey

public void testOperationDownloadMultifileCarryKey()
                                            throws Exception
Throws:
Exception

testOperationDownloadMultifileDuplicateKey

public void testOperationDownloadMultifileDuplicateKey()
                                                throws Exception
Throws:
Exception

testOperationDownloadMultifileSplitRange

public void testOperationDownloadMultifileSplitRange()
                                              throws Exception
Throws:
Exception

testOperationDownload

public void testOperationDownload(String testfile)
                           throws Exception
A Test of the operation Subset(String cases,String condition,String format)

Throws:
Exception

testOperationDownloadMultiple

public void testOperationDownloadMultiple()
                                   throws Exception
Test full download.

Throws:
Exception

testOperationDownloadMultiple2

public void testOperationDownloadMultiple2()
                                    throws Exception
Test full download.

Throws:
Exception

testOperationDownloadMultifileCasesWithoutVariables

public void testOperationDownloadMultifileCasesWithoutVariables()
                                                         throws Exception
Check that download with case selection from multiple includes at least one variable is enforced

Throws:
Exception

testOperationDownloadMultifileCasesWithRange

public void testOperationDownloadMultifileCasesWithRange()
                                                  throws Exception
Check download with case selection from multiple for entire variable range

Throws:
Exception

testOperationDownloadMultifileCasesWithRangeLarge

public void testOperationDownloadMultifileCasesWithRangeLarge()
                                                       throws Exception
Check download with case selection from multiple for entire variable range for large data file

Throws:
Exception

checkDownloadMultiple

public void checkDownloadMultiple(String format)
                           throws Exception
Test full set download.

Throws:
Exception

checkUnsupportedDownloadFormat

public void checkUnsupportedDownloadFormat(String unsupportedFormat)
                                    throws Exception
Check that general downloads using unsupported formats return an exception with an appropriate message.

Throws:
Exception

checkUnsupportedDownloadMultipleFormat

public void checkUnsupportedDownloadMultipleFormat(String unsupportedFormat)
                                            throws Exception
Check that multiple downloads using unsupported formats return an exception with an appropriate message.

Throws:
Exception

testOperationDownloadNSD96

public void testOperationDownloadNSD96()
                                throws Exception
Test download.

Throws:
Exception

testOperationDownloadNSDDOS

public void testOperationDownloadNSDDOS()
                                 throws Exception
Test download. (NSDDOS is not supported anymore as a download format)

Throws:
Exception

testOperationDownloadNSD

public void testOperationDownloadNSD()
                              throws Exception
Test NSD download. Note: NSD support should be re-added soon.

Throws:
Exception

testOperationDownloadNSD99

public void testOperationDownloadNSD99()
                                throws Exception
Throws:
Exception

testOperationDownloadFREE

public void testOperationDownloadFREE()
                               throws Exception
Throws:
Exception

testOperationDownloadFIXED

public void testOperationDownloadFIXED()
                                throws Exception
Test download.

Throws:
Exception

testOperationDownloadDIF

public void testOperationDownloadDIF()
                              throws Exception
Test download.

Throws:
Exception

testOperationDownloadDBASE

public void testOperationDownloadDBASE()
                                throws Exception
Test download.

Throws:
Exception

testOperationDownloadSPSS

public void testOperationDownloadSPSS()
                               throws Exception
Test download.

Throws:
Exception

testOperationDownloadSPSSPORT

public void testOperationDownloadSPSSPORT()
                                   throws Exception
Test download.

Throws:
Exception

testOperationDownloadSTATA

public void testOperationDownloadSTATA()
                                throws Exception
Test download (STATA 8).

Throws:
Exception

testOperationDownloadSTATA7

public void testOperationDownloadSTATA7()
                                 throws Exception
Test download (STATA 7).

Throws:
Exception

testOperationDownloadSTATISTICA

public void testOperationDownloadSTATISTICA()
                                     throws Exception
Test download.

Throws:
Exception

testOperationDownloadSAS

public void testOperationDownloadSAS()
                              throws Exception
Test download.

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

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

testAssociationRelatedMaterials

public void testAssociationRelatedMaterials()
                                     throws Exception
A Test of the attribute relatedMaterials as collection of Resource

Overrides:
testAssociationRelatedMaterials in class Study2TestBase
Throws:
Exception

testAssociationStudyDistributors

public void testAssociationStudyDistributors()
                                      throws Exception
A Test of the attribute studyDistributors as collection of Organisation

Overrides:
testAssociationStudyDistributors in class Study2TestBase
Throws:
Exception

pathUp

public void pathUp(StringBuffer path,
                   Study from,
                   Section to)
            throws Exception
Throws:
Exception

getPath

public String getPath(Study from,
                      Section to)
               throws Exception
Throws:
Exception

getPath

public String getPath(Study from,
                      Variable to)
               throws Exception
Throws:
Exception

getPath

public String getPath(Study from,
                      Object to)
               throws Exception
Throws:
Exception

checkPaths

public void checkPaths(Study2 from,
                       RDFObject to,
                       int numPaths)
                throws Exception
Throws:
Exception

testOperationPathsTo

public void testOperationPathsTo()
                          throws Exception
A Test of the operation Paths(RDFObject from,RDFObject to)

Return a list of paths that lead from the 'from' object to the 'to' object. A path is a sequence of property traversals. For example .children[2].variables[3] is a path that leads from a (Catalog) object to the third Variable of the second children (a Study) of the Catalog.

Overrides:
testOperationPathsTo in class Study2TestBase
Throws:
Exception

pathsExample

public void pathsExample()
                  throws Exception
Throws:
Exception

testAttributeCreationDate

public void testAttributeCreationDate()
                               throws Exception
A test on CreationDate

Overrides:
testAttributeCreationDate in class Study2TestBase
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved