DatabaseTestCase (jTDS API)
Keywords: net.sourceforge.jtds.test.DatabaseTestCase class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.jtds.test
Class DatabaseTestCase

    java.lang.Object
      junit.framework.Assert
          junit.framework.TestCase
              net.sourceforge.jtds.test.TestBase
                  net.sourceforge.jtds.test.DatabaseTestCase

All Implemented Interfaces:
  junit.framework.Test

Direct Known Subclasses:
  AsTest, BatchTest, ClientSideCursorTest, ConnectionJDBC3Test, CSUnitTest, MetaDataTestCase, ResultSetTest, SAfeTest, SunTest, Tds8Test, TimestampTest, TlsTest, XaTest

public abstract class DatabaseTestCase
extends TestBase

Version:
  $Id: DatabaseTestCase.java,v 1.8.6.1 2009/08/04 10:33:54 ickzon Exp $
Author:
  Alin Sinpalean

Field Summary
`private static java.util.Map` | `typemap`

Fields inherited from class net.sourceforge.jtds.test.TestBase
`con, props`

Fields inherited from class junit.framework.TestCase
``

Constructor Summary
`DatabaseTestCase(java.lang.String name)`

Method Summary
`(package private) static int` | `compareBytes(byte[] a1, byte[] a2)`
`protected void` | `dropFunction(java.lang.String procname)`
`protected void` | `dropProcedure(java.sql.Statement stmt, java.lang.String procname)`
`protected void` | `dropProcedure(java.lang.String procname)`
`protected void` | `dropTable(java.lang.String tableName)`
`protected java.lang.String` | `getLongString(char ch)`
`protected java.lang.String` | `getLongString(int length)`
`protected static int` | `getType(java.lang.Object o)`
`protected static java.util.Map` | `getTypemap()`

Methods inherited from class net.sourceforge.jtds.test.TestBase
`compareInputStreams, compareReaders, connect, dump, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown`

Methods inherited from class junit.framework.TestCase
`countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString`

Methods inherited from class junit.framework.Assert
`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, fail, fail`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### typemap

    private static java.util.Map typemap

Constructor Detail

### DatabaseTestCase

    public DatabaseTestCase(java.lang.String name)

Method Detail

### dropTable

    protected void dropTable(java.lang.String tableName)
                      throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### dropProcedure

    protected void dropProcedure(java.lang.String procname)
                          throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### dropProcedure

    protected void dropProcedure(java.sql.Statement stmt,
                                 java.lang.String procname)
                          throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### dropFunction

    protected void dropFunction(java.lang.String procname)
                         throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### compareBytes

    static int compareBytes(byte[] a1,
                            byte[] a2)

### getTypemap

    protected static java.util.Map getTypemap()

### getType

    protected static int getType(java.lang.Object o)
                          throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### getLongString

    protected java.lang.String getLongString(int length)

### getLongString

    protected java.lang.String getLongString(char ch)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Generated on December 30 2009