db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r552927 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
Date Tue, 03 Jul 2007 17:39:15 GMT
Author: djd
Date: Tue Jul  3 10:39:14 2007
New Revision: 552927

URL: http://svn.apache.org/viewvc?view=rev&rev=552927
Log:
DERBY-2893 Add comments to GrantRevokeTest to indicate why the fail asserts are commented
out.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java?view=diff&rev=552927&r1=552926&r2=552927
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
Tue Jul  3 10:39:14 2007
@@ -1063,6 +1063,7 @@
             rs.close();
             command.append(")");
     	    int i = s.executeUpdate(command.toString());
+            // DERBY-2893 INSERT seems to succeed.
             //if (!hasPrivilege)
             //    fail("expected no INSERT permission on table");
 
@@ -1128,6 +1129,8 @@
         	    	// update count should equal select count
         	        assertEquals(columnCount, actualCount);
         	    }
+                
+                // DERBY-2893 UPDATE seems to succeed.
                 //if (!hasPrivilege)
                 //    fail("expected no UPDATE permission on table");
 



Mime
View raw message