You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2005/08/18 21:23:29 UTC

svn commit: r233361 - in /cocoon/trunk/core: pom.xml src/ src/site/ src/site/site.xml src/site/xdoc/

Author: cziegeler
Date: Thu Aug 18 12:23:24 2005
New Revision: 233361

URL: http://svn.apache.org/viewcvs?rev=233361&view=rev
Log:
Start adding tests and reports (not working yet)

Added:
    cocoon/trunk/core/src/
    cocoon/trunk/core/src/site/
    cocoon/trunk/core/src/site/site.xml   (with props)
    cocoon/trunk/core/src/site/xdoc/
Modified:
    cocoon/trunk/core/pom.xml

Modified: cocoon/trunk/core/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/pom.xml?rev=233361&r1=233360&r2=233361&view=diff
==============================================================================
--- cocoon/trunk/core/pom.xml (original)
+++ cocoon/trunk/core/pom.xml Thu Aug 18 12:23:24 2005
@@ -30,6 +30,42 @@
   <build>
     <sourceDirectory>../src/java</sourceDirectory>
     <testSourceDirectory>../src/test</testSourceDirectory>
+    <testResources>
+      <testResource>
+      <directory>../src/test</directory>
+      <includes>
+        <include>**/*.xconf</include>
+        <include>**/*.xml</include>
+      </includes>
+      </testResource>
+    </testResources>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <includes>
+            <include implementation="java.lang.String">**/*TestCase.class</include>
+            <include implementation="java.lang.String">**/*Test.class</include>
+          </includes>
+          <excludes>
+            <exclude implementation="java.lang.String">**/AllTest.class</exclude>
+            <exclude implementation="java.lang.String">**/CocoonBeanTestCase.class</exclude>
+            <exclude implementation="java.lang.String">**/*$$*Test.class</exclude>
+            <exclude implementation="java.lang.String">**/Abstract*.class</exclude>
+            <exclude implementation="java.lang.String">**/SitemapComponentTestCase*</exclude>
+            <exclude implementation="java.lang.String">**/SitemapTestCase*</exclude>
+            <exclude implementation="java.lang.String">**/ContainerTestCase*</exclude>
+            <exclude implementation="java.lang.String">**/CocoonTestCase*</exclude>
+          </excludes>
+          <systemProperties>
+            <property>
+              <name>junit.test.loglevel</name>
+              <value>4</value>
+            </property>
+          </systemProperties>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
   <dependencies>
     <dependency>
@@ -292,4 +328,12 @@
       <layout>legacy</layout>
     </repository>
   </repositories>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
   </project>

Added: cocoon/trunk/core/src/site/site.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/src/site/site.xml?rev=233361&view=auto
==============================================================================
--- cocoon/trunk/core/src/site/site.xml (added)
+++ cocoon/trunk/core/src/site/site.xml Thu Aug 18 12:23:24 2005
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Cocoon">
+  <body>
+    <links>
+      <item name="Apache" href="http://www.apache.org/" />
+      <item name="Cocoon" href="http://cocoon.apache.org/"/>
+    </links>
+
+    ${reports}
+  </body>
+</project>
\ No newline at end of file

Propchange: cocoon/trunk/core/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/core/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Id