org.objectweb.cjdbc.scenario.raidb1.driver
Class EncodingScenario

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.raidb1.driver.EncodingScenario

public class EncodingScenario
extends Template

This class defines scenario to test encoding and decoding

Version:
1.0
Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
EncodingScenario()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testCompareEncoding()
          Compare between different encoding methods for blobs
 void testZipEncoding()
          Test ZipEncoding.
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodingScenario

public EncodingScenario()
Method Detail

setUp

protected void setUp()
Specified by:
setUp in class Template
See Also:
junit.framework.TestCase#setUp()

tearDown

protected void tearDown()
Specified by:
tearDown in class Template
See Also:
junit.framework.TestCase#tearDown()

testZipEncoding

public void testZipEncoding()
                     throws java.lang.Exception
Test ZipEncoding. Works but we cannot convert back and forth to string so we can't use this method

Throws:
java.lang.Exception - if fails.

testCompareEncoding

public void testCompareEncoding()
                         throws java.lang.Exception
Compare between different encoding methods for blobs

Throws:
java.lang.Exception - if fails


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.