ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbe...@apache.org
Subject svn commit: r677189 - in /ibatis/trunk/java/mapper/mapper2: build/version.properties doc/release.txt test/com/ibatis/common/beans/ComplexBeanProbeTest.java
Date Wed, 16 Jul 2008 08:11:29 GMT
Author: cbegin
Date: Wed Jul 16 01:11:28 2008
New Revision: 677189

URL: http://svn.apache.org/viewvc?rev=677189&view=rev
Log:
updated docs and version. 
fixed test bug

Modified:
    ibatis/trunk/java/mapper/mapper2/build/version.properties
    ibatis/trunk/java/mapper/mapper2/doc/release.txt
    ibatis/trunk/java/mapper/mapper2/test/com/ibatis/common/beans/ComplexBeanProbeTest.java

Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties
URL: http://svn.apache.org/viewvc/ibatis/trunk/java/mapper/mapper2/build/version.properties?rev=677189&r1=677188&r2=677189&view=diff
==============================================================================
--- ibatis/trunk/java/mapper/mapper2/build/version.properties (original)
+++ ibatis/trunk/java/mapper/mapper2/build/version.properties Wed Jul 16 01:11:28 2008
@@ -1,5 +1,5 @@
 #Build version info
-#Tue Jul 15 12:18:36 MDT 2008
-version=2.3.2
-buildDate=2008/07/15 12\:18
-buildNum=716
+#Wed Jul 16 02:06:22 MDT 2008
+version=2.3.3
+buildDate=2008/07/16 02\:06
+buildNum=720

Modified: ibatis/trunk/java/mapper/mapper2/doc/release.txt
URL: http://svn.apache.org/viewvc/ibatis/trunk/java/mapper/mapper2/doc/release.txt?rev=677189&r1=677188&r2=677189&view=diff
==============================================================================
--- ibatis/trunk/java/mapper/mapper2/doc/release.txt (original)
+++ ibatis/trunk/java/mapper/mapper2/doc/release.txt Wed Jul 16 01:11:28 2008
@@ -2,6 +2,17 @@
 Build Number: @buildNum@
 
 ------------------------------
+ 2.3.3
+------------------------------
+
+ o Reintroduced fully defined ExtendedSqlMapClient interface for Spring compatibility
+ o iBATIS-522 -- Null type causing TypeHandlerFactory to throw NPE
+ o iBATIS-511 -- Added values to error messages
+ o iBATIS-515 -- Added comments to DTD
+ o iBATIS-244 -- configured type handler not used for insert
+
+
+------------------------------
  2.3.2
 ------------------------------
  o Updated this release.txt file for 2.3.1

Modified: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/common/beans/ComplexBeanProbeTest.java
URL: http://svn.apache.org/viewvc/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/common/beans/ComplexBeanProbeTest.java?rev=677189&r1=677188&r2=677189&view=diff
==============================================================================
--- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/common/beans/ComplexBeanProbeTest.java
(original)
+++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/common/beans/ComplexBeanProbeTest.java
Wed Jul 16 01:11:28 2008
@@ -5,27 +5,27 @@
 public class ComplexBeanProbeTest extends TestCase {
 
 	public void testSetObject() {
-		Test myTest = new Test();
-		Probe probe = ProbeFactory.getProbe(myTest);
-		probe.setObject(myTest, "myInt", Integer.valueOf(1));
-		assertEquals(1, myTest.getMyInt());
-		probe.setObject(myTest, "myInt", Integer.valueOf(2));
-		assertEquals(2, myTest.getMyInt());
+		SimpleClass mySimpleClass = new SimpleClass();
+		Probe probe = ProbeFactory.getProbe(mySimpleClass);
+		probe.setObject(mySimpleClass, "myInt", Integer.valueOf(1));
+		assertEquals(1, mySimpleClass.getMyInt());
+		probe.setObject(mySimpleClass, "myInt", Integer.valueOf(2));
+		assertEquals(2, mySimpleClass.getMyInt());
 		try {
-			probe.setObject(myTest, "myInt", null);
+			probe.setObject(mySimpleClass, "myInt", null);
 			fail();
 		} catch (RuntimeException e) {
 			assertTrue(e.getMessage().contains("'myInt' to value 'null'"));
 		}
 		try {
-			probe.setObject(myTest, "myInt", Float.valueOf(1.2f));
+			probe.setObject(mySimpleClass, "myInt", Float.valueOf(1.2f));
 			fail();
 		} catch (RuntimeException e) {
       assertTrue(e.getMessage().contains("'myInt' to value '1.2'"));
 		}
 	}
 
-	public class Test {
+	public class SimpleClass {
 
 		int	myInt;
 



Mime
View raw message