-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pierrejego
committed
Mar 30, 2016
1 parent
e07c2e3
commit d71c101
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
cadastrapp/src/test/java/org/georchestra/cadastrapp/service/ImageParcelleControllerTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* | ||
*/ | ||
package org.georchestra.cadastrapp.service; | ||
|
||
|
||
import javax.ws.rs.core.Response; | ||
|
||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
import org.springframework.test.context.ContextConfiguration; | ||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; | ||
|
||
/** | ||
* @author gfi | ||
* | ||
*/ | ||
//@RunWith(SpringJUnit4ClassRunner.class) | ||
//@ContextConfiguration(locations = { "classpath:test-config.xml" }) | ||
public class ImageParcelleControllerTest { | ||
|
||
|
||
|
||
|
||
/** | ||
* Test method for {@link org.georchestra.cadastrapp.service.ImageParcelleController#createImageBordereauParcellaire(java.lang.String)}. | ||
*/ | ||
// @Test This more an integration test than a unit test | ||
public void testCreateImageBordereauParcellaire() { | ||
// Test realized on integration server with specific data | ||
// If you want to test this, change cadastrapp-test.properties with good value for WMS and WFS serveur information | ||
// and change value of parcelle id | ||
|
||
ImageParcelleController imageParcelleController = new ImageParcelleController(); | ||
|
||
Response response = imageParcelleController.createImageBordereauParcellaire("2014630103000AO0351"); | ||
|
||
|
||
} | ||
|
||
} |