org.apache.ojb.broker
Class BlobTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ojb.broker.BlobTest
All Implemented Interfaces:
junit.framework.Test

public class BlobTest
extends junit.framework.TestCase

This TestClass tests storimg and retrieving Objects with BLOB/CLOB Attributes. Does currently not work with HSQLDB, as it doen't support Blobs/Clobs.


Nested Class Summary
static class BlobTest.ObjectWithBlob
           
 
Field Summary
(package private)  boolean skipTest
           
 
Constructor Summary
BlobTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
 void tearDown()
           
 void testBlobInsertion()
           
 void testReadNullBlob()
           
 
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

skipTest

boolean skipTest
Constructor Detail

BlobTest

public BlobTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()

testBlobInsertion

public void testBlobInsertion()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testReadNullBlob

public void testReadNullBlob()


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14