public final class GrantRevokeDDLTest extends BaseJDBCTestCase
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
users |
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
Constructor and Description |
---|
GrantRevokeDDLTest(java.lang.String name)
Public constructor required for running test as standalone JUnit.
|
Modifier and Type | Method and Description |
---|---|
static junit.framework.Test |
suite() |
void |
test_derby_4502()
DERBY-4502
Allow creation of views against system tables when authorization is enabled.
|
void |
testAlterTablePrivilegesIntace() |
void |
testAlterTableWithPrivileges() |
void |
testGlobalTempTables()
DERBY-3266
|
void |
testGrantRevokeDDL() |
void |
testGrantRevokeDDL2() |
void |
testMinimumSelectPrivilegeRequirement()
DERBY-4191
Make sure that we check for atleast table level select privilege or
any column level select privilege for following kind of queries
select count(*) from t1
select count(1) from t1
select 1 from t1
select t1.c1 from t1, t2
|
void |
testRevokeDropsFKWithSharedConglom()
Test the situation where a REVOKE leads to the dropping of
a foreign key's backing conglomerate when that conglomerate
is shared by other indexes/constraints.
|
assertCallError, assertCheckTable, assertCompileError, assertEquals, assertEquals, assertEquals, assertEquivalentDataType, assertErrorCode, assertGetIntError, assertNextError, assertPreparedStatementError, assertSQLExceptionEquals, assertSQLState, assertSQLState, assertStatementError, assertStatementError, assertStatementError, assertStatementError, assertStatementErrorUnordered, assertTableRowCount, assertUpdateCount, assertUpdateCount, assertWarning, checkAllConsistency, checkEstimatedRowCount, closeStatement, commit, createStatement, createStatement, createStatement, dropTable, dropTable, dropView, dropView, emptyStatementCache, getClientTransactionID, getConnection, getDatabaseProperty, getLastSQLException, initializeConnection, openConnection, openDefaultConnection, openDefaultConnection, openDefaultConnection, openUserConnection, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, rollback, runBare, runBareOverridable, runScript, runScript, runSQLCommands, setAutoCommit, tearDown, usingDB2Client, usingDerbyNetClient, usingEmbedded
alarm, assertDirectoryDeleted, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isJava8, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runsWithEmma, runsWithJaCoCo, setSystemProperty, sleep, sleepAtLeastOneTick, traceit
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, setUp, toString
public GrantRevokeDDLTest(java.lang.String name)
public static junit.framework.Test suite()
public void testGrantRevokeDDL() throws java.lang.Exception
java.lang.Exception
public void testGrantRevokeDDL2() throws java.sql.SQLException
java.sql.SQLException
public void testRevokeDropsFKWithSharedConglom() throws java.sql.SQLException
java.sql.SQLException
public void testMinimumSelectPrivilegeRequirement() throws java.sql.SQLException
java.sql.SQLException
public void testGlobalTempTables() throws java.sql.SQLException
java.sql.SQLException
public void test_derby_4502() throws java.lang.Exception
java.lang.Exception
public void testAlterTablePrivilegesIntace() throws java.lang.Exception
java.lang.Exception
public void testAlterTableWithPrivileges() throws java.lang.Exception
java.lang.Exception
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.