|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceforge.jemm.server.ServerOptionsTest
public class ServerOptionsTest
| Constructor Summary | |
|---|---|
ServerOptionsTest()
|
|
| Method Summary | |
|---|---|
void |
testDefaultControlPort()
|
void |
testDefaultPort()
Test that if not set the default client port is correctly set. |
void |
testEqualPortError()
Tests that if the client and control ports are set to the same an error is generated. |
void |
testIllegalAction()
|
void |
testIllegalControlPort()
|
void |
testIllegalControlPort2()
|
void |
testIllegalMemoryMode()
|
void |
testIllegalPort()
|
void |
testIllegalPort2()
Tests that a negative port number generates an exception. |
void |
testModeDefault()
|
void |
testModeIllegal()
|
void |
testModeMemory()
|
void |
testModePersistent()
|
void |
testNoAction()
Test command line with no action defined |
void |
testPersistentDataDir()
|
void |
testPersistentMissingDataDir()
|
void |
testPersistentNoDataDir()
|
void |
testStartAction()
Tests that the start action is correctly picked up. |
void |
testStopAction()
Tests that the stop action is correctly picked up. |
void |
testValidControlPort()
|
void |
testValidPort()
Test that if set the client port is correctly parsed. |
void |
toStringTest()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerOptionsTest()
| Method Detail |
|---|
public void testModeDefault()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testModePersistent()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testPersistentNoDataDir()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testPersistentDataDir()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testPersistentMissingDataDir()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testModeMemory()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testModeIllegal()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testIllegalMemoryMode()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testIllegalControlPort()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testIllegalControlPort2()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testValidControlPort()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testDefaultControlPort()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testIllegalPort()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testIllegalPort2()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - Expected, arguments illegal.
public void testValidPort()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - On error
public void testDefaultPort()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - On error
public void testEqualPortError()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - Expected
public void testStartAction()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - On error
public void testStopAction()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException - On error
public void testIllegalAction()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void testNoAction()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
public void toStringTest()
throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||