|
|||||||||
| 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.DatasetTestBase
public class DatasetTestBase
A Base Test class for Dataset.java Automatically generated from ARGO/UML
| Field Summary | |
|---|---|
static DatasetHome |
__home
|
| Constructor Summary | |
|---|---|
DatasetTestBase(String testName)
Constructor for the DatasetTestBase object |
|
| Method Summary | |
|---|---|
static junit.framework.Test |
getAssociationTest()
|
static junit.framework.Test |
getAttributesTest()
|
static DatasetHome |
getHome()
|
static junit.framework.Test |
getMethodsTest()
|
static junit.framework.Test |
getProperiesTest()
|
static void |
main(String[] args)
The main program for the DatasetTestBase class |
static junit.framework.Test |
suite()
Return the suite of all tests of this class |
void |
testAttributeAbstractText()
A Test of the attribute abstractText |
void |
testAttributeAccessConditions()
A Test of the attribute accessConditions |
void |
testAttributeAccessStatus()
A Test of the attribute accessStatus |
void |
testAttributeCollMode()
A Test of the attribute collMode |
void |
testAttributeComment()
A Test of the attribute comment |
void |
testAttributeCreationDate()
A test on CreationDate |
void |
testAttributeDataKind()
A Test of the attribute dataKind |
void |
testAttributeDistributionDate()
A Test of the attribute distributionDate |
void |
testAttributeDistributor()
A Test of the attribute distributor |
void |
testAttributeGeographicalCover()
A Test of the attribute geographicalCover |
void |
testAttributeGeographicalUnit()
A Test of the attribute geographicalUnit |
void |
testAttributeHasData()
A Test of the attribute hasData |
void |
testAttributeLabel()
A Test of the attribute label |
void |
testAttributeSampling()
A Test of the attribute sampling |
void |
testAttributeSource()
A Test of the attribute source |
void |
testAttributeSubcat()
A Test of the attribute subcat |
void |
testAttributeTimeMeth()
A Test of the attribute timeMeth |
void |
testAttributeTimePeriod()
A Test of the attribute timePeriod |
void |
testAttributeTitle()
A Test of the attribute title |
void |
testHomeOperationFindAll()
A test on the home operation findAll(String id) |
void |
testHomeOperationFindByKey()
A test on the home operation findByKey(String id) |
void |
testOperationAddDataFile()
Deprecated. support for old-style NSD datafiles has been dropped, use Datafile.AddDatafile(..) instead. |
void |
testOperationBreakdown()
Deprecated. Replaced by Study2 Breakdown |
void |
testOperationDatalist()
Deprecated. Replaced by Study2 Datalist |
void |
testOperationDelete()
A Test of the operation Delete() Delete the dataset from the server. |
void |
testOperationDescriptive()
Deprecated. Replaced by Study2 Descriptive |
void |
testOperationFindDDIVariables()
Deprecated. Replaced by Study2.RangeQuery("GET Variable WHERE Variable.* CONTAINS 'phrase'"). |
void |
testOperationFrequency()
Deprecated. Replaced by Study2 Frequency |
void |
testOperationGetDDI()
A Test of the operation GetDDI() |
void |
testOperationGetDDISkeleton()
A Test of the operation GetDDISkeleton() Get a possibly incomplete DDI document. |
void |
testOperationGetDDIVariable()
Deprecated. Replaced by Study2.RangeQuery("GET Variable WHERE Variable.id == 'VID'"). |
void |
testOperationGFrequency()
Deprecated. Replaced by Study2 GFrequency |
void |
testOperationMultipleRegression()
Deprecated. Replaced by Study2 MultipleRegression |
void |
testOperationSubset()
Deprecated. Replaced by Study2 Download |
void |
testOperationTabulation()
Deprecated. Replaced by Study2 Tabulation |
void |
testOperationXBreak()
Deprecated. Replaced by Study2 XBreak |
| 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 |
|---|
public static DatasetHome __home
| Constructor Detail |
|---|
public DatasetTestBase(String testName)
testName - | Method Detail |
|---|
public static DatasetHome getHome()
throws Exception
Exception
public static junit.framework.Test getProperiesTest()
throws Exception
Exception
public static junit.framework.Test getAttributesTest()
throws Exception
Exception
public static junit.framework.Test getAssociationTest()
throws Exception
Exception
public static junit.framework.Test getMethodsTest()
throws Exception
Exceptionpublic static void main(String[] args)
args - The command line argumentspublic static junit.framework.Test suite()
public void testAttributeAbstractText()
throws Exception
The abstract.
Exception
public void testAttributeAccessConditions()
throws Exception
Restriction on access or use.
Exception
public void testAttributeAccessStatus()
throws Exception
The access status of the study with respect to the current user (e.g. NoAccess, FreeAccess, etc.)
Exception
public void testAttributeCollMode()
throws Exception
The collection mode, e.g. Telephone, mail, questionnaire
Exception
public void testAttributeDataKind()
throws Exception
The kind of data, e.g. individual level.
Exception
public void testAttributeDistributionDate()
throws Exception
Date of distribution of study
Exception
public void testAttributeDistributor()
throws Exception
A distributor is defined as the organization designated by the author or producer to generate copies of the data/documentation including any necessary editions or revisions. Names and addresses may be specified, and other archives may be co-distributors.
Exception
public void testAttributeGeographicalCover()
throws Exception
Geographic coverage
Exception
public void testAttributeGeographicalUnit()
throws Exception
Lowest level of geog. aggregation
Exception
public void testAttributeHasData()
throws Exception
Does this dataset have data files?.
Exception
public void testAttributeSampling()
throws Exception
sampling procedure, inc. size, fraction.
Exception
public void testAttributeSource()
throws Exception
Used to list the book(s), article(s), serial(s), and/or machine-readable data file(s), if any, that served as the source(s) of the data collection.
Exception
public void testAttributeSubcat()
throws Exception
The classification field indicates the broad substantive topic(s) that the data cover.
Exception
public void testAttributeTimeMeth()
throws Exception
eg panel, trend, time series
Exception
public void testAttributeTimePeriod()
throws Exception
The time period to which the data refer.
Exception
public void testAttributeTitle()
throws Exception
Title of the Dataset
Exception
public void testAttributeLabel()
throws Exception
Title of the Dataset
Exception
public void testAttributeComment()
throws Exception
The abstract.
Exception
public void testAttributeCreationDate()
throws Exception
Exception
public void testHomeOperationFindByKey()
throws Exception
Exception
public void testHomeOperationFindAll()
throws Exception
Exception
public void testOperationAddDataFile()
throws Exception
There can be one or more datafiles associated with each dataset.
Each datafile has an unique ID indicated in the ID attribute of the fileDscr/fileName element.
The datafile should be in NSDSTAT format and it's actually composed by three separate files with suffixes: dkm, ind and nsf.
Exception
public void testOperationDelete()
throws Exception
Exception
public void testOperationGetDDI()
throws Exception
Get the full DDI metadata for this dataset.
Exception
public void testOperationGetDDISkeleton()
throws Exception
Some or all of the variable elements might have been reduced to their skeleton form.
Exception
public void testOperationGetDDIVariable()
throws Exception
Exception
public void testOperationFindDDIVariables()
throws Exception
Exception
public void testOperationSubset()
throws Exception
Returns the URL of a zipped file containing the required datafile(s).
Exception
public void testOperationDescriptive()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationDatalist()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationFrequency()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationGFrequency()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationBreakdown()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationMultipleRegression()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationTabulation()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
public void testOperationXBreak()
throws Exception
Returns the result of the operation in a proprietary NSDSTAT format.
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||