test.ojb.broker
Class MetaDataSerializationTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--test.ojb.broker.MetaDataSerializationTest
All Implemented Interfaces:
junit.framework.Test

public class MetaDataSerializationTest
extends junit.framework.TestCase

Insert the type's description here. Creation date: (06.12.2000 21:47:56)


Constructor Summary
MetaDataSerializationTest(java.lang.String name)
          BrokerTests constructor comment.
 
Method Summary
(package private)  ClassDescriptor deserialize(byte[] arr)
           
static void main(java.lang.String[] args)
          Insert the method's description here.
(package private)  byte[] serialize(ClassDescriptor cld)
           
 void setUp()
          Insert the method's description here.
 void tearDown()
          Insert the method's description here.
 void testFromDisk()
          test deserialization of ClassDescriptors from disk
 void testIdentityStuff()
          test serialization and deserialisation of all ClassDescriptors in Descriptor repository
 void testIt()
          test serialization and deserialisation of all ClassDescriptors in Descriptor repository
 void testRemote()
          test serialization and deserialisation of all ClassDescriptors in Descriptor repository
 void testToDisk()
          test serialization of ClassDescriptors to disk
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

MetaDataSerializationTest

public MetaDataSerializationTest(java.lang.String name)
BrokerTests constructor comment.

Parameters:
name - java.lang.String
Method Detail

main

public static void main(java.lang.String[] args)
Insert the method's description here. Creation date: (23.12.2000 18:30:38)

Parameters:
args - java.lang.String[]

setUp

public void setUp()
Insert the method's description here. Creation date: (06.12.2000 21:58:53)

Overrides:
setUp in class junit.framework.TestCase

tearDown

public void tearDown()
Insert the method's description here. Creation date: (06.12.2000 21:59:14)

Overrides:
tearDown in class junit.framework.TestCase

testIt

public void testIt()
test serialization and deserialisation of all ClassDescriptors in Descriptor repository


testToDisk

public void testToDisk()
test serialization of ClassDescriptors to disk


testFromDisk

public void testFromDisk()
test deserialization of ClassDescriptors from disk


testRemote

public void testRemote()
test serialization and deserialisation of all ClassDescriptors in Descriptor repository


testIdentityStuff

public void testIdentityStuff()
test serialization and deserialisation of all ClassDescriptors in Descriptor repository


serialize

byte[] serialize(ClassDescriptor cld)
           throws java.lang.Exception
java.lang.Exception

deserialize

ClassDescriptor deserialize(byte[] arr)
                      throws java.lang.Exception
java.lang.Exception


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04