mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 13:03:11 +00:00
taskid 65539 Testing for non source modules: cleanup - added documentation
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user