|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
genDevs.devsBridge.vbProcTest
public class vbProcTest
Tests the correct execution of the VB implementation of the proc model and the optimizer model. Both the java CORBa implementation from DevsFactory and the vb-Implementation should yield the same Thruput of 0.046 Do not forget to start naming service and VB-Server before.
Field Summary | |
---|---|
(package private) genDevs.simulation.atomicSimulator |
as
|
(package private) InitializeableDigraph |
expf
|
(package private) ORBHelper.ORBInfo |
orbInfo
|
(package private) genDevs.modeling.digraph |
testDig
|
Constructor Summary | |
---|---|
vbProcTest()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
|
protected double |
simulateAtomic(genDevs.modeling.IOBasicDevs g)
|
protected double |
simulateCoupled(genDevs.modeling.coupledDevs c)
|
protected void |
tearDown()
|
void |
test_Optimizer()
Test the access to the ADevsFactory by IOR from server output. |
void |
test_procJava()
get the proc model from the Java factory |
void |
testProcVB()
get the proc model from the Java factory |
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 |
---|
genDevs.simulation.atomicSimulator as
genDevs.modeling.digraph testDig
InitializeableDigraph expf
ORBHelper.ORBInfo orbInfo
Constructor Detail |
---|
public vbProcTest()
Method Detail |
---|
public static void main(java.lang.String[] args)
protected double simulateAtomic(genDevs.modeling.IOBasicDevs g)
protected double simulateCoupled(genDevs.modeling.coupledDevs c)
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void test_procJava()
public void testProcVB()
public void test_Optimizer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |