You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/12/17 09:46:53 UTC

svn commit: r1422796 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java

Author: jleroux
Date: Mon Dec 17 08:46:53 2012
New Revision: 1422796

URL: http://svn.apache.org/viewvc?rev=1422796&view=rev
Log:
Commented out testLimitOffsetOptions() because it makes the framework dependent on the content component.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java?rev=1422796&r1=1422795&r2=1422796&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java Mon Dec 17 08:46:53 2012
@@ -31,7 +31,6 @@ import java.util.Map;
 import org.ofbiz.base.util.Debug;
 import org.ofbiz.base.util.UtilDateTime;
 import org.ofbiz.base.util.UtilMisc;
-import org.ofbiz.base.util.UtilValidate;
 import org.ofbiz.base.util.UtilXml;
 import org.ofbiz.entity.Delegator;
 import org.ofbiz.entity.DelegatorFactory;
@@ -45,8 +44,6 @@ import org.ofbiz.entity.condition.Entity
 import org.ofbiz.entity.condition.EntityOperator;
 import org.ofbiz.entity.config.DatasourceInfo;
 import org.ofbiz.entity.config.EntityConfigUtil;
-import org.ofbiz.entity.datasource.GenericHelperDAO;
-import org.ofbiz.entity.model.ModelEntity;
 import org.ofbiz.entity.testtools.EntityTestCase;
 import org.ofbiz.entity.transaction.GenericTransactionException;
 import org.ofbiz.entity.transaction.TransactionUtil;
@@ -608,10 +605,12 @@ public class EntityTestSuite extends Ent
         return strBufTemp.toString();
     }
     
+    
     /*
      * This test will verify that the LIMIT and OFFSET options can work properly.
+     * Commented out because it makes the framework dependent on the content component
      */
-    public void testLimitOffsetOptions() throws Exception {
+    /*public void testLimitOffsetOptions() throws Exception {
         String entityName = "Content";
         DatasourceInfo datasourceInfo = EntityConfigUtil.getDatasourceInfo(delegator.getEntityHelper(entityName).getHelperName());
         if (UtilValidate.isEmpty(datasourceInfo.offsetStyle) || datasourceInfo.offsetStyle.equals("none")) {
@@ -696,5 +695,5 @@ public class EntityTestSuite extends Ent
         } catch (GenericEntityException e) {
             Debug.logError(e, module);
         }
-    }
+    }*/
 }