|
|||||||||
| 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.CatalogTestBase
nesstar.api.CatalogTest
public class CatalogTest
A Test class for Catalog.java Automatically generated from ARGO/UML
| Field Summary |
|---|
| Fields inherited from class nesstar.api.CatalogTestBase |
|---|
__home |
| Constructor Summary | |
|---|---|
CatalogTest(String testName)
Constructor for the CatalogTest object |
|
| Method Summary | |
|---|---|
void |
checkQuery(Catalog catalog,
String query,
int numExpectedResults)
Description of the Method |
String |
getFirstDataFile(Study study)
Gets the path of the first micro data file of the StudyBean object |
static void |
main(String[] args)
The main program for the CatalogTest class |
static junit.framework.Test |
suite()
Return the suite of all tests of this class |
void |
testAssociationDatasets()
A unit test for JUnit |
void |
testAttributeComment()
A test on Comment |
void |
testAttributeCreationDate()
A test on CreationDate |
void |
testAttributeLabel()
A test on Label |
void |
testCheshireQueryNorwegian1()
A unit test for JUnit |
void |
testMultipleRangeQueries()
Multiple concurrent RangeQuery calls from the same client session can fail |
void |
testOperationAddDataset()
A Test of the operation AddDataset() Add a dataset to the catalog. |
void |
testOperationDeleteAllDatasets()
A Test of the operation DeleteAllDatasets() Delete all the datasets in the catalog. |
void |
testOperationQuery()
A Test of the operation Query() Query the catalog. |
void |
testOperationReindex()
A Test of the operation Reindex() Reindex the catalog. |
void |
testSearchEx()
A unit test for JUnit |
| Methods inherited from class nesstar.api.CatalogTestBase |
|---|
getAssociationTest, getAttributesTest, getHome, getMethodsTest, getProperiesTest, testHomeOperationFindAll, testHomeOperationFindByKey |
| 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 CatalogTest(String testName)
throws Exception
testName -
Exception| Method Detail |
|---|
public static void main(String[] args)
args - The command line argumentspublic static junit.framework.Test suite()
public void testOperationAddDataset()
throws Exception
Returns the dataset object that has been created.
testOperationAddDataset in class CatalogTestBaseException
public void testOperationReindex()
throws Exception
testOperationReindex in class CatalogTestBaseException
public void testOperationQuery()
throws Exception
Return the RDF description of the retrieved datasets. This uses the cheshire query only, backwards compatible for older clients WARNING: with sqlserver this test could take too long to complete
testOperationQuery in class CatalogTestBaseException
public void checkQuery(Catalog catalog,
String query,
int numExpectedResults)
throws Exception
catalog - query - numExpectedResults -
Exception
public void testOperationDeleteAllDatasets()
throws Exception
testOperationDeleteAllDatasets in class CatalogTestBaseException
public String getFirstDataFile(Study study)
throws Exception
Exception
public void testMultipleRangeQueries()
throws Exception
Exception
public void testCheshireQueryNorwegian1()
throws Exception
Exception
public void testSearchEx()
throws Exception
Exception
public void testAssociationDatasets()
throws Exception
testAssociationDatasets in class CatalogTestBaseException
public void testAttributeComment()
throws Exception
testAttributeComment in class CatalogTestBaseException
public void testAttributeLabel()
throws Exception
testAttributeLabel in class CatalogTestBaseException
public void testAttributeCreationDate()
throws Exception
testAttributeCreationDate in class CatalogTestBaseException
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||