ApacheDS workDir property should be passed to the test process, not set as a system property in the main build process.

This commit is contained in:
Luke Taylor 2010-09-14 14:32:58 +01:00
parent a128e3b4fe
commit 551166a577
3 changed files with 15 additions and 3 deletions

View File

@ -46,10 +46,8 @@ sourceSets.main.compileClasspath += configurations.provided
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
System.setProperty('apacheDSWorkDir', "${buildDir}/apacheDSWork")
test {
jvmArgs = ['-ea', '-Xmx500m']
jvmArgs = ['-ea', '-Xmx500m', "-DapacheDSWorkDir=${buildDir}/apacheDSWork"]
maxParallelForks = guessMaxForks()
testReport = false
}

View File

@ -0,0 +1,7 @@
package org.springframework.security.web.authentication.logout;
/**
* @author Luke Taylor
*/
public class CookieClearingLogoutHandler {
}

View File

@ -0,0 +1,7 @@
package org.springframework.security.web.authentication.logout;
/**
* @author Luke Taylor
*/
public class CookieClearingLogoutHandlerTests {
}