|
|||||||||
| 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.ServerTestBase
nesstar.api.ServerTest
public class ServerTest
A Test class for Server.java Automatically generated from ARGO/UML
| Field Summary |
|---|
| Fields inherited from class nesstar.api.ServerTestBase |
|---|
__home |
| Constructor Summary | |
|---|---|
ServerTest(String testName)
Constructor for the ServerTest object |
|
| Method Summary | |
|---|---|
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 |
testAssociationCatalogs()
A Test of the attribute catalogs as collection of Catalog |
void |
testAttributeComment()
A test on Comment |
void |
testAttributeCreationDate()
A test on CreationDate |
void |
testAttributeDebug()
A Test of the attribute noted as: The level of debugging: off disable the generation of debugging information std send debugging information to stdout/err (normally the console video) log append debugging information to the logfile newlog delete the old log file everytime the server is rebooted |
void |
testAttributeLabel()
A test on Label |
void |
testAttributePort()
A Test of the attribute noted as: The TCP/IP port on which the server listens for connections from the users, should be 80 or 8080 (this might conflict with a Web Server running on the same machine). |
void |
testAttributeRevision()
A Test of the attribute noted as: The server software revision code. |
void |
testAttributeServices()
A unit test for JUnit |
void |
testAttributeVersion()
A Test of the attribute noted as: The server software version name. |
void |
testCmdExe()
A unit test for JUnit |
void |
testDDICheck()
A unit test for JUnit |
void |
testHomeOperationFindAll()
A test on the home operation findAll(String id) |
void |
testLoadingConfigRDF()
A unit test for JUnit |
void |
testNameChange()
A unit test for JUnit |
void |
testOperationGetFile()
A Test of the operation GetFile() |
void |
testOperationGetReport()
A Test of the operation GetReport() |
void |
testOperationLogin()
A Test of the operation Login() |
void |
testOperationReboot()
A Test of the operation Reboot() |
void |
testOperationSaveFile()
A Test of the operation SaveFile(String serverPath,File file) |
void |
testOperationSaveWebFile()
A Test of the operation SaveWebFile(String webPath,File file) |
void |
testOperationShutdown()
A Test of the operation Shutdown() |
void |
testOperationUpdate()
A Test of the operation Update(File zippedCode) |
void |
testOperationUpdate(File zip,
File file,
String serverPath,
String zipname,
String msg)
A Test of the operation Update(File zippedCode) |
void |
testOperationUpdateCorrupt()
A Test of the operation Update(File zippedCode) |
void |
testOperationUpdateEmpty()
A Test of the operation Update(File zippedCode) |
void |
testURL()
A unit test for JUnit |
| Methods inherited from class nesstar.api.ServerTestBase |
|---|
getAssociationTest, getAttributesTest, getHome, getMethodsTest, getProperiesTest, 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 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 testDDICheck()
throws Exception
Exception
public void testOperationShutdown()
throws Exception
ServerTestBase
testOperationShutdown in class ServerTestBaseException
public void testAttributeDebug()
throws Exception
testAttributeDebug in class ServerTestBaseException
public void testAttributeComment()
throws Exception
testAttributeComment in class ServerTestBaseException
public void testAttributeLabel()
throws Exception
testAttributeLabel in class ServerTestBaseException
public void testAttributePort()
throws Exception
testAttributePort in class ServerTestBaseException
public void testAttributeRevision()
throws Exception
This corresponds to the date the software was recompiled the last time.
testAttributeRevision in class ServerTestBaseException
public void testAttributeVersion()
throws Exception
testAttributeVersion in class ServerTestBaseException
public void testAttributeServices()
throws Exception
testAttributeServices in class ServerTestBaseException
public void testHomeOperationFindAll()
throws Exception
testHomeOperationFindAll in class ServerTestBaseException
public void testOperationLogin()
throws Exception
testOperationLogin in class ServerTestBaseException
public void testOperationGetReport()
throws Exception
testOperationGetReport in class ServerTestBaseException
public void testOperationUpdate()
throws Exception
testOperationUpdate in class ServerTestBaseException
public void testOperationUpdateCorrupt()
throws Exception
Exception
public void testOperationUpdateEmpty()
throws Exception
Exception
public void testOperationUpdate(File zip,
File file,
String serverPath,
String zipname,
String msg)
throws Exception
Exception
public void testOperationReboot()
throws Exception
testOperationReboot in class ServerTestBaseException
public void testOperationSaveFile()
throws Exception
testOperationSaveFile in class ServerTestBaseException
public void testOperationGetFile()
throws Exception
testOperationGetFile in class ServerTestBaseException
public void testNameChange()
throws Exception
Exception
public void testOperationSaveWebFile()
throws Exception
testOperationSaveWebFile in class ServerTestBaseException
public void testLoadingConfigRDF()
throws Exception
Exception
public void testURL()
throws Exception
Exception
public void testCmdExe()
throws Exception
Exception
public void testAssociationCatalogs()
throws Exception
testAssociationCatalogs 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 | ||||||||