nesstar.api.faster
Class Variable2Test

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

public class Variable2Test
extends Variable2TestBase

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


Field Summary
 
Fields inherited from class nesstar.api.faster.Variable2TestBase
__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
Variable2Test(String testName)
          Constructor for the Variable2Test object
 
Method Summary
static void main(String[] args)
          The main program for the Variable2Test class
static junit.framework.Test suite()
          Return the suite of all tests of this class
 void testAssociationDatafile()
          A Test of the attribute datafile of type Datafile
 void testAssociationFactsheets()
          A Test of the attribute factsheets as collection of Factsheet
 void testAssociationGroups()
          A Test of the attribute groups as collection of VariableGroup
 void testAssociationMeasures()
          A Test of the attribute measures as collection of Measure
 void testAssociationSection()
          A Test of the attribute section of type Section
 void testAssociationSections()
          A Test of the attribute sections as collection of Section
 void testAssociationStatistics()
          A Test of the attribute statistics as collection of CategoryStatistic
 void testAssociationStudy()
          A Test of the attribute study of type Study
 void testAssociationTables()
          A Test of the attribute tables as collection of Table
 void testAssociationWeightVariable()
          A Test of the attribute weightVariable of type Variable
 void testAssociationWeightVariables()
          A Test of the attribute weightVariables as collection of Variable
 void testAttributeComment()
          A test on Comment
 void testAttributeCreationDate()
          A test on CreationDate
 void testAttributeEndPos()
          A Test of the attribute EndPos
 void testAttributeExtNotesRole()
          A Test of the attribute ExtNotesRole
 void testAttributeExtNotesTitle()
          A Test of the attribute ExtNotesTitle
 void testAttributeExtNotesURI()
          A Test of the attribute ExtNotesURI
 void testAttributeLabel()
          A test on Label
 void testAttributeNumCats()
          A Test of the attribute NumCats
 void testAttributePosition()
          A Test of the attribute position
 void testAttributeSyntax()
          A Test of the attribute syntax
 void testAttributeWidth()
          A Test of the attribute Width
 void testHomeOperationFindAll()
          A test on the home operation findAll(String id)
 void testHomeOperationFindByKey()
          A test on the home operation findByKey(String id)
 
Methods inherited from class nesstar.api.faster.Variable2TestBase
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

Variable2Test

public Variable2Test(String testName)
Constructor for the Variable2Test object

Parameters:
testName -
Method Detail

main

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

Parameters:
args - The command line arguments

suite

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


testAttributeEndPos

public void testAttributeEndPos()
                         throws Exception
A Test of the attribute EndPos

End position of variable in data file

Overrides:
testAttributeEndPos in class Variable2TestBase
Throws:
Exception

testAttributeWidth

public void testAttributeWidth()
                        throws Exception
A Test of the attribute Width

Width of variable in data file

Overrides:
testAttributeWidth in class Variable2TestBase
Throws:
Exception

testAttributeComment

public void testAttributeComment()
                          throws Exception
A test on Comment

Overrides:
testAttributeComment in class Variable2TestBase
Throws:
Exception

testAttributeLabel

public void testAttributeLabel()
                        throws Exception
A test on Label

Overrides:
testAttributeLabel in class Variable2TestBase
Throws:
Exception

testAttributeCreationDate

public void testAttributeCreationDate()
                               throws Exception
A test on CreationDate

Overrides:
testAttributeCreationDate in class Variable2TestBase
Throws:
Exception

testAttributePosition

public void testAttributePosition()
                           throws Exception
A Test of the attribute position

Represents the ordinal position of a variable in the ddi xml. Starts from position 1.

Throws:
Exception

testHomeOperationFindByKey

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

Overrides:
testHomeOperationFindByKey in class Variable2TestBase
Throws:
Exception

testHomeOperationFindAll

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

Overrides:
testHomeOperationFindAll in class Variable2TestBase
Throws:
Exception

testAssociationSections

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

Throws:
Exception

testAssociationMeasures

public void testAssociationMeasures()
                             throws Exception
A Test of the attribute measures as collection of Measure

Throws:
Exception

testAssociationStatistics

public void testAssociationStatistics()
                               throws Exception
A Test of the attribute statistics as collection of CategoryStatistic

Throws:
Exception

testAssociationStudy

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

Throws:
Exception

testAssociationDatafile

public void testAssociationDatafile()
                             throws Exception
A Test of the attribute datafile of type Datafile

Throws:
Exception

testAssociationGroups

public void testAssociationGroups()
                           throws Exception
A Test of the attribute groups as collection of VariableGroup

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

testAssociationWeightVariables

public void testAssociationWeightVariables()
                                    throws Exception
A Test of the attribute weightVariables as collection of Variable

Throws:
Exception

testAssociationSection

public void testAssociationSection()
                            throws Exception
A Test of the attribute section of type Section

Throws:
Exception

testAssociationWeightVariable

public void testAssociationWeightVariable()
                                   throws Exception
A Test of the attribute weightVariable of type Variable

Throws:
Exception

testAttributeNumCats

public void testAttributeNumCats()
                          throws Exception
A Test of the attribute NumCats

Number of category statistics belonging to this variable

Overrides:
testAttributeNumCats in class Variable2TestBase
Throws:
Exception

testAttributeSyntax

public void testAttributeSyntax()
                         throws Exception
A Test of the attribute syntax

Represents the sintax used for defining the expression

Overrides:
testAttributeSyntax in class Variable2TestBase
Throws:
Exception

testAttributeExtNotesURI

public void testAttributeExtNotesURI()
                              throws Exception
A Test of the attribute ExtNotesURI

An external link containing variable notes

Overrides:
testAttributeExtNotesURI in class Variable2TestBase
Throws:
Exception

testAttributeExtNotesTitle

public void testAttributeExtNotesTitle()
                                throws Exception
A Test of the attribute ExtNotesTitle

Title of external link containing variable notes

Overrides:
testAttributeExtNotesTitle in class Variable2TestBase
Throws:
Exception

testAttributeExtNotesRole

public void testAttributeExtNotesRole()
                               throws Exception
A Test of the attribute ExtNotesRole

Role of external link containing variable notes

Overrides:
testAttributeExtNotesRole in class Variable2TestBase
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved