public class VizConnectionManagerTester
extends java.lang.Object
VizConnectionManager
.Constructor and Description |
---|
VizConnectionManagerTester() |
Modifier and Type | Method and Description |
---|---|
void |
beforeEachTest()
Initializes the viz connection manager that is tested as well as any
other class variables frequently used to test the connection.
|
void |
checkAddConnection()
Checks that connections can be added successfully by a property change
event.
|
void |
checkDefaults()
Checks the default connections (empty).
|
void |
checkGetConnectionsForHostExceptions()
Checks that calling
VizConnectionManager.getConnectionsForHost(String) throws
exceptions when certain invalid input is provided. |
void |
checkRemoveConnection()
Checks that connections can be removed successfully by a property change
event.
|
void |
checkSetPreferenceStore()
Checks that the preference store can be set and loaded.
|
void |
checkSetPreferenceStoreExceptions()
Checks that the proper exceptions are thrown when the preference store is
set with invalid values.
|
void |
checkUpdateConnection()
Checks that connections can be updated successfully by a property change
event.
|
public void beforeEachTest()
public void checkDefaults()
public void checkGetConnectionsForHostExceptions()
VizConnectionManager.getConnectionsForHost(String)
throws
exceptions when certain invalid input is provided.public void checkAddConnection()
public void checkRemoveConnection()
public void checkUpdateConnection()
public void checkSetPreferenceStore()
public void checkSetPreferenceStoreExceptions()