org.objectweb.cjdbc.scenario.raidb1.recovery
Class Raidb1RecoveryTransactionIdScenario

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
              extended byorg.objectweb.cjdbc.scenario.templates.Template
                  extended byorg.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
                      extended byorg.objectweb.cjdbc.scenario.raidb1.recovery.Raidb1RecoveryTransactionIdScenario
All Implemented Interfaces:
junit.framework.Test

public class Raidb1RecoveryTransactionIdScenario
extends Raidb1RecoveryTemplate

This class defines a RecoveryTransactionIdScenario This was proposed by: Jeff Kolesky Start the controller. Begin issuing queries: A begin B insert into table_one ... C commit Restart the controller Issue queries: D begin E insert into table_two ... F rollback

Version:
1.0
Author:
Nicolas Modrzyk

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
cm, controller, hm, hm1, hm2, hm3, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
Raidb1RecoveryTransactionIdScenario()
           
 
Method Summary
 void testRecoveryLogTransactionID()
          Test transaction id of the recovery log is properly initialized from last index.
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1RecoveryTemplate
setUp, tearDown
 
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 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
 

Constructor Detail

Raidb1RecoveryTransactionIdScenario

public Raidb1RecoveryTransactionIdScenario()
Method Detail

testRecoveryLogTransactionID

public void testRecoveryLogTransactionID()
                                  throws java.lang.Exception
Test transaction id of the recovery log is properly initialized from last index.

Throws:
java.lang.Exception - if fails


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