Author: lektran
Date: Thu May 7 00:54:43 2009
New Revision: 772481
URL:
http://svn.apache.org/viewvc?rev=772481&view=revLog:
Add a template for test definitions to the create-component ant target
Added:
ofbiz/trunk/framework/resources/templates/Tests.xml (with props)
Modified:
ofbiz/trunk/build.xml
ofbiz/trunk/framework/resources/templates/ofbiz-component.xml
Modified: ofbiz/trunk/build.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=772481&r1=772480&r2=772481&view=diff==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Thu May 7 00:54:43 2009
@@ -506,6 +506,9 @@
<copy file="${basedir}/framework/resources/templates/services.xml" tofile="${basedir}/hot-deploy/${component-name}/servicedef/services.xml">
<filterset refid="replacePlaceholders"/>
</copy>
+ <copy file="${basedir}/framework/resources/templates/Tests.xml" tofile="${basedir}/hot-deploy/${component-name}/testdef/${component-resource-name}Tests.xml">
+ <filterset refid="replacePlaceholders"/>
+ </copy>
<copy file="${basedir}/framework/resources/templates/UiLabels.xml" tofile="${basedir}/hot-deploy/${component-name}/config/${component-resource-name}UiLabels.xml">
<filterset refid="replacePlaceholders"/>
</copy>
Added: ofbiz/trunk/framework/resources/templates/Tests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/resources/templates/Tests.xml?rev=772481&view=auto==============================================================================
--- ofbiz/trunk/framework/resources/templates/Tests.xml (added)
+++ ofbiz/trunk/framework/resources/templates/Tests.xml Thu May 7 00:54:43 2009
@@ -0,0 +1,6 @@
+<test-suite suite-name="accountingtests"
+ xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/test-suite.xsd">
+
+
+</test-suite>
Propchange: ofbiz/trunk/framework/resources/templates/Tests.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/resources/templates/Tests.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/framework/resources/templates/Tests.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: ofbiz/trunk/framework/resources/templates/ofbiz-component.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/resources/templates/ofbiz-component.xml?rev=772481&r1=772480&r2=772481&view=diff==============================================================================
--- ofbiz/trunk/framework/resources/templates/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/resources/templates/ofbiz-component.xml Thu May 7 00:54:43 2009
@@ -26,7 +26,7 @@
<service-resource type="group" loader="main" location="servicedef/groups.xml"/>
-->
- <test-suite loader="main" location="testdef/tests.xml"/>
+ <test-suite loader="main" location="testdef/@
[hidden email]"/>
<!-- web applications; will be mounted when using the embedded container -->
<webapp name="@webapp-name@"