| java.lang.Object org.h2.test.TestBase
All known Subclasses: org.h2.test.jdbc.TestDatabaseEventListener, org.h2.test.unit.TestFile, org.h2.test.synth.thread.TestMulti, org.h2.test.db.TestLinkedTable, org.h2.test.unit.TestReader, org.h2.test.db.TestBigDb, org.h2.test.db.TestLogFile, org.h2.test.synth.TestHalt, org.h2.test.synth.TestKillRestart, org.h2.test.synth.TestCrashAPI, org.h2.test.unit.TestIntArray, org.h2.test.unit.TestValue, org.h2.test.synth.TestThreads, org.h2.test.jdbc.TestUpdatableResultSet, org.h2.test.server.TestNestedLoop, org.h2.test.db.TestExclusive, org.h2.test.unit.TestCache, org.h2.test.db.TestMultiDimension, org.h2.test.jdbcx.TestXASimple, org.h2.test.db.TestLob, org.h2.test.unit.TestSampleApps, org.h2.test.db.TestEncryptedDb, org.h2.test.db.TestTriggersConstraints, org.h2.test.server.TestWeb, org.h2.test.mvcc.TestMvcc3, org.h2.test.db.TestMultiThread, org.h2.test.jdbcx.TestDataSource, org.h2.test.db.TestBigResult, org.h2.test.jdbc.TestResultSet, org.h2.test.synth.TestKillRestartMulti, org.h2.test.db.TestScript, org.h2.test.unit.TestFtp, org.h2.test.synth.TestKill, org.h2.test.unit.TestScriptReader, org.h2.test.jdbc.TestZloty, org.h2.test.jdbc.TestMetaData, org.h2.test.unit.TestStringUtils, org.h2.test.unit.TestPattern, org.h2.test.jdbc.TestStatement, org.h2.test.db.TestAutoRecompile, org.h2.test.db.TestSessionsLocks, org.h2.test.db.TestSpeed, org.h2.test.db.TestMultiConn, org.h2.test.jdbc.TestCallableStatement, org.h2.test.db.TestCluster, org.h2.test.db.TestScriptSimple, org.h2.test.synth.TestRandomSQL, org.h2.test.db.TestRights, org.h2.test.mvcc.TestMvcc1, org.h2.test.unit.TestMultiThreadedKernel, org.h2.test.synth.TestTimer, org.h2.test.db.TestIndex, org.h2.test.db.TestCsv, org.h2.test.synth.TestJoin, org.h2.test.db.TestRunscript, org.h2.test.unit.TestValueMemory, org.h2.test.db.TestView, org.h2.test.unit.TestDate, org.h2.test.db.TestTransaction, org.h2.test.mvcc.TestMvcc2, org.h2.test.db.TestOptimizations, org.h2.test.unit.TestOverflow, org.h2.test.synth.TestSimpleIndex, org.h2.test.synth.sql.TestSynth, org.h2.test.jdbc.TestBatchUpdates, org.h2.test.unit.TestRecovery, org.h2.test.jdbc.TestPreparedStatement, org.h2.test.db.TestTempTables, org.h2.test.jdbc.TestManyJdbcObjects, org.h2.test.jdbc.TestNativeSQL, org.h2.test.db.TestSpaceReuse, org.h2.test.unit.TestSecurity, org.h2.test.unit.TestIntIntHashMap, org.h2.test.db.TestPowerOff, org.h2.test.unit.TestBitField, org.h2.test.jdbc.TestCancel, org.h2.test.db.TestBackup, org.h2.test.db.TestFunctions, org.h2.test.server.TestPgServer, org.h2.test.db.TestMemoryUsage, org.h2.test.db.TestCompatibility, org.h2.test.unit.TestStreams, org.h2.test.jdbcx.TestXA, org.h2.test.db.TestSequence, org.h2.test.db.TestCases, org.h2.test.unit.TestValueHashMap, org.h2.test.unit.TestExit, org.h2.test.unit.TestTools, org.h2.test.db.TestFullText, org.h2.test.db.TestOpenClose, org.h2.test.db.TestListener, org.h2.test.db.TestSQLInjection, org.h2.test.unit.TestCompress, org.h2.test.unit.TestFileLock, org.h2.test.unit.TestFileSystem, org.h2.test.unit.TestDataPage, org.h2.test.db.TestReadOnly, org.h2.test.unit.TestStringCache, org.h2.test.db.TestCheckpoint, org.h2.test.db.TestTwoPhaseCommit, org.h2.test.jdbc.TestTransactionIsolation, org.h2.test.unit.TestServlet, org.h2.test.synth.TestBtreeIndex,
TestBase | abstract public class TestBase (Code) | | The base class for all tests.
|
Method Summary | |
public void | check(int a, int b) | protected void | check(byte[] a, byte[] b) | protected void | check(String a, String b) | protected void | check(long a, long b) | protected void | check(double a, double b) | protected void | check(float a, float b) | protected void | check(boolean a, boolean b) | protected void | check(boolean value) | protected void | check(Integer a, Integer b) | protected void | checkContains(String result, String contains) | protected void | checkFalse(String a, String b) | protected void | checkFalse(boolean value) | protected void | checkNotGeneralException(SQLException e) | protected void | checkResultRowCount(ResultSet rs, int expected) | protected void | checkSingleValue(Statement stat, String sql, int value) | protected void | checkSmaller(long a, long b) | protected void | compareDatabases(Statement stat1, Statement stat2) | protected void | crash(Connection conn) | protected void | deleteDb(String name) | protected void | deleteDb(String dir, String name) | protected void | error() | protected void | error(String string) | protected void | fail(String s, Throwable e) | String | formatRow(String[] row) | public Connection | getConnection(String name) | protected Connection | getConnection(String name, String user, String password) | String[] | getData(ResultSet rs, int len) | public static int | getMemoryUsed() | protected String | getPassword() | protected int | getSize(int small, int big) | public static String | getTestDir(String name) | protected String | getURL(String name, boolean admin) | protected String | getUser() | public TestBase | init(TestAll conf) | public static void | logError(String s, Throwable e) | protected void | printTime(String s) | public void | printTimeMemory(String s, long time) | protected void | println(String s) | static void | printlnWithTime(long time, String s) | protected String | readString(Reader reader) | public void | runTest(TestAll conf) | protected void | startServerIfRequired() | abstract public void | test() | public void | testCase(int i) | void | testResultSet(boolean ordered, ResultSet rs, String[][] data) | protected void | testResultSetMeta(ResultSet rs, int columnCount, String[] labels, int[] datatypes, int[] precision, int[] scale) | protected void | testResultSetOrdered(ResultSet rs, String[][] data) | void | testResultSetUnordered(ResultSet rs, String[][] data) | boolean | testRow(String[] a, String[] b, int len) | protected void | trace(int x) | public void | trace(String s) | protected void | traceMemory() |
checkSmaller | protected void checkSmaller(long a, long b) throws Exception(Code) | | |
getMemoryUsed | public static int getMemoryUsed()(Code) | | |
printTimeMemory | public void printTimeMemory(String s, long time)(Code) | | |
printlnWithTime | static void printlnWithTime(long time, String s)(Code) | | |
testResultSetMeta | protected void testResultSetMeta(ResultSet rs, int columnCount, String[] labels, int[] datatypes, int[] precision, int[] scale) throws Exception(Code) | | |
trace | protected void trace(int x)(Code) | | |
traceMemory | protected void traceMemory()(Code) | | |
|
|