[jboss-cvs] JBossAS SVN: r107066 - in projects/jboss-jca/trunk: codegenerator/src/main/resources and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Jul 23 14:09:35 EDT 2010
Author: jesper.pedersen
Date: 2010-07-23 14:09:34 -0400 (Fri, 23 Jul 2010)
New Revision: 107066
Modified:
projects/jboss-jca/trunk/build.xml
projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties
Log:
Enable Cobertura for the common module
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2010-07-23 17:55:12 UTC (rev 107065)
+++ projects/jboss-jca/trunk/build.xml 2010-07-23 18:09:34 UTC (rev 107066)
@@ -515,6 +515,42 @@
</fileset>
</copy>
+ <junit dir="common/src/test"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ fork="yes"
+ timeout="${junit.timeout}">
+
+ <jvmarg line="${junit.jvm.options}"/>
+ <sysproperty key="test.dir" value="${test.dir}"/>
+ <sysproperty key="net.sourceforge.cobertura.datafile" file="${reports.dir}/cobertura/cobertura.ser" />
+ <sysproperty key="xb.builder.useUnorderedSequence" value="true"/>
+ <sysproperty key="javax.xml.stream.XMLInputFactory" value="com.sun.xml.internal.stream.XMLInputFactoryImpl"/>
+ <sysproperty key="java.util.logging.manager" value="org.jboss.logmanager.LogManager"/>
+ <sysproperty key="org.jboss.logging.Logger.pluginClass" value="org.jboss.logging.logmanager.LoggerPluginImpl"/>
+ <sysproperty key="log4j.defaultInitOverride" value="true"/>
+
+ <classpath>
+ <fileset dir="${build.dir}/instrumented" includes="*.jar" />
+ <pathelement location="${build.dir}/common/test"/>
+ <fileset dir="${lib.dir}/common" includes="*.jar" />
+ <fileset dir="${lib.dir}/embedded" includes="*.jar" />
+ <fileset dir="${lib.dir}/jetty" includes="*.jar" />
+ <fileset dir="${lib.dir}/sjc" includes="*.jar" />
+ <fileset dir="${lib.dir}/test" includes="*.jar" />
+ </classpath>
+ <classpath refid="cobertura.lib.path.id" />
+
+ <formatter type="xml"/>
+
+ <batchtest todir="${reports.dir}/cobertura/tests">
+ <fileset dir="${build.dir}/common/test">
+ <include name="**/*TestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+
<junit dir="core/src/test"
printsummary="${junit.printsummary}"
haltonerror="${junit.haltonerror}"
Modified: projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties 2010-07-23 17:55:12 UTC (rev 107065)
+++ projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties 2010-07-23 18:09:34 UTC (rev 107066)
@@ -6,10 +6,10 @@
ra.class.name=Resource adapter class name
mcf.class.name=Managed connection factory class name
mc.class.name=Managed connection class name
-conn.interface.name=Connection interface name
-conn.class.name=Connection implementation name
-cf.interface.name=Connection factory interface name
-cf.class.name=Connection factory class name
+conn.interface.name=Connection interface class name
+conn.class.name=Connection implementation class name
+cf.interface.name=Connection factory interface class name
+cf.class.name=Connection factory implementation class name
ra.config.properties=Resource adapter config properties [enter to quit]:
mcf.config.properties=Managed connection factory config properties [enter to quit]:
config.properties.name=Name:
More information about the jboss-cvs-commits
mailing list