taskid 65539 Testing for non source modules: cleanup - added documentation

This commit is contained in:
Samuel
2019-10-15 18:46:08 +02:00
parent 661d9c41c9
commit aa3100583f
5 changed files with 14 additions and 6 deletions

View File

@@ -10,6 +10,10 @@ package org.dspace.app.rest.example;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* This Controller serves as an example of how & where to add local customizations to the DSpace REST API.
* See {@link ExampleControllerIT} for the integration tests for this controller.
*/
@RestController
@RequestMapping("example")
public class ExampleController {

View File

@@ -14,6 +14,10 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
import org.dspace.app.rest.test.AbstractControllerIntegrationTest;
import org.junit.Test;
/**
* This IT serves as an example of how & where to add integration tests for local customizations to the DSpace REST API.
* See {@link ExampleController} for the Controller of which the functionality is tested.
*/
public class ExampleControllerIT extends AbstractControllerIntegrationTest {
@Test