org.objectweb.cjdbc.scenario.horizontal
Class SeparateURLScenario

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.HorizontalRAIDb1WithCacheTemplate
                          extended byorg.objectweb.cjdbc.scenario.horizontal.SeparateURLScenario
All Implemented Interfaces:
junit.framework.Test

public class SeparateURLScenario
extends HorizontalRAIDb1WithCacheTemplate

This class defines a SeparateURLScenario. We want to test connection on each controller in a Horizontal Scalability scenario. We do an update and then a select statement just after

Version:
1.0
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
SeparateURLScenario()
           
 
Method Summary
 void testControllers()
          Test queries on each controller in turn.
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.HorizontalRAIDb1WithCacheTemplate
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

SeparateURLScenario

public SeparateURLScenario()
Method Detail

testControllers

public void testControllers()
                     throws java.lang.Exception
Test queries on each controller in turn.

Throws:
java.lang.Exception - if fails


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