mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-08-15 05:53:32 +00:00
Previously itest/web used Servlet 2.5 which Spring 5 is not compatabile with. This commit removes unnecessary tests (ones that were already covered) and converts the remaining tests to MockMvc using the provided servlet version. Issue gh-4080
25 lines
672 B
Groovy
25 lines
672 B
Groovy
|
|
dependencies {
|
|
compile "org.springframework:spring-context:$springVersion",
|
|
"org.springframework:spring-web:$springVersion"
|
|
|
|
provided "javax.servlet:javax.servlet-api:$servletApiVersion"
|
|
|
|
testCompile project(':spring-security-core'),
|
|
project(':spring-security-web'),
|
|
project(':spring-security-test'),
|
|
"org.springframework:spring-beans:$springVersion",
|
|
"org.springframework:spring-webmvc:$springVersion",
|
|
"org.springframework:spring-test:$springVersion"
|
|
|
|
testRuntime project(':spring-security-config'),
|
|
project(':spring-security-ldap')
|
|
}
|
|
|
|
integrationTest {
|
|
options {
|
|
jvmArgs = ["-ea", '-Xms128m', '-Xmx500m']
|
|
}
|
|
maxParallelForks = 1
|
|
}
|