Revision 22616 branches/v10/extensions/extPublishGeoserver/src-test/org/gvsig/publish/geoserver/conf/GSConfigurationTest.java
GSConfigurationTest.java | ||
---|---|---|
46 | 46 |
|
47 | 47 |
import junit.framework.TestCase; |
48 | 48 |
|
49 |
import org.gvsig.publish.exceptions.LayerInfoNotAvailableException; |
|
50 | 49 |
import org.gvsig.publish.exceptions.PublishException; |
51 | 50 |
import org.gvsig.publish.geoserver.model.Geoserver; |
52 | 51 |
import org.gvsig.publish.geoserver.model.GeoserverWFSService; |
... | ... | |
81 | 80 |
* Writes global configuration |
82 | 81 |
* @throws LayerInfoNotAvailableException |
83 | 82 |
*/ |
84 |
public void test_generateGlobalConfiguration() throws LayerInfoNotAvailableException{
|
|
83 |
public void test_generateGlobalConfiguration() { |
|
85 | 84 |
GSConfiguration conf = new GSConfiguration(geoserver); |
86 | 85 |
conf.toXML(); |
87 | 86 |
} |
... | ... | |
89 | 88 |
* Writes wfs configuration |
90 | 89 |
* @throws LayerInfoNotAvailableException |
91 | 90 |
*/ |
92 |
public void test_generateWFSConfiguration() throws LayerInfoNotAvailableException{
|
|
91 |
public void test_generateWFSConfiguration() { |
|
93 | 92 |
GSConfiguration conf = new GSConfiguration(geoserver); |
94 | 93 |
conf.getGlobals().setWFSService(geoserverwfs); |
95 | 94 |
conf.toXML(); |
Also available in: Unified diff