org.objectweb.cjdbc.scenario.horizontal
Class DistributedWithCacheScenario

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.SimpleHorizontalTemplate
                      extended byorg.objectweb.cjdbc.scenario.templates.HorizontalWithCacheTemplate
                          extended byorg.objectweb.cjdbc.scenario.horizontal.DistributedWithCacheScenario
All Implemented Interfaces:
junit.framework.Test

public class DistributedWithCacheScenario
extends HorizontalWithCacheTemplate

This class defines a DistributedWithCacheScenario class

Author:
Nicolas Modrzyk

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleHorizontalTemplate
cm, controller1, controller2, hm, hm1, hm2, hm3, hm4, mainVdb1, mainVdb2, port1, port2
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DistributedWithCacheScenario()
           
 
Method Summary
 void testSetup()
          Test the setup of a DistributedVirtualDatabase with each controller having a cache.
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.HorizontalWithCacheTemplate
setUp
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.SimpleHorizontalTemplate
setDatabasesUp, 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

DistributedWithCacheScenario

public DistributedWithCacheScenario()
Method Detail

testSetup

public void testSetup()
               throws java.lang.Exception
Test the setup of a DistributedVirtualDatabase with each controller having a cache. This test fails if requests cannot be send to the group after start up.

Throws:
java.lang.Exception - if fails


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