spring-test-slices: Spring Boot 4.1.2 test slices lab (@WebMvcTest, @JsonTest, @RestClientTest, @DataJpaTest vs @SpringBootTest)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7Jbw5CxUQ13D7gn25
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
javac against the Boot 4.1.2 test classpath, sources from src/broken/
|
||||
|
||||
OldDataJpaTest.java:3: error: package org.springframework.boot.test.autoconfigure.orm.jpa does not exist
|
||||
OldDataJpaTest.java:4: error: package org.springframework.boot.test.autoconfigure.orm.jpa does not exist
|
||||
OldDataJpaTest.java:7: error: cannot find symbol
|
||||
symbol: class DataJpaTest
|
||||
OldDataJpaTest.java:9: error: cannot find symbol
|
||||
symbol: class TestEntityManager
|
||||
location: class lab.slices.OldDataJpaTest
|
||||
OldRestClientTest.java:3: error: package org.springframework.boot.test.autoconfigure.web.client does not exist
|
||||
OldRestClientTest.java:6: error: cannot find symbol
|
||||
symbol: class RestClientTest
|
||||
OldWebMvcTest.java:3: error: package org.springframework.boot.test.autoconfigure.web.servlet does not exist
|
||||
OldWebMvcTest.java:4: error: package org.springframework.boot.test.mock.mockito does not exist
|
||||
OldWebMvcTest.java:7: error: cannot find symbol
|
||||
symbol: class WebMvcTest
|
||||
OldWebMvcTest.java:9: error: cannot find symbol
|
||||
symbol: class MockBean
|
||||
location: class lab.slices.OldWebMvcTest
|
||||
|
||||
10 errors
|
||||
Reference in New Issue
Block a user