nesstar.api.faster
Class CubeTest

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

public class CubeTest
extends CubeTestBase

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

Created:
07 August 2002

Field Summary
static String CUBE_TO_PUBLISH
           
static String CUBE60249_TO_PUBLISH
           
 
Fields inherited from class nesstar.api.faster.CubeTestBase
__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
CubeTest(String testName)
          Constructor for the CubeTest object
 
Method Summary
static void main(String[] args)
          The main program for the CubeTest class
static junit.framework.Test suite()
          Return the suite of all tests of this class
 void testAssociationDimensions()
          A Test of the attribute dimensions as collection of Dimension
 void testAssociationMeasures()
          A Test of the attribute measures as collection of Measure
 void testAssociationStudy()
          A Test of the attribute study of type Study
 void testAttributeAnalysUnit()
          A Test of the attribute noted as:
 void testAttributeComment()
          A test on Comment
 void testAttributeCreationDate()
          A test on CreationDate
 void testAttributeEmbargo()
          A Test of the attribute noted as:
 void testAttributeFileLocation()
          A Test of the attribute noted as:
 void testAttributeHasData()
          A Test of the attribute hasData
 void testAttributeImputation()
          A Test of the attribute noted as:
 void testAttributeLabel()
          A test on Label
 void testAttributeLocation()
          A Test of the attribute noted as:
 void testAttributeNotes()
          A Test of the attribute noted as:
 void testAttributeRespUnit()
          A Test of the attribute noted as:
 void testAttributeSecurity()
          A Test of the attribute noted as:
 void testAttributeUniverse()
          A Test of the attribute noted as:
 void testAttributeVersion()
          A Test of the attribute noted as:
 void testCubeQueryWithData()
           
 void testHomeOperationAddCube()
          A Test of the Home operation addCube(File file,String cubeAccessCondition,String studyAccessCondition)
 void testOperationAddDataFile()
          A Test of the operation AddDataFile()
 void testOperationQuery()
          A Test of the operation Query(String mdx,Boolean includeData,Boolean includeMeta) see testOperationQuery1-4
 void testOperationQuery1()
          A Test of the operation Query()
 void testOperationQuery2()
           
 void testOperationQuery3()
           
 void testOperationQuery4()
           
 void testQuery()
           
 void testQueryError()
           
 void testQueryUTF8()
           
 
Methods inherited from class nesstar.api.faster.CubeTestBase
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
 

Field Detail

CUBE_TO_PUBLISH

public static final String CUBE_TO_PUBLISH
See Also:
Constant Field Values

CUBE60249_TO_PUBLISH

public static final String CUBE60249_TO_PUBLISH
See Also:
Constant Field Values
Constructor Detail

CubeTest

public CubeTest(String testName)
Constructor for the CubeTest object

Parameters:
testName -
Method Detail

main

public static void main(String[] args)
The main program for the CubeTest 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

testHomeOperationAddCube

public void testHomeOperationAddCube()
                              throws Exception
A Test of the Home operation addCube(File file,String cubeAccessCondition,String studyAccessCondition)

Create a cube from a description file

Overrides:
testHomeOperationAddCube in class CubeTestBase
Throws:
Exception

testAttributeFileLocation

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

Overrides:
testAttributeFileLocation in class CubeTestBase
Throws:
Exception

testAttributeLocation

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

Overrides:
testAttributeLocation in class CubeTestBase
Throws:
Exception

testAttributeImputation

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

Overrides:
testAttributeImputation in class CubeTestBase
Throws:
Exception

testAttributeSecurity

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

Overrides:
testAttributeSecurity in class CubeTestBase
Throws:
Exception

testAttributeEmbargo

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

Overrides:
testAttributeEmbargo in class CubeTestBase
Throws:
Exception

testAttributeUniverse

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

Overrides:
testAttributeUniverse in class CubeTestBase
Throws:
Exception

testAttributeRespUnit

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

Overrides:
testAttributeRespUnit in class CubeTestBase
Throws:
Exception

testAttributeAnalysUnit

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

Overrides:
testAttributeAnalysUnit in class CubeTestBase
Throws:
Exception

testAttributeNotes

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

Overrides:
testAttributeNotes in class CubeTestBase
Throws:
Exception

testAttributeVersion

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

Overrides:
testAttributeVersion in class CubeTestBase
Throws:
Exception

testOperationQuery

public void testOperationQuery()
                        throws Exception
A Test of the operation Query(String mdx,Boolean includeData,Boolean includeMeta) see testOperationQuery1-4

Overrides:
testOperationQuery in class CubeTestBase
Throws:
Exception

testOperationQuery1

public void testOperationQuery1()
                         throws Exception
A Test of the operation Query()

Throws:
Exception

testOperationQuery2

public void testOperationQuery2()
                         throws Exception
Throws:
Exception

testOperationQuery3

public void testOperationQuery3()
                         throws Exception
Throws:
Exception

testOperationQuery4

public void testOperationQuery4()
                         throws Exception
Throws:
Exception

testOperationAddDataFile

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

Overrides:
testOperationAddDataFile in class CubeTestBase
Throws:
Exception

testAssociationStudy

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

Overrides:
testAssociationStudy in class CubeTestBase
Throws:
Exception

testAssociationMeasures

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

Overrides:
testAssociationMeasures in class CubeTestBase
Throws:
Exception

testAssociationDimensions

public void testAssociationDimensions()
                               throws Exception
A Test of the attribute dimensions as collection of Dimension

Overrides:
testAssociationDimensions in class CubeTestBase
Throws:
Exception

testAttributeHasData

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

Does this cube have data files?.

Overrides:
testAttributeHasData in class CubeTestBase
Throws:
Exception

testAttributeComment

public void testAttributeComment()
                          throws Exception
A test on Comment

Overrides:
testAttributeComment in class CubeTestBase
Throws:
Exception

testAttributeLabel

public void testAttributeLabel()
                        throws Exception
A test on Label

Overrides:
testAttributeLabel in class CubeTestBase
Throws:
Exception

testQuery

public void testQuery()
               throws Exception
Throws:
Exception

testQueryUTF8

public void testQueryUTF8()
                   throws Exception
Throws:
Exception

testQueryError

public void testQueryError()
                    throws Exception
Throws:
Exception

testCubeQueryWithData

public void testCubeQueryWithData()
                           throws Exception
Throws:
Exception

testAttributeCreationDate

public void testAttributeCreationDate()
                               throws Exception
A test on CreationDate

Overrides:
testAttributeCreationDate in class CubeTestBase
Throws:
Exception

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved