use of com.sldeditor.datasource.extension.filesystem.node.geoserver.GeoServerOverallNode in project sldeditor by robward-scisys.
the class GeoServerReadProgressTest method testDisconnect.
/**
* Test method for
* {@link com.sldeditor.extension.filesystem.geoserver.GeoServerReadProgress#disconnect(com.sldeditor.common.data.GeoServerConnection)}.
*/
@Test
public void testDisconnect() {
GeoServerReadProgress progress = new GeoServerReadProgress(null, null);
GeoServerOverallNode geoServerRootNode = new GeoServerOverallNode(null);
GeoServerConnection connection = new GeoServerConnection();
connection.setConnectionName("test connection 1");
GeoServerNode node = new GeoServerNode(null, connection);
geoServerRootNode.add(node);
progress.addNewConnectionNode(connection, node);
progress.disconnect(null);
progress.disconnect(connection);
}
Aggregations