|
|||||||||
| 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.common.ServerTestBase
nesstar.api.common.ServerTest
public class ServerTest
A Test class for Server.java Automatically generated from ARGO/UML
| Field Summary | |
|---|---|
static int |
ORPHAN_CATALOGS_LOWER
|
static int |
ORPHAN_CATALOGS_UPPER
|
static int |
ORPHAN_STUDIES_LOWER
|
static int |
ORPHAN_STUDIES_UPPER
|
| Fields inherited from class nesstar.api.common.ServerTestBase |
|---|
__home |
| Constructor Summary | |
|---|---|
ServerTest(String testName)
Constructor for the ServerTest object |
|
| Method Summary | |
|---|---|
void |
checkPathsTo(String path,
RDFObject to)
|
void |
checkPathsTo(String path,
RDFObject to,
int numPaths)
|
static void |
main(String[] args)
The main program for the ServerTest class |
static junit.framework.Test |
suite()
Return the suite of all tests of this class |
void |
testAssociationAcuCatalog()
A Test of the attribute ACUCatalog of type Catalog |
void |
testAssociationStatEngine()
A Test of the attribute statEngine of type NSDStatEngine |
void |
testAttributeComment()
A test on Comment |
void |
testAttributeCreationDate()
A test on CreationDate |
void |
testAttributeHomes()
A Test of the attribute noted as: |
void |
testAttributeLabel()
A test on Label |
void |
testAttributeSecurePort()
A Test of the attribute noted as: |
void |
testClearCatalogs0()
|
void |
testClearCatalogs1()
|
void |
testHomeOperationFindByKey()
A test on the home operation findByKey(String id) |
void |
testIpPattern()
|
void |
testModifyServerProperty()
|
void |
testOperationGetHome()
A Test of the operation GetHome() |
void |
testOperationGetOrphans()
A Test of the operation GetOrphans(Integer classURL) |
void |
testOperationGetOrphans2()
|
void |
testOperationImport()
A Test of the operation Import() |
void |
testOperationPathsTo()
A Test of the operation PathsTo(RDFObject to) |
void |
testOperationXSLTransform()
A Test of the operation XSLTransform(String file,String MIMEType,String parameters,String xslFile) |
void |
testReorderCatalogs()
|
| Methods inherited from class nesstar.api.common.ServerTestBase |
|---|
getAssociationTest, getAttributesTest, getHome, getMethodsTest, getProperiesTest, testHomeOperationFindAll |
| 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 int ORPHAN_CATALOGS_LOWER
public static int ORPHAN_CATALOGS_UPPER
public static int ORPHAN_STUDIES_LOWER
public static int ORPHAN_STUDIES_UPPER
| Constructor Detail |
|---|
public ServerTest(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 testAttributeHomes()
throws Exception
testAttributeHomes in class ServerTestBaseException
public void testAttributeSecurePort()
throws Exception
testAttributeSecurePort in class ServerTestBaseException
public void testOperationGetHome()
throws Exception
testOperationGetHome in class ServerTestBaseException
public void testHomeOperationFindByKey()
throws Exception
testHomeOperationFindByKey in class ServerTestBaseException
public void testOperationImport()
throws Exception
testOperationImport in class ServerTestBaseException
public void testClearCatalogs0()
throws Exception
Exception
public void testClearCatalogs1()
throws Exception
Exception
public void testReorderCatalogs()
throws Exception
Exception
public void testModifyServerProperty()
throws Exception
Exception
public void testAttributeLabel()
throws Exception
testAttributeLabel in class ServerTestBaseException
public void testAttributeComment()
throws Exception
testAttributeComment in class ServerTestBaseException
public void testOperationXSLTransform()
throws Exception
ServerTestBaseDoes ...
testOperationXSLTransform in class ServerTestBaseException
public void testOperationGetOrphans()
throws Exception
testOperationGetOrphans in class ServerTestBaseException
public void testOperationGetOrphans2()
throws Exception
Exception
public void checkPathsTo(String path,
RDFObject to,
int numPaths)
throws Exception
Exception
public void checkPathsTo(String path,
RDFObject to)
throws Exception
Exception
public void testOperationPathsTo()
throws Exception
ServerTestBaseReturn a list of paths that lead from the server to the 'to' object. A path is a sequence of property traversals. For example catalogs[1].children[2].children[3] is a path that leads from the root down to the first catalog and then to the third child of the second catalog's subcatalog.
testOperationPathsTo in class ServerTestBaseException
public void testIpPattern()
throws Exception
Exception
public void testAssociationStatEngine()
throws Exception
testAssociationStatEngine in class ServerTestBaseException
public void testAssociationAcuCatalog()
throws Exception
testAssociationAcuCatalog in class ServerTestBaseException
public void testAttributeCreationDate()
throws Exception
testAttributeCreationDate in class ServerTestBaseException
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||