Author: ataylor
Date: 2011-04-12 06:26:34 -0400 (Tue, 12 Apr 2011)
New Revision: 10483
Added:
trunk/tests/performance-tests/
trunk/tests/performance-tests/pom.xml
trunk/tests/performance-tests/src/
trunk/tests/performance-tests/src/test/
trunk/tests/performance-tests/src/test/java/
trunk/tests/performance-tests/src/test/java/org/
trunk/tests/performance-tests/src/test/java/org/hornetq/
trunk/tests/performance-tests/src/test/java/org/hornetq/tests/
trunk/tests/performance-tests/src/test/java/org/hornetq/tests/performance/
Removed:
trunk/tests/src/org/hornetq/tests/performance/
Modified:
trunk/tests/hornetq-tests.iml
trunk/tests/performance-tests/src/test/java/org/hornetq/tests/performance/paging/MeasurePagingMultiThreadTest.java
trunk/tests/pom.xml
Log:
mavenised performance tests
Modified: trunk/tests/hornetq-tests.iml
===================================================================
--- trunk/tests/hornetq-tests.iml 2011-04-12 10:20:46 UTC (rev 10482)
+++ trunk/tests/hornetq-tests.iml 2011-04-12 10:26:34 UTC (rev 10483)
@@ -12,6 +12,7 @@
<sourceFolder url="file://$MODULE_DIR$/stress-tests/src/test/java"
isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/timing-tests/src/test/java"
isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/concurrent-tests/src/test/java"
isTestSource="true" />
+ <sourceFolder
url="file://$MODULE_DIR$/performance-tests/src/test/java"
isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/jms-tests" />
<excludeFolder url="file://$MODULE_DIR$/joram-tests" />
<excludeFolder url="file://$MODULE_DIR$/logs" />
Copied: trunk/tests/performance-tests/pom.xml (from rev 10480,
trunk/tests/stress-tests/pom.xml)
===================================================================
--- trunk/tests/performance-tests/pom.xml (rev 0)
+++ trunk/tests/performance-tests/pom.xml 2011-04-12 10:26:34 UTC (rev 10483)
@@ -0,0 +1,140 @@
+<!--
+ ~ Copyright 2009 Red Hat, Inc.
+ ~ Red Hat licenses this file to you under the Apache License, version
+ ~ 2.0 (the "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
http://www.apache.org/licenses/LICENSE-2.0
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ ~ implied. See the License for the specific language governing
+ ~ permissions and limitations under the License.
+ -->
+
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.hornetq.tests</groupId>
+ <artifactId>hornetq-tests-pom</artifactId>
+ <version>2.2.3-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.hornetq.tests</groupId>
+ <artifactId>performance-tests</artifactId>
+ <packaging>jar</packaging>
+ <name>HornetQ performance Tests</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.hornetq.tests</groupId>
+ <artifactId>unit-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hornetq.tests</groupId>
+ <artifactId>integration-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hornetq.tests</groupId>
+ <artifactId>jms-tests</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hornetq</groupId>
+ <artifactId>hornetq-jms</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hornetq</groupId>
+ <artifactId>hornetq-ra</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hornetq</groupId>
+ <artifactId>hornetq-bootstrap</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jca-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.security</groupId>
+ <artifactId>jboss-security-spi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.security</groupId>
+ <artifactId>jbosssx</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.naming</groupId>
+ <artifactId>jnpserver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss.jbossts</groupId>
+ <artifactId>jbossts-common</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>apache-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-transaction-api</artifactId>
+ </dependency>
+ <!--this specifically for the JMS Bridge-->
+ <dependency>
+ <groupId>org.jboss.integration</groupId>
+ <artifactId>jboss-transaction-spi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jaspi-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jms-api</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <testResources>
+ <testResource>
+ <directory>config</directory>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*Test.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Modified:
trunk/tests/performance-tests/src/test/java/org/hornetq/tests/performance/paging/MeasurePagingMultiThreadTest.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/performance/paging/MeasurePagingMultiThreadTest.java 2011-04-11
12:47:21 UTC (rev 10475)
+++
trunk/tests/performance-tests/src/test/java/org/hornetq/tests/performance/paging/MeasurePagingMultiThreadTest.java 2011-04-12
10:26:34 UTC (rev 10483)
@@ -22,7 +22,7 @@
import org.hornetq.core.config.Configuration;
import org.hornetq.core.server.HornetQServer;
import org.hornetq.core.settings.impl.AddressSettings;
-import org.hornetq.tests.unit.util.ServiceTestBase;
+import org.hornetq.tests.util.ServiceTestBase;
/**
* A MeasurePagingMultiThreadTest
Modified: trunk/tests/pom.xml
===================================================================
--- trunk/tests/pom.xml 2011-04-12 10:20:46 UTC (rev 10482)
+++ trunk/tests/pom.xml 2011-04-12 10:26:34 UTC (rev 10483)
@@ -32,5 +32,6 @@
<module>stress-tests</module>
<module>timing-tests</module>
<module>concurrent-tests</module>
+ <module>performance-tests</module>
</modules>
</project>