|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
nesstar.test.NesstarTestCase
nesstar.api.faster.Study2TestBase
nesstar.api.faster.Study2Test
public class Study2Test
A Test class for Study2.java Automatically generated from ARGO/UML
| Field Summary |
|---|
| Fields inherited from class nesstar.api.faster.Study2TestBase |
|---|
__home |
| 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 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 |
|---|
public Study2Test(String testName)
testName - | Method Detail |
|---|
public static void main(String[] args)
args - The command line argumentspublic static junit.framework.Test suite()
public void testAttributeComment()
throws Exception
testAttributeComment in class Study2TestBaseException
public void testAttributeLabel()
throws Exception
testAttributeLabel in class Study2TestBaseException
public void testHomeOperationFindByKey()
throws Exception
testHomeOperationFindByKey in class Study2TestBaseException
public void testHomeOperationFindAll()
throws Exception
testHomeOperationFindAll in class Study2TestBaseException
public void testOperationFrequency()
throws Exception
Study2TestBase
testOperationFrequency in class Study2TestBaseException
public void testOperationFrequencyXml()
throws Exception
Exception
public void testOperationFrequencyWeighted()
throws Exception
Exception
public void testOperationFrequencyAlphaSelect()
throws Exception
Exception
public void testOperationFrequencyAlphaSelectSpaces()
throws Exception
Exception
public void testOperationFrequencyAlphaSelectQuote()
throws Exception
Exception
public void testOperationFrequencyDottedVariableName()
throws Exception
Exception
public void testOperationFrequencyMultifile()
throws Exception
Exception
public void testOperationFrequencyMultifileXml()
throws Exception
Exception
public void testOperationFrequency(String format,
String testfile)
throws Exception
Exception
public void testOperationTabulation()
throws Exception
Study2TestBase
testOperationTabulation in class Study2TestBaseException
public void testOperationTabulationXml()
throws Exception
Exception
public void testOperationTabulationMultifile()
throws Exception
Exception
public void testOperationTabulationMultifileXml()
throws Exception
Exception
public void testOperationTabulationMultifileClash()
throws Exception
Exception
public void testOperationTabulationIllegalMerge()
throws Exception
Exception
public void testOperationTabulationLarge()
throws Exception
Exception
public void testOperationTabulationUTF8()
throws Exception
Exception
public void testOperationTabulation(String format,
String testfile)
throws Exception
Exception
public void testOperationTabulationConcurrent()
throws Exception
Exception
public void testOperationGFrequency()
throws Exception
Study2TestBase
testOperationGFrequency in class Study2TestBaseException
public void testOperationGFrequencyXml()
throws Exception
Exception
public void testOperationGFrequencyMultifile()
throws Exception
Exception
public void testOperationGFrequencyMultifileXml()
throws Exception
Exception
public void testOperationGFrequency(String format,
String testfile)
throws Exception
Exception
public void testOperationDescriptive()
throws Exception
Study2TestBase
testOperationDescriptive in class Study2TestBaseException
public void testOperationDescriptiveXml()
throws Exception
Exception
public void testOperationDescriptiveAlpha()
throws Exception
Exception
public void testOperationDescriptiveMultifile()
throws Exception
Exception
public void testOperationDescriptiveMultifileXml()
throws Exception
Exception
public void testOperationDescriptive(String format,
String testfile)
throws Exception
Exception
public void testOperationDatalist()
throws Exception
Study2TestBase
testOperationDatalist in class Study2TestBaseException
public void testOperationDatalistXml()
throws Exception
Exception
public void testOperationDatalistMultifile()
throws Exception
Exception
public void testOperationDatalistMultifileXml()
throws Exception
Exception
public void testOperationDatalist(String format,
String testfile)
throws Exception
Exception
public void testOperationBreakdown()
throws Exception
Study2TestBase
testOperationBreakdown in class Study2TestBaseException
public void testOperationBreakdownXml()
throws Exception
Exception
public void testOperationBreakdownMultifile()
throws Exception
Exception
public void testOperationBreakdownMultifileXml()
throws Exception
Exception
public void testOperationBreakdown(String format,
String testfile)
throws Exception
Exception
public void testOperationMultipleRegression()
throws Exception
Study2TestBase
testOperationMultipleRegression in class Study2TestBaseException
public void testOperationMultipleRegressionXml()
throws Exception
Exception
public void testOperationMultipleRegressionMultifile()
throws Exception
Exception
public void testOperationMultipleRegressionMultifileXml()
throws Exception
Exception
public void testOperationMultipleRegression(String format,
String testfile)
throws Exception
Exception
public void testOperationXBreak()
throws Exception
Study2TestBase
testOperationXBreak in class Study2TestBaseException
public void testOperationXBreakXml()
throws Exception
Exception
public void testOperationXBreakMultifile()
throws Exception
Exception
public void testOperationXBreakMultifileXml()
throws Exception
Exception
public void testOperationXBreak(String format,
String testfile)
throws Exception
Exception
public void testStatopError()
throws Exception
Exception
public void testOperationDownload()
throws Exception
Study2TestBase
testOperationDownload in class Study2TestBaseException
public void testOperationDownloadCondition()
throws Exception
Exception
public void testOperationDownloadMultifile()
throws Exception
Exception
public void testOperationDownloadMultifileCarryKey()
throws Exception
Exception
public void testOperationDownloadMultifileDuplicateKey()
throws Exception
Exception
public void testOperationDownloadMultifileSplitRange()
throws Exception
Exception
public void testOperationDownload(String testfile)
throws Exception
Exception
public void testOperationDownloadMultiple()
throws Exception
Exception
public void testOperationDownloadMultiple2()
throws Exception
Exception
public void testOperationDownloadMultifileCasesWithoutVariables()
throws Exception
Exception
public void testOperationDownloadMultifileCasesWithRange()
throws Exception
Exception
public void testOperationDownloadMultifileCasesWithRangeLarge()
throws Exception
Exception
public void checkDownloadMultiple(String format)
throws Exception
Exception
public void checkUnsupportedDownloadFormat(String unsupportedFormat)
throws Exception
Exception
public void checkUnsupportedDownloadMultipleFormat(String unsupportedFormat)
throws Exception
Exception
public void testOperationDownloadNSD96()
throws Exception
Exception
public void testOperationDownloadNSDDOS()
throws Exception
Exception
public void testOperationDownloadNSD()
throws Exception
Exception
public void testOperationDownloadNSD99()
throws Exception
Exception
public void testOperationDownloadFREE()
throws Exception
Exception
public void testOperationDownloadFIXED()
throws Exception
Exception
public void testOperationDownloadDIF()
throws Exception
Exception
public void testOperationDownloadDBASE()
throws Exception
Exception
public void testOperationDownloadSPSS()
throws Exception
Exception
public void testOperationDownloadSPSSPORT()
throws Exception
Exception
public void testOperationDownloadSTATA()
throws Exception
Exception
public void testOperationDownloadSTATA7()
throws Exception
Exception
public void testOperationDownloadSTATISTICA()
throws Exception
Exception
public void testOperationDownloadSAS()
throws Exception
Exception
public void testAssociationSeries()
throws Exception
Exception
public void testAssociationFiles()
throws Exception
Exception
public void testAssociationCubes()
throws Exception
Exception
public void testAssociationTables()
throws Exception
Exception
public void testAssociationVariables()
throws Exception
Exception
public void testAssociationSections()
throws Exception
Exception
public void testAssociationRelatedMaterials()
throws Exception
testAssociationRelatedMaterials in class Study2TestBaseException
public void testAssociationStudyDistributors()
throws Exception
testAssociationStudyDistributors in class Study2TestBaseException
public void pathUp(StringBuffer path,
Study from,
Section to)
throws Exception
Exception
public String getPath(Study from,
Section to)
throws Exception
Exception
public String getPath(Study from,
Variable to)
throws Exception
Exception
public String getPath(Study from,
Object to)
throws Exception
Exception
public void checkPaths(Study2 from,
RDFObject to,
int numPaths)
throws Exception
Exception
public void testOperationPathsTo()
throws Exception
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.
testOperationPathsTo in class Study2TestBaseException
public void pathsExample()
throws Exception
Exception
public void testAttributeCreationDate()
throws Exception
testAttributeCreationDate in class Study2TestBaseException
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||