nesstar.api.faster
Class DatafileTest

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

public class DatafileTest
extends DatafileTestBase

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

Created:
07 August 2002

Field Summary
 
Fields inherited from class nesstar.api.faster.DatafileTestBase
__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
DatafileTest(String testName)
          Constructor for the DatafileTest object
 
Method Summary
static void main(String[] args)
          The main program for the DatafileTest class
static junit.framework.Test suite()
          Return the suite of all tests of this class
 void testAssociationChildren()
          A Test of the attribute children as collection of Datafile
 void testAssociationParents()
          A Test of the attribute parents as collection of Datafile
 void testAssociationStudy()
          A Test of the attribute study of type Study
 void testAssociationVariable()
          A Test of the attribute variable as collection of Variable
 void testAttributeComment()
          A Test of the attribute comment
 void testAttributeContent()
          A unit test for JUnit This is a test on a deprecated attribute, which should return NULL.
 void testAttributeCreationDate()
          A test on CreationDate
 void testAttributeDdiDatafileID()
          A unit test for JUnit
 void testAttributeEncoding()
          A unit test for JUnit
 void testAttributeFileType()
          A unit test for JUnit
 void testAttributeHasData()
          A Test of the attribute hasData
 void testAttributeLabel()
          A test on Label
 void testAttributeName()
          A unit test for JUnit
 void testAttributeNumCases()
          A Test of the attribute noted as:
 void testAttributeNumVars()
          A Test of the attribute noted as:
 void testAttributeRecType()
          A unit test for JUnit
 void testAttributeStructure()
          A unit test for JUnit
 void testOperationAddDataFile()
          A Test of the operation AddDataFile()
 void testOperationAddDataFileLarge()
          A Test of the operation testOperationAddDataFileLarge() Warning: this may take some time for low bandwidths!
 
Methods inherited from class nesstar.api.faster.DatafileTestBase
getAssociationTest, getAttributesTest, getHome, getMethodsTest, getProperiesTest, testHomeOperationFindAll, testHomeOperationFindByKey
 
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

DatafileTest

public DatafileTest(String testName)
Constructor for the DatafileTest object

Parameters:
testName -
Method Detail

main

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

Parameters:
args - The command line arguments

suite

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

Returns:
The test suite

testAttributeNumCases

public void testAttributeNumCases()
                           throws Exception
A Test of the attribute noted as:

Overrides:
testAttributeNumCases in class DatafileTestBase
Throws:
Exception

testAttributeNumVars

public void testAttributeNumVars()
                          throws Exception
A Test of the attribute noted as:

Overrides:
testAttributeNumVars in class DatafileTestBase
Throws:
Exception

testAttributeName

public void testAttributeName()
                       throws Exception
A unit test for JUnit

Overrides:
testAttributeName in class DatafileTestBase
Throws:
Exception

testAttributeFileType

public void testAttributeFileType()
                           throws Exception
A unit test for JUnit

Overrides:
testAttributeFileType in class DatafileTestBase
Throws:
Exception

testAttributeRecType

public void testAttributeRecType()
                          throws Exception
A unit test for JUnit

Overrides:
testAttributeRecType in class DatafileTestBase
Throws:
Exception

testAttributeEncoding

public void testAttributeEncoding()
                           throws Exception
A unit test for JUnit

Overrides:
testAttributeEncoding in class DatafileTestBase
Throws:
Exception

testAttributeContent

public void testAttributeContent()
                          throws Exception
A unit test for JUnit This is a test on a deprecated attribute, which should return NULL.

Overrides:
testAttributeContent in class DatafileTestBase
Throws:
Exception

testAttributeLabel

public void testAttributeLabel()
                        throws Exception
A test on Label

Overrides:
testAttributeLabel in class DatafileTestBase
Throws:
Exception

testAttributeComment

public void testAttributeComment()
                          throws Exception
Description copied from class: DatafileTestBase
A Test of the attribute comment

Abstract or description of file. An unformatted summary describing the purpose, nature, and scope of the data file, special characteristics of its contents, major subject areas covered, and what questions the PIs attempted to answer when they created the file. A listing of major variables in the file is important here. In the case of multi-file collections, this uniquely describes the contents of each file.

Overrides:
testAttributeComment in class DatafileTestBase
Throws:
Exception

testAttributeStructure

public void testAttributeStructure()
                            throws Exception
A unit test for JUnit

Overrides:
testAttributeStructure in class DatafileTestBase
Throws:
Exception

testAttributeDdiDatafileID

public void testAttributeDdiDatafileID()
                                throws Exception
A unit test for JUnit

Overrides:
testAttributeDdiDatafileID in class DatafileTestBase
Throws:
Exception

testAttributeHasData

public void testAttributeHasData()
                          throws Exception
A Test of the attribute hasData

Does this Datafile has data?

Overrides:
testAttributeHasData in class DatafileTestBase
Throws:
Exception

testOperationAddDataFile

public void testOperationAddDataFile()
                              throws Exception
A Test of the operation AddDataFile()

Overrides:
testOperationAddDataFile in class DatafileTestBase
Throws:
Exception

testOperationAddDataFileLarge

public void testOperationAddDataFileLarge()
                                   throws Exception
A Test of the operation testOperationAddDataFileLarge() Warning: this may take some time for low bandwidths!

Throws:
Exception

testAssociationStudy

public void testAssociationStudy()
                          throws Exception
A Test of the attribute study of type Study

Overrides:
testAssociationStudy in class DatafileTestBase
Throws:
Exception

testAssociationParents

public void testAssociationParents()
                            throws Exception
A Test of the attribute parents as collection of Datafile

Overrides:
testAssociationParents in class DatafileTestBase
Throws:
Exception

testAssociationChildren

public void testAssociationChildren()
                             throws Exception
A Test of the attribute children as collection of Datafile

Overrides:
testAssociationChildren in class DatafileTestBase
Throws:
Exception

testAssociationVariable

public void testAssociationVariable()
                             throws Exception
A Test of the attribute variable as collection of Variable

Overrides:
testAssociationVariable in class DatafileTestBase
Throws:
Exception

testAttributeCreationDate

public void testAttributeCreationDate()
                               throws Exception
A test on CreationDate

Overrides:
testAttributeCreationDate in class DatafileTestBase
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved