harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r611939 - /harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
Date Mon, 14 Jan 2008 21:18:53 GMT
Author: hindessm
Date: Mon Jan 14 13:18:42 2008
New Revision: 611939

URL: http://svn.apache.org/viewvc?rev=611939&view=rev
Log:
Fixing junit usage.

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java?rev=611939&r1=611938&r2=611939&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetImplTest.java
Mon Jan 14 13:18:42 2008
@@ -712,16 +712,16 @@
         crsetCopy.updateRow();
         crsetCopy.acceptChanges();
 
-        assertEquals(crsetCopy.getString(2), "copyTest3");
+        assertEquals("copyTest3", crsetCopy.getString(2));
 
-        assertEquals(crset.getString(2), "test3");
+        assertEquals("test3", crset.getString(2));
 
         rs = st.executeQuery("select * from USER_INFO");
         rs.next();
         rs.next();
         rs.next();
         // TODO: Uncomment it when Writer is implemented fully.
-        // assertEquals(rs.getString(2), "copyTest3");
+        // assertEquals("copyTest3", rs.getString(2));
 
         reloadCachedRowSet();
         crset.absolute(2);
@@ -831,13 +831,13 @@
         copy.updateRow();
         copy.acceptChanges();
 
-        assertEquals(copy.getString(2), "updated");
-        assertEquals(crset.getString(2), "test3");
+        assertEquals("updated", copy.getString(2));
+        assertEquals("test3", crset.getString(2));
 
         crset.updateString(2, "again");
 
-        assertEquals(copy.getString(2), "updated");
-        assertEquals(crset.getString(2), "again");
+        assertEquals("updated", copy.getString(2));
+        assertEquals("again", crset.getString(2));
 
         crset.updateRow();
         try {
@@ -854,7 +854,7 @@
             // expected
         }
 
-        assertEquals(copy.getString(2), "updated");
+        assertEquals("updated", copy.getString(2));
 
         crset.absolute(3);
         // data doesn't change



Mime
View raw message