genDevs.devsBridge
Class corbaTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by genDevs.devsBridge.corbaTest
All Implemented Interfaces:
junit.framework.Test

public class corbaTest
extends junit.framework.TestCase


Field Summary
(package private)  genDevs.simulation.atomicSimulator as
           
(package private)  InitializeableDigraph expf
           
(package private)  ORBHelper.ORBInfo orbInfo
           
(package private)  InitializeableAtomic sp
           
(package private)  genDevs.modeling.digraph testDig
           
(package private)  Genr theGenr
           
 
Constructor Summary
corbaTest()
           
 
Method Summary
protected  devsBridge.DevsInit getProxy(devsBridge.DevsInitOperations server)
           
protected  devsBridge.Devs getProxy(devsBridge.DevsOperations server)
           
protected  devsBridge.DevsPorts getProxy(devsBridge.DevsPortsOperations server)
           
static void main(java.lang.String[] args)
           
protected  void publishCorbaObject(org.omg.CORBA.Object href, java.lang.String name)
           
protected  void setUp()
           
protected  double simulateAtomic(genDevs.modeling.IOBasicDevs g)
           
protected  double simulateCoupled(genDevs.modeling.coupledDevs c)
           
protected  void tearDown()
           
 void test_ADevsFactory()
          get the model from the factory, obtain factory by naming
 void test_ADevsFactoryByIOR()
          Test the access to the ADevsFactory by IOR from server output.
 void test_Corba()
           
 void test_DevsFactory()
          get the model from the factory
 void testEFP_Corba()
           
 void testEFP_remoteEF()
           
 void testEFP_remoteEFDOM()
           
 void testFactoryBroker()
           
 
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
 

Field Detail

as

genDevs.simulation.atomicSimulator as

testDig

genDevs.modeling.digraph testDig

theGenr

Genr theGenr

sp

InitializeableAtomic sp

expf

InitializeableDigraph expf

orbInfo

ORBHelper.ORBInfo orbInfo
Constructor Detail

corbaTest

public corbaTest()
Method Detail

main

public static void main(java.lang.String[] args)

simulateAtomic

protected double simulateAtomic(genDevs.modeling.IOBasicDevs g)

simulateCoupled

protected double simulateCoupled(genDevs.modeling.coupledDevs c)

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

getProxy

protected devsBridge.Devs getProxy(devsBridge.DevsOperations server)
                            throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

getProxy

protected devsBridge.DevsPorts getProxy(devsBridge.DevsPortsOperations server)
                                 throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

getProxy

protected devsBridge.DevsInit getProxy(devsBridge.DevsInitOperations server)
                                throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

publishCorbaObject

protected void publishCorbaObject(org.omg.CORBA.Object href,
                                  java.lang.String name)
                           throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

test_Corba

public void test_Corba()

testEFP_Corba

public void testEFP_Corba()

test_DevsFactory

public void test_DevsFactory()
get the model from the factory


test_ADevsFactory

public void test_ADevsFactory()
get the model from the factory, obtain factory by naming


test_ADevsFactoryByIOR

public void test_ADevsFactoryByIOR()
Test the access to the ADevsFactory by IOR from server output. Models genr and obsvr are tested by coupling them directly.


testEFP_remoteEF

public void testEFP_remoteEF()
                      throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

testEFP_remoteEFDOM

public void testEFP_remoteEFDOM()
                         throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

testFactoryBroker

public void testFactoryBroker()