db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r421685 - /db/torque/generator/trunk/src/test/org/apache/torque/engine/database/model/DomainTest.java
Date Thu, 13 Jul 2006 19:00:10 GMT
Author: tv
Date: Thu Jul 13 12:00:10 2006
New Revision: 421685

URL: http://svn.apache.org/viewvc?rev=421685&view=rev
Log:
Removed tests for deprecated methods

Modified:
    db/torque/generator/trunk/src/test/org/apache/torque/engine/database/model/DomainTest.java

Modified: db/torque/generator/trunk/src/test/org/apache/torque/engine/database/model/DomainTest.java
URL: http://svn.apache.org/viewvc/db/torque/generator/trunk/src/test/org/apache/torque/engine/database/model/DomainTest.java?rev=421685&r1=421684&r2=421685&view=diff
==============================================================================
--- db/torque/generator/trunk/src/test/org/apache/torque/engine/database/model/DomainTest.java
(original)
+++ db/torque/generator/trunk/src/test/org/apache/torque/engine/database/model/DomainTest.java
Thu Jul 13 12:00:10 2006
@@ -70,13 +70,11 @@
     {
         Table table = db.getTable("product");
         Column name = table.getColumn("name");
-        assertEquals("VARCHAR", name.getType());
         assertEquals("VARCHAR", name.getDomain().getSqlType());
         assertEquals("40", name.getSize());
         assertEquals("name VARCHAR(40)", name.getSqlString());
         Column price = table.getColumn("price");
         assertEquals("NUMERIC", price.getTorqueType());
-        assertEquals("NUMERIC", price.getType());
         assertEquals("DECIMAL", price.getDomain().getSqlType());
         assertEquals("10", price.getSize());
         assertEquals("2", price.getScale());
@@ -93,7 +91,6 @@
         Table table = db.getTable("article");
         Column price = table.getColumn("price");
         assertEquals("NUMERIC", price.getTorqueType());
-        assertEquals("NUMERIC", price.getType());
         assertEquals("DECIMAL", price.getDomain().getSqlType());
         assertEquals("12", price.getSize());
         assertEquals("2", price.getScale());
@@ -107,7 +104,6 @@
         Table table = db.getTable("article");
         Column col = table.getColumn("decimal_col");
         assertEquals("DECIMAL", col.getTorqueType());
-        assertEquals("DECIMAL", col.getType());
         assertEquals("DECIMAL", col.getDomain().getSqlType());
         assertEquals("10", col.getSize());
         assertEquals("3", col.getScale());
@@ -120,7 +116,6 @@
         Table table = db.getTable("article");
         Column col = table.getColumn("date_col");
         assertEquals("DATE", col.getTorqueType());
-        assertEquals("DATE", col.getType());
         assertEquals("DATETIME", col.getDomain().getSqlType());
         assertEquals("", col.printSize());
         assertEquals("date_col DATETIME", col.getSqlString());
@@ -152,7 +147,6 @@
         Column col = table.getColumn("cbooleanint");
         assertEquals("", col.getAutoIncrementString());
         assertEquals("BOOLEANINT", col.getTorqueType());
-        assertEquals("INTEGER", col.getType());
         assertEquals("INTEGER", col.getDomain().getSqlType());
         assertEquals("cbooleanint INTEGER", col.getSqlString());
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message