Browse Source

Remove explict LDAP dir for integration tests

pull/159/head
Rob Winch 12 years ago
parent
commit
055eb72d60
  1. 6
      config/config.gradle
  2. 2
      ldap/ldap.gradle

6
config/config.gradle

@ -52,8 +52,4 @@ dependencies { @@ -52,8 +52,4 @@ dependencies {
test {
inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
}
integrationTest {
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
}
}

2
ldap/ldap.gradle

@ -33,13 +33,11 @@ integrationTest { @@ -33,13 +33,11 @@ integrationTest {
include('**/ApacheDSServerIntegrationTests.class')
// exclude('**/OpenLDAPIntegrationTestSuite.class')
maxParallelForks = 1
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
}
// Runs a server for running the integration tests against (from an IDE, for example)
task(ldapServer, dependsOn: 'integrationTestClasses', type: JavaExec) {
classpath = sourceSets.integrationTest.runtimeClasspath
main = 'org.springframework.security.ldap.ApacheDSServerIntegrationTests'
systemProperties['apacheDSWorkDir'] = "${buildDir}/apacheDSWork"
}

Loading…
Cancel
Save