ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sean...@apache.org
Subject svn commit: r781543 - in /ode/trunk: axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HLargeData.java
Date Wed, 03 Jun 2009 20:56:34 GMT
Author: seanahn
Date: Wed Jun  3 20:56:34 2009
New Revision: 781543

URL: http://svn.apache.org/viewvc?rev=781543&view=rev
Log:
enabled CleanSuccess*Test

Modified:
    ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
    ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HLargeData.java

Modified: ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
URL: http://svn.apache.org/viewvc/ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java?rev=781543&r1=781542&r2=781543&view=diff
==============================================================================
--- ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
(original)
+++ ode/trunk/axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
Wed Jun  3 20:56:34 2009
@@ -8,12 +8,12 @@
 import static org.testng.AssertJUnit.fail;
 
 public class CleanSuccessTest extends CleanTestBase {
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanNone() throws Exception {
         go("TestCleanSuccess_None", 1, 0, 0, 0, 2, 0, 6, 2, 3, 6, 60, 76);
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanInstance() throws Exception {
         try {
             go("TestCleanSuccess_Instance", 0, 0, 0, 0, 3, 0, 6, 2, 3, 6, 60, 70);
@@ -21,32 +21,32 @@
         } catch(ContextException re) {}
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanVariables() throws Exception {
         go("TestCleanSuccess_Variables", 1, 0, 0, 0, 3, 0, 6, 0, 0, 0, 60, 70);
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanMessages() throws Exception {
         go("TestCleanSuccess_Messages", 1, 0, 0, 0, 0, 0, 0, 2, 3, 6, 60, 65);
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanCorrelations() throws Exception {
         go("TestCleanSuccess_Correlations", 1, 0, 0, 0, 3, 0, 6, 2, 3, 6, 60, 76);
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanEvents() throws Exception {
         go("TestCleanSuccess_Events", 1, 0, 0, 0, 3, 0, 6, 2, 3, 6, 0, 17);
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanMessageCorrEvents() throws Exception {
         go("TestCleanSuccess_MessageCorrEvents", 1, 0, 0, 0, 0, 0, 0, 2, 3, 6, 0, 6);
     }
 
-//    @Test(dataProvider="configs")
+    @Test(dataProvider="configs")
     public void testCleanAll() throws Exception {
         go("TestCleanSuccess_All", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
     }

Modified: ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HLargeData.java
URL: http://svn.apache.org/viewvc/ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HLargeData.java?rev=781543&r1=781542&r2=781543&view=diff
==============================================================================
--- ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HLargeData.java
(original)
+++ ode/trunk/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/hobj/HLargeData.java
Wed Jun  3 20:56:34 2009
@@ -36,7 +36,7 @@
  * @hibernate.query name="DELETE_PARTNER_LINK_LDATA_BY_INSTANCES" query="delete from HLargeData
as d where d in(select l.myEPR from HPartnerLink as l where l.scope.instance in (:instances))
or d IN(select l.partnerEPR from HPartnerLink as l where l.scope.instance in (:instances))"
  * @hibernate.query name="DELETE_FAULT_LDATA_BY_INSTANCE_IDS" query="delete from HLargeData
as d where d in(select f.data from HFaultData as f, HProcessInstance as i where f.id = i.fault
and i.id in (:instanceIds))"
  * 
- * Transitive reference of objects in select does not work for Derby; use two nested sub-selects
+ * use two nested sub-selects
  * @hibernate.query name="DELETE_MESSAGE_LDATA_BY_MEX" query="delete from HLargeData as d
where d in(select m.messageData from HMessage m where m in(select x.request from HMessageExchange
x where x = :mex) or m in(select x.response from HMessageExchange x where x = :mex)) or d
in(select m.header from HMessage m where m in(select x.request from HMessageExchange x where
x = :mex) or m in(select x.response from HMessageExchange x where x = :mex))"
  */
 public class HLargeData extends HObject {



Mime
View raw message