You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2011/12/20 19:59:10 UTC
svn commit: r1221434 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java
Author: rhillegas
Date: Tue Dec 20 18:59:09 2011
New Revision: 1221434
URL: http://svn.apache.org/viewvc?rev=1221434&view=rev
Log:
DERBY-866: Adjust RolesTest to account for new tuple in SYSROUTINEPERMS.
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java?rev=1221434&r1=1221433&r2=1221434&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/RolesTest.java Tue Dec 20 18:59:09 2011
@@ -599,9 +599,9 @@ public class RolesTest extends BaseJDBCT
assertSysColPermsRowCount(0, 2, 2);
- assertSysRoutinePermsRowCount(6, // 5 pre-existing grants to PUBLIC
- 7,
- 7);
+ assertSysRoutinePermsRowCount(7, // 7 pre-existing grants to PUBLIC
+ 8,
+ 8);
/*
* DROP ROLE
@@ -629,12 +629,12 @@ public class RolesTest extends BaseJDBCT
// to admin is de facto to a user
// named admin:
2);
- assertSysRoutinePermsRowCount(6, 6,
+ assertSysRoutinePermsRowCount(7, 7,
// nonDbo run: role admin
// has been dropped, so this
// run's grant to admin is de
// facto to a user named admin:
- 7);
+ 8);
doStmt("drop role \"NONE\"",
sqlAuthorizationRequired, null , roleDboOnly);
@@ -656,7 +656,7 @@ public class RolesTest extends BaseJDBCT
1,
0);
assertSysColPermsRowCount(0,0,0);
- assertSysRoutinePermsRowCount(6,6,6);
+ assertSysRoutinePermsRowCount(7,7,7);
// roles foo and bar survive to nonDbo run and beyond:
assertSysRolesRowCount(0, 5, 5);