Author: tfischer
Date: Mon Jul 23 09:05:00 2012
New Revision: 1364545
URL: http://svn.apache.org/viewvc?rev=1364545&view=rev
Log:
fixed booleanInt/Char tests for postgresql
- remove second db preparation in test
- constistent usage of native and boolean values
Modified:
db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/datatypes/BooleanIntCharTest.java
Modified:
db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/datatypes/BooleanIntCharTest.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/datatypes/BooleanIntCharTest.java?rev=1364545&r1=1364544&r2=1364545&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/datatypes/BooleanIntCharTest.java
(original)
+++
db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/datatypes/BooleanIntCharTest.java
Mon Jul 23 09:05:00 2012
@@ -651,8 +651,6 @@ public class BooleanIntCharTest extends
{
// prepare
fillTables();
- // prepare
- fillTables();
ColumnValues columnValues
= new ColumnValues(BintBcharValuePeer.getTableMap());
columnValues.put(
@@ -660,10 +658,10 @@ public class BooleanIntCharTest extends
new JdbcTypedValue("new", Types.VARCHAR));
columnValues.put(
BintBcharValuePeer.BINT_VALUE,
- new JdbcTypedValue(1, Types.BIT));
+ new JdbcTypedValue(true, Types.BIT));
columnValues.put(
BintBcharValuePeer.BCHAR_VALUE,
- new JdbcTypedValue("Y", Types.BIT));
+ new JdbcTypedValue(false, Types.BIT));
columnValues.put(
BintBcharValuePeer.BINT_OBJECT_VALUE,
new JdbcTypedValue(null, Types.BIT));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]