Skip to content

Commit 0e6edf1

Browse files
authored
Merge pull request #18729 from eugenp/move-spring-testing-article
move spring testing article
2 parents 9ac01eb + e242bde commit 0e6edf1

File tree

5 files changed

+1
-8
lines changed

5 files changed

+1
-8
lines changed

testing-modules/spring-testing-2/src/main/java/com/baeldung/config/WebConfig.java renamed to testing-modules/spring-testing-3/src/main/java/com/baeldung/controller/parameterized/WebConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.baeldung.config;
1+
package com.baeldung.controller.parameterized;
22

33
import javax.servlet.ServletContext;
44

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.baeldung.controller.parameterized;
22

3-
import com.baeldung.config.WebConfig;
43
import org.junit.Before;
54
import org.junit.Test;
65
import org.junit.runner.RunWith;
@@ -10,7 +9,6 @@
109
import org.springframework.test.context.web.WebAppConfiguration;
1110
import org.springframework.test.web.servlet.MockMvc;
1211
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
13-
import org.springframework.test.web.servlet.result.MockMvcResultHandlers;
1412
import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
1513
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
1614
import org.springframework.web.context.WebApplicationContext;
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
2525
import org.springframework.web.context.WebApplicationContext;
2626

27-
import com.baeldung.config.WebConfig;
28-
2927
@RunWith(Parameterized.class)
3028
@WebAppConfiguration
3129
@ContextConfiguration(classes = WebConfig.class)
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.baeldung.controller.parameterized;
22

3-
import com.baeldung.config.WebConfig;
43
import org.junit.Before;
54
import org.junit.Test;
65
import org.junit.runner.RunWith;
@@ -21,8 +20,6 @@
2120
import java.util.ArrayList;
2221
import java.util.Collection;
2322

24-
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
25-
2623
@RunWith(Parameterized.class)
2724
@WebAppConfiguration
2825
@ContextConfiguration(classes = WebConfig.class)

0 commit comments

Comments
 (0)