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, println
run
basicRun, countTestCases, getTest, toString
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, failNotEquals, failNotSame, failSame, format
static 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.TestSetup
java.lang.Exception
- any exception will cause test to fail with error.protected final void tearDown() throws java.lang.Exception
tearDown
in class BaseJDBCTestSetup
Exceptions
- causes the test to fail with errorjava.lang.Exception
public static final java.lang.String getBlobTableName()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.