public class _Suite extends BaseJDBCTestCase
Only combinations where trunk is the client or the server qualify for the
MATS (Minimal Acceptance Test Suite), and only the latest releases from
older branches are tested. For more coverage see
VersionCombinationConfigurator.getInstanceDevFull()
.
Modifier and Type | Field and Description |
---|---|
protected static VersionCombinationConfigurator |
configurator
Lazily set in addVersionCombinations(org.apache.derbyTesting.junit.BaseTestSuite), or by a subclass.
|
(package private) static java.lang.String |
EXCLUDE_RELEASES
Property for specifying versions to exclude.
|
(package private) static java.lang.String |
INCLUDE_RELEASES
Property for specifying versions to include.
|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
Constructor and Description |
---|
_Suite(java.lang.String name)
Don't use this.
|
Modifier and Type | Method and Description |
---|---|
private static int |
addVersionCombinations(BaseTestSuite suite)
Adds compatibility tests to the specified suite according to the
current version combination configuration.
|
private static java.util.List<DerbyVersion> |
parseVersionList(java.lang.String versions)
Parses the list of version strings and returns a list of version objects.
|
static boolean |
suffersFromDerby5889()
Tells if we are running in an environment that suffers from DERBY-5889.
|
static junit.framework.Test |
suite()
Returns the default set of compatibility tests, intended to be run
as part of suites.All.
|
assertCallError, assertCheckTable, assertCommitError, assertCompileError, assertEquals, assertEquals, assertEquals, assertEquivalentDataType, assertErrorCode, assertGetIntError, assertNextError, assertPreparedStatementError, assertResults, assertResults, assertSQLExceptionEquals, assertSQLState, assertSQLState, assertStatementError, assertStatementError, assertStatementError, assertStatementError, assertStatementErrorUnordered, assertTableRowCount, assertUpdateCount, assertUpdateCount, assertWarning, chattyPrepare, chattyPrepareCall, checkAllConsistency, checkEstimatedRowCount, closeStatement, commit, createStatement, createStatement, createStatement, dropTable, dropTable, dropView, dropView, dumpRs, dumpRs, emptyStatementCache, executeQuery, expectCompilationError, expectCompilationError, expectExecutionError, getClientTransactionID, getConnection, getDatabaseProperty, getLastSQLException, goodStatement, goodUpdate, 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, assertEquals, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSameNullness, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, newAssertionFailedError, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runsWithEmma, runsWithJaCoCo, setSystemErr, setSystemOut, setSystemProperty, sleep, sleepAtLeastOneTick, traceit, vmAtLeast
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
static final java.lang.String INCLUDE_RELEASES
static final java.lang.String EXCLUDE_RELEASES
protected static VersionCombinationConfigurator configurator
private static int addVersionCombinations(BaseTestSuite suite)
suite
- the suite to add the tests toprivate static java.util.List<DerbyVersion> parseVersionList(java.lang.String versions)
NOTE: If invalid versions are found a warning is simply printed to the console.
versions
- list of Derby versions, i.e '10.8.1.2,10.7.1.1'public static junit.framework.Test suite()
public static boolean suffersFromDerby5889()
Description: operating system is Windows and the old Derby releases are residing on an UNC path (network drive).
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.