You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2010/08/03 15:30:08 UTC

svn commit: r981866 - in /jackrabbit/trunk/jackrabbit-core/src/test/performance: ./ base/ base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java jackrabbit10/ parent/ parent/pom.xml pom.xml

Author: jukka
Date: Tue Aug  3 13:30:08 2010
New Revision: 981866

URL: http://svn.apache.org/viewvc?rev=981866&view=rev
Log:
JCR-2695: Jackrabbit performance test suite

Basic test suite structure. Work in progress...

Added:
    jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/   (with props)
    jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/pom.xml   (with props)
Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/performance/   (props changed)
    jackrabbit/trunk/jackrabbit-core/src/test/performance/base/   (props changed)
    jackrabbit/trunk/jackrabbit-core/src/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/performance/jackrabbit10/   (props changed)
    jackrabbit/trunk/jackrabbit-core/src/test/performance/pom.xml

Propchange: jackrabbit/trunk/jackrabbit-core/src/test/performance/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Aug  3 13:30:08 2010
@@ -0,0 +1,5 @@
+target
+.*
+*.iml
+*.ipr
+*.iws

Propchange: jackrabbit/trunk/jackrabbit-core/src/test/performance/base/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Aug  3 13:30:08 2010
@@ -0,0 +1,5 @@
+target
+.*
+*.iml
+*.ipr
+*.iws

Modified: jackrabbit/trunk/jackrabbit-core/src/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java?rev=981866&r1=981865&r2=981866&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/performance/base/src/main/java/org/apache/jackrabbit/performance/AbstractPerformanceTest.java Tue Aug  3 13:30:08 2010
@@ -96,7 +96,7 @@ public abstract class AbstractPerformanc
                 Session session = repository.login(
                         new SimpleCredentials("admin", "admin".toCharArray()));
                 try {
-                    createTestData(session);
+                    // createTestData(session);
                 } finally {
                     session.logout();
                 }

Propchange: jackrabbit/trunk/jackrabbit-core/src/test/performance/jackrabbit10/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Aug  3 13:30:08 2010
@@ -0,0 +1,5 @@
+target
+.*
+*.iml
+*.ipr
+*.iws

Propchange: jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Aug  3 13:30:08 2010
@@ -0,0 +1,5 @@
+target
+.*
+*.iml
+*.ipr
+*.iws

Added: jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/pom.xml?rev=981866&view=auto
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/pom.xml (added)
+++ jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/pom.xml Tue Aug  3 13:30:08 2010
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF 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>
+
+  <!-- =================================================================== -->
+  <!-- P R O J E C T  D E S C R I P T I O N                                -->
+  <!-- =================================================================== -->
+
+  <parent>
+    <groupId>org.apache.jackrabbit</groupId>
+    <artifactId>parent</artifactId>
+    <version>5</version>
+  </parent>
+
+  <artifactId>jackrabbit-perf-parent</artifactId>
+  <name>Jackrabbit Performance Test Parent</name>
+  <version>SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <systemProperties>
+              <property>
+                <name>derby.stream.error.file</name>
+                <value>target/derby.log</value>
+              </property>
+            </systemProperties>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+</project>

Propchange: jackrabbit/trunk/jackrabbit-core/src/test/performance/parent/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: jackrabbit/trunk/jackrabbit-core/src/test/performance/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/performance/pom.xml?rev=981866&r1=981865&r2=981866&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/performance/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/performance/pom.xml Tue Aug  3 13:30:08 2010
@@ -41,7 +41,7 @@
   <modules>
     <module>parent</module>
     <module>base</module>
-    <module>jackrabbit21</module>
+    <module>jackrabbit10</module>
   </modules>
 
 </project>