db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r553591 - /db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
Date Thu, 05 Jul 2007 18:17:06 GMT
Author: djd
Date: Thu Jul  5 11:17:05 2007
New Revision: 553591

URL: http://svn.apache.org/viewvc?view=rev&rev=553591
Log:
Remove the commented fail asserts for GrantRevokeTest which were
added for DERBY-2983 in trunk. That bug does not exist in 10.3.

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

Modified: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java?view=diff&rev=553591&r1=553590&r2=553591
==============================================================================
--- db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
(original)
+++ db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/functionTests/tests/lang/GrantRevokeTest.java
Thu Jul  5 11:17:05 2007
@@ -1063,9 +1063,8 @@
             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");
+            if (!hasPrivilege)
+                fail("expected no INSERT permission on table");
 
     	} catch (SQLException e) {
     		if (!hasPrivilege) {
@@ -1130,9 +1129,8 @@
         	        assertEquals(columnCount, actualCount);
         	    }
                 
-                // DERBY-2893 UPDATE seems to succeed.
-                //if (!hasPrivilege)
-                //    fail("expected no UPDATE permission on table");
+                if (!hasPrivilege)
+                   fail("expected no UPDATE permission on table");
 
     		} catch (SQLException e) {
         		if (!hasPrivilege) {



Mime
View raw message