|
|||||||||
| 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
public class ServerTestBase
A Base Test class for Server.java Automatically generated from ARGO/UML
| Field Summary | |
|---|---|
static ServerHome |
__home
|
| Constructor Summary | |
|---|---|
ServerTestBase(String testName)
Constructor for the ServerTestBase object |
|
| Method Summary | |
|---|---|
static junit.framework.Test |
getAssociationTest()
|
static junit.framework.Test |
getAttributesTest()
|
static ServerHome |
getHome()
|
static junit.framework.Test |
getMethodsTest()
|
static junit.framework.Test |
getProperiesTest()
|
static void |
main(String[] args)
The main program for the ServerTestBase 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 debug The level of debugging: off disable the generation of debugging information on send debugging information a log file |
void |
testAttributeLabel()
A test on Label |
void |
testAttributePort()
A Test of the attribute port 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 revision The server software revision code. |
void |
testAttributeServices()
A Test of the attribute services Additional services hosted by the server. |
void |
testAttributeVersion()
A Test of the attribute version The server software version name. |
void |
testHomeOperationFindAll()
A test on the home operation findAll(String id) |
void |
testHomeOperationFindByKey()
A test on the home operation findByKey(String id) |
void |
testOperationGetFile()
A Test of the operation GetFile(String serverPath) |
void |
testOperationGetReport()
A Test of the operation GetReport() |
void |
testOperationLogin()
A Test of the operation Login(String userID,String userPassword) |
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) |
| 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 ServerHome __home
| Constructor Detail |
|---|
public ServerTestBase(String testName)
testName - | Method Detail |
|---|
public static ServerHome 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 testAttributeDebug()
throws Exception
Exception
public void testAttributePort()
throws Exception
Exception
public void testAttributeRevision()
throws Exception
This corresponds to the date the software was recompiled the last time.
Exception
public void testAttributeVersion()
throws Exception
Exception
public void testAttributeServices()
throws Exception
Exception
public void testAttributeComment()
throws Exception
Exception
public void testAttributeLabel()
throws Exception
Exception
public void testAttributeCreationDate()
throws Exception
Exception
public void testHomeOperationFindByKey()
throws Exception
Exception
public void testHomeOperationFindAll()
throws Exception
Exception
public void testOperationLogin()
throws Exception
Exception
public void testOperationGetReport()
throws Exception
Exception
public void testOperationReboot()
throws Exception
Exception
public void testOperationShutdown()
throws Exception
Exception
public void testOperationUpdate()
throws Exception
Exception
public void testOperationGetFile()
throws Exception
Get a File from the server;
A temporary file is created before to return the requested file
Exception
public void testOperationSaveFile()
throws Exception
Save a file in the server;
if the file already exists, a backup copy is created with name fileName.# with # = 1..n
Exception
public void testOperationSaveWebFile()
throws Exception
Save a file in the web root of the server
if the file already exists, a backup copy is created with name fileName.# with # = 1..n
Exception
public void testAssociationCatalogs()
throws Exception
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||