Bläddra i källkod

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

Luke Taylor 15 år sedan
förälder
incheckning
551166a577

+ 1 - 3
gradle/javaprojects.gradle

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

+ 7 - 0
web/src/main/java/org/springframework/security/web/authentication/logout/CookieClearingLogoutHandler.java

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

+ 7 - 0
web/src/test/java/org/springframework/security/web/authentication/logout/CookieClearingLogoutHandlerTests.java

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