You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2012/08/28 12:21:44 UTC
svn commit: r1378059 - in
/directory/apacheds/branches/apacheds-txns/interceptors/authn: pom.xml
src/test/java/org/apache/directory/server/core/authn/LdapPrincipalIT.java
src/test/java/org/apache/directory/server/core/authn/LdapPrincipalTest.java
Author: akarasulu
Date: Tue Aug 28 10:21:44 2012
New Revision: 1378059
URL: http://svn.apache.org/viewvc?rev=1378059&view=rev
Log:
making long running integration tests require the use of the -Dintegration switch
Added:
directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalIT.java
- copied, changed from r1377773, directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalTest.java
Removed:
directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalTest.java
Modified:
directory/apacheds/branches/apacheds-txns/interceptors/authn/pom.xml
Modified: directory/apacheds/branches/apacheds-txns/interceptors/authn/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/interceptors/authn/pom.xml?rev=1378059&r1=1378058&r2=1378059&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/interceptors/authn/pom.xml (original)
+++ directory/apacheds/branches/apacheds-txns/interceptors/authn/pom.xml Tue Aug 28 10:21:44 2012
@@ -167,5 +167,141 @@
</resource>
</resources>
</build>
+
+ <profiles>
+ <profile>
+ <id>integration</id>
+ <activation>
+ <property><name>integration</name></property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*IT.java</include>
+ <include>**/*Test.java</include>
+ </includes>
+ <excludes>
+ <exclude>**/*PerfIT.java</exclude>
+ <exclude>**/*PerfTest.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.directory.shared</groupId>
+ <artifactId>shared-ldap-extras-codec</artifactId>
+ <version>${org.apache.directory.shared.version}</version>
+ <outputDirectory>${codec.plugin.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>quicktest</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/*PerfIT.java</exclude>
+ <exclude>**/*PerfTest.java</exclude>
+ <exclude>**/*ITest.java</exclude>
+ <exclude>**/*IT.java</exclude>
+ </excludes>
+ <systemPropertyVariables>
+ <apacheds.partition.factory>org.apache.directory.server.core.factory.LdifPartitionFactory</apacheds.partition.factory>
+ <felix.cache.rootdir>
+ ${project.build.directory}
+ </felix.cache.rootdir>
+ <felix.cache.locking>
+ false
+ </felix.cache.locking>
+ <org.osgi.framework.storage.clean>
+ onFirstInit
+ </org.osgi.framework.storage.clean>
+ <org.osgi.framework.storage>
+ ${project.build.directory}/osgi-cache
+ </org.osgi.framework.storage>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <configuration>
+ <tasks>
+ <echo>
+=================================================================
+ Q U I C K T E S T S
+ ---------------------
+
+WARNING: Long running integration tests have been disabled!
+=================================================================
+ </echo>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>process-test-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.directory.shared</groupId>
+ <artifactId>shared-ldap-extras-codec</artifactId>
+ <version>${org.apache.directory.shared.version}</version>
+ <outputDirectory>${codec.plugin.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
Copied: directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalIT.java (from r1377773, directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalTest.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalIT.java?p2=directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalIT.java&p1=directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalTest.java&r1=1377773&r2=1378059&rev=1378059&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalTest.java (original)
+++ directory/apacheds/branches/apacheds-txns/interceptors/authn/src/test/java/org/apache/directory/server/core/authn/LdapPrincipalIT.java Tue Aug 28 10:21:44 2012
@@ -48,7 +48,7 @@ import com.mycila.junit.concurrent.Concu
*/
@RunWith(ConcurrentJunitRunner.class)
@Concurrency()
-public class LdapPrincipalTest
+public class LdapPrincipalIT
{
/** The schema manager instance */
private static SchemaManager schemaManager;