incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1231775 - in /incubator/lcf/trunk/tests: activedirectory/ activedirectory/build.xml alfresco/ alfresco/build.xml cmis/ cmis/build.xml test-build.xml
Date Sun, 15 Jan 2012 22:20:16 GMT
Author: kwright
Date: Sun Jan 15 22:20:15 2012
New Revision: 1231775

URL: http://svn.apache.org/viewvc?rev=1231775&view=rev
Log:
Add general test invocations.  Part of CONNECTORS-384.

Modified:
    incubator/lcf/trunk/tests/activedirectory/   (props changed)
    incubator/lcf/trunk/tests/activedirectory/build.xml
    incubator/lcf/trunk/tests/alfresco/   (props changed)
    incubator/lcf/trunk/tests/alfresco/build.xml
    incubator/lcf/trunk/tests/cmis/   (props changed)
    incubator/lcf/trunk/tests/cmis/build.xml
    incubator/lcf/trunk/tests/test-build.xml

Propchange: incubator/lcf/trunk/tests/activedirectory/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Jan 15 22:20:15 2012
@@ -0,0 +1,7 @@
+target
+build
+test-derby-output
+test-HSQLDB-output
+test-HSQLDBext-output
+test-postgresql-output
+test-mysql-output

Modified: incubator/lcf/trunk/tests/activedirectory/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/activedirectory/build.xml?rev=1231775&r1=1231774&r2=1231775&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/activedirectory/build.xml (original)
+++ incubator/lcf/trunk/tests/activedirectory/build.xml Sun Jan 15 22:20:15 2012
@@ -19,22 +19,4 @@
 
     <import file="../test-build.xml"/>
     
-    <target name="run-UI-derby" depends="mcf-test-build.run-UI-derby">
-        <mkdir dir="test-derby-output"/>
-        <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
-            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
-            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
-            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
-            <classpath>
-                <path refid="test-classpath"/>
-                <pathelement location="build/test/classes"/>
-            </classpath>
-            <formatter type="brief" usefile="false"/>
-
-            <test name="org.apache.manifoldcf.activedirectory_tests.NavigationDerbyUI"
todir="test-derby-output"/>
-            <!-- MHL -->
-        </junit>
-    </target>
-
-
 </project>

Propchange: incubator/lcf/trunk/tests/alfresco/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Jan 15 22:20:15 2012
@@ -1 +1,7 @@
 target
+build
+test-derby-output
+test-HSQLDB-output
+test-HSQLDBext-output
+test-postgresql-output
+test-mysql-output

Modified: incubator/lcf/trunk/tests/alfresco/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/alfresco/build.xml?rev=1231775&r1=1231774&r2=1231775&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/alfresco/build.xml (original)
+++ incubator/lcf/trunk/tests/alfresco/build.xml Sun Jan 15 22:20:15 2012
@@ -19,7 +19,7 @@
 
     <import file="../ino-test-build.xml"/>
     
-    <target name="run-derby" depends="mcf-ino-test-build.run-derby">
+    <target name="run-derby" depends="compile-tests">
         <mkdir dir="test-derby-output"/>
         <junit fork="true" dir="test-derby-output" outputtoformatters="true" showoutput="true"
haltonfailure="true">
             <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>

Propchange: incubator/lcf/trunk/tests/cmis/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Jan 15 22:20:15 2012
@@ -1,3 +1,8 @@
-manifoldcf.log
-derby.log
 target
+build
+test-derby-output
+test-HSQLDB-output
+test-HSQLDBext-output
+test-postgresql-output
+test-mysql-output
+

Modified: incubator/lcf/trunk/tests/cmis/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/cmis/build.xml?rev=1231775&r1=1231774&r2=1231775&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/cmis/build.xml (original)
+++ incubator/lcf/trunk/tests/cmis/build.xml Sun Jan 15 22:20:15 2012
@@ -19,7 +19,7 @@
 
     <import file="../ino-test-build.xml"/>
     
-    <target name="run-derby" depends="mcf-ino-test-build.run-derby">
+    <target name="run-derby" depends="compile-tests">
         <mkdir dir="test-derby-output"/>
         <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
             <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
@@ -37,7 +37,7 @@
         </junit>
     </target>
 
-    <target name="run-UI-derby" depends="mcf-ino-test-build.run-UI-derby">
+    <target name="run-UI-derby" depends="compile-tests">
         <mkdir dir="test-derby-output"/>
         <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
             <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>

Modified: incubator/lcf/trunk/tests/test-build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/test-build.xml?rev=1231775&r1=1231774&r2=1231775&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/test-build.xml (original)
+++ incubator/lcf/trunk/tests/test-build.xml Sun Jan 15 22:20:15 2012
@@ -70,23 +70,290 @@
         </javac>
     </target>
 
-    <target name="run-derby" depends="compile-tests"/>
-    <target name="run-postgresql" depends="compile-tests"/>
-    <target name="run-HSQLDB" depends="compile-tests"/>
-    <target name="run-HSQLDBext" depends="compile-tests"/>
-    <target name="run-mysql" depends="compile-tests"/>
-    
-    <target name="run-load-derby" depends="compile-tests"/>
-    <target name="run-load-postgresql" depends="compile-tests"/>
-    <target name="run-load-HSQLDB" depends="compile-tests"/>
-    <target name="run-load-HSQLDBext" depends="compile-tests"/>
-    <target name="run-load-mysql" depends="compile-tests"/>
-    
-    <target name="run-UI-derby" depends="compile-tests"/>
-    <target name="run-UI-postgresql" depends="compile-tests"/>
-    <target name="run-UI-HSQLDB" depends="compile-tests"/>
-    <target name="run-UI-HSQLDBext" depends="compile-tests"/>
-    <target name="run-UI-mysql" depends="compile-tests"/>
+    <target name="run-derby" depends="compile-tests">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-derby-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*DerbyIT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-postgresql" depends="compile-tests">
+        <mkdir dir="test-postgresql-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-postgresql-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-postgresql-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*PostgresqlIT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-HSQLDB" depends="compile-tests">
+        <mkdir dir="test-HSQLDB-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-HSQLDB-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-HSQLDB-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*HSQLDBIT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-HSQLDBext" depends="compile-tests">
+        <mkdir dir="test-HSQLDBext-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-HSQLDBext-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-HSQLDBext-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*HSQLDBextIT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-mysql" depends="compile-tests">
+        <mkdir dir="test-mysql-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-mysql-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-mysql-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*MySQLIT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-load-derby" depends="compile-tests">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" maxmemory="384m" dir="test-derby-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-derby-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*DerbyLT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-load-postgresql" depends="compile-tests">
+        <mkdir dir="test-postgresql-output"/>
+        <junit fork="true" maxmemory="384m" dir="test-postgresql-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-postgresql-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*PostgresqlLT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-load-HSQLDB" depends="compile-tests">
+        <mkdir dir="test-HSQLDB-output"/>
+        <junit fork="true" maxmemory="384m" dir="test-HSQLDB-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-HSQLDB-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*HSQLDBLT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-load-HSQLDBext" depends="compile-tests">
+        <mkdir dir="test-HSQLDBext-output"/>
+        <junit fork="true" maxmemory="384m" dir="test-HSQLDBext-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-HSQLDBext-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*HSQLDBextLT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-load-mysql" depends="compile-tests">
+        <mkdir dir="test-mysql-output"/>
+        <junit fork="true" maxmemory="384m" dir="test-mysql-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-mysql-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*MySQLLT.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-UI-derby" depends="compile-tests">
+        <mkdir dir="test-derby-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-derby-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-derby-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*DerbyUI.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-UI-postgresql" depends="compile-tests">
+        <mkdir dir="test-postgresql-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-postgresql-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-postgresql-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*PostgresqlUI.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+
+    <target name="run-UI-HSQLDB" depends="compile-tests">
+        <mkdir dir="test-HSQLDB-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-HSQLDB-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-HSQLDB-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*HSQLDBUI.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-UI-HSQLDBext" depends="compile-tests">
+        <mkdir dir="test-HSQLDBext-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-HSQLDBext-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-HSQLDBext-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*HSQLDBextUI.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
+    
+    <target name="run-UI-mysql" depends="compile-tests">
+        <mkdir dir="test-mysql-output"/>
+        <junit fork="true" maxmemory="128m" dir="test-mysql-output" outputtoformatters="true"
showoutput="true" haltonfailure="true">
+            <jvmarg value="-DcrawlerWarPath=../../../framework/build/war/mcf-crawler-ui.war"/>
+            <jvmarg value="-DauthorityserviceWarPath=../../../framework/build/war/mcf-authority-service.war"/>
+            <jvmarg value="-DapiWarPath=../../../framework/build/war/mcf-api-service.war"/>
+            <classpath>
+                <path refid="test-classpath"/>
+                <pathelement location="build/test/classes"/>
+            </classpath>
+            <formatter type="brief" usefile="false"/>
+            <batchtest todir="test-mysql-output">
+                <fileset dir="build/test/classes">
+                    <include name="**/*MySQLUI.class"/>
+                </fileset>
+            </batchtest>
+        </junit>
+    </target>
     
     <target name="all"/>
     



Mime
View raw message