Commit 98203189 authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Hides the intermediate targets needed for testing with JDBCTransaction.

parent 391e93b6
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</antcall> </antcall>
</target> </target>
<target name="tests.jdbc.base"> <target name="___tests.jdbc.base" description="Do not use directly">
<ant dir="." antfile="build.xml" target="test1.base"/> <ant dir="." antfile="build.xml" target="test1.base"/>
<ant dir="." antfile="build.xml" target="test2.base"/> <ant dir="." antfile="build.xml" target="test2.base"/>
<ant dir="." antfile="build.xml" target="test3.base"/> <ant dir="." antfile="build.xml" target="test3.base"/>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
<ant dir="." antfile="build.xml" target="test22.base"/> <ant dir="." antfile="build.xml" target="test22.base"/>
</target> </target>
<target name="tests.jdbc.recovery"> <target name="___tests.jdbc.recovery" description="Do not use directly">
<ant dir="." antfile="build.xml" target="test1.recovery"/> <ant dir="." antfile="build.xml" target="test1.recovery"/>
<ant dir="." antfile="build.xml" target="test2.recovery"/> <ant dir="." antfile="build.xml" target="test2.recovery"/>
<ant dir="." antfile="build.xml" target="test3.recovery"/> <ant dir="." antfile="build.xml" target="test3.recovery"/>
...@@ -158,17 +158,16 @@ ...@@ -158,17 +158,16 @@
<ant dir="." antfile="build.xml" target="test11.recovery"/> <ant dir="." antfile="build.xml" target="test11.recovery"/>
</target> </target>
<target name="tests.jdbc" <target name="___tests.jdbc" description="Do not use directly">
description=" --> launch all DBTransaction tests">
<!-- <!--
<ant dir="." antfile="build.xml" target="tests.jdbc.base"/> <ant dir="." antfile="build.xml" target="___tests.jdbc.base"/>
--> -->
<ant dir="." antfile="build.xml" target="tests.jdbc.recovery"/> <ant dir="." antfile="build.xml" target="___tests.jdbc.recovery"/>
</target> </target>
<target name="tests.jdbctransaction" <target name="tests.jdbctransaction"
description=" --> launch tests with JDBCTransaction"> description=" --> launch tests with JDBCTransaction">
<antcall target="tests.jdbc"> <antcall target="___tests.jdbc">
<param name="transaction" value="fr.dyade.aaa.ext.JDBCTransaction"/> <param name="transaction" value="fr.dyade.aaa.ext.JDBCTransaction"/>
<!-- param name="dbargs" value="-Dorg.ow2.joram.jdbc.transaction.driver=org.apache.derby.jdbc.EmbeddedDriver -Dorg.ow2.joram.jdbc.transaction.url=jdbc:derby:MyJoramDB;create=true -Dorg.ow2.joram.dbtransaction.dbtable=MyTable -Dorg.ow2.joram.jdbc.transaction.dbname=MyJoramDB -Dorg.ow2.joram.jdbc.transaction.user=user1 -Dorg.ow2.joram.jdbc.transaction.password=pass1 -Dorg.ow2.joram.jdbc.transaction.dbinit=CREATE TABLE MyTable (name VARCHAR(256), content BLOB(16M), PRIMARY KEY(name))"/ --> <!-- param name="dbargs" value="-Dorg.ow2.joram.jdbc.transaction.driver=org.apache.derby.jdbc.EmbeddedDriver -Dorg.ow2.joram.jdbc.transaction.url=jdbc:derby:MyJoramDB;create=true -Dorg.ow2.joram.dbtransaction.dbtable=MyTable -Dorg.ow2.joram.jdbc.transaction.dbname=MyJoramDB -Dorg.ow2.joram.jdbc.transaction.user=user1 -Dorg.ow2.joram.jdbc.transaction.password=pass1 -Dorg.ow2.joram.jdbc.transaction.dbinit=CREATE TABLE MyTable (name VARCHAR(256), content BLOB(16M), PRIMARY KEY(name))"/ -->
<param name="a3props" value="a3jdbc.props"/> <param name="a3props" value="a3jdbc.props"/>
......
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
<target name="tests.jdbctransaction" <target name="tests.jdbctransaction"
description=" --> launch all tests with JDBCTransaction"> description=" --> launch all tests with JDBCTransaction">
<antcall target="tests.recovery.jdbc"> <antcall target="___tests.recovery.jdbc">
<param name="transaction" value="fr.dyade.aaa.ext.JDBCTransaction"/> <param name="transaction" value="fr.dyade.aaa.ext.JDBCTransaction"/>
<param name="a3props" value="a3jdbc.props"/> <param name="a3props" value="a3jdbc.props"/>
</antcall> </antcall>
...@@ -316,11 +316,9 @@ ...@@ -316,11 +316,9 @@
<antcall target="recovery.test10"/> <antcall target="recovery.test10"/>
</target> </target>
<target name="tests.recovery.jdbc" <target name="___tests.recovery.jdbc"
description=" --> launch all recovery tests with JDBCTransaction"> description=" --> launch all recovery tests with JDBCTransaction">
<antcall target="recovery.test1"/> <antcall target="recovery.test1"/>
<!--
-->
<antcall target="recovery.test2"/> <antcall target="recovery.test2"/>
<antcall target="recovery.test3"/> <antcall target="recovery.test3"/>
<antcall target="recovery.test4"/> <antcall target="recovery.test4"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment