public final class BLOBDataModelSetup extends BaseJDBCTestSetup
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
bigSize
Size of big record (currently 64 MB)
|
(package private) static int |
bigVal
Val for big record
|
(package private) static int |
regularBlobs
Number of regular Blobs
|
(package private) static int |
size
Size of regular Blobs (currently 1MB)
|
private static java.lang.String |
tableName
Name of table
|
| Constructor and Description |
|---|
BLOBDataModelSetup(junit.framework.Test test)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getBlobTableName()
Return table name
|
protected void |
setUp()
The setup creates a Connection to the database, and creates a table
with blob columns.
|
protected void |
tearDown()
Teardown test.
|
getConnection, getTestConfiguration, printlnrunbasicRun, countTestCases, getTest, toStringassertEquals, 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, failNotEquals, failNotSame, failSame, formatstatic final int size
static final int regularBlobs
static final int bigSize
static final int bigVal
private static final java.lang.String tableName
public BLOBDataModelSetup(junit.framework.Test test)
test - test object being decorated by this TestSetupprotected final void setUp()
throws java.lang.Exception
setUp in class junit.extensions.TestSetupjava.lang.Exception - any exception will cause test to fail with error.protected final void tearDown()
throws java.lang.Exception
tearDown in class BaseJDBCTestSetupExceptions - causes the test to fail with errorjava.lang.Exceptionpublic static final java.lang.String getBlobTableName()
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.