net.groboclown.eventbus.v2.tests
Class TestEventBus

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.groboclown.junit.v1.MultiThreadedTestCase
                    |
                    +--net.groboclown.eventbus.v2.tests.TestEventBus
All Implemented Interfaces:
junit.framework.Test

public class TestEventBus
extends MultiThreadedTestCase

Since:
0.9.0
Version:
0.9.0
Author:
Matt Albrecht

Inner Class Summary
private static class TestEventBus.TestAgent
           
static class TestEventBus.TestDistributor
           
private static class TestEventBus.TestListener
           
private static class TestEventBus.TestObject
           
 
Inner classes inherited from class net.groboclown.junit.v1.MultiThreadedTestCase
MultiThreadedTestCase.StopThreadsTest, MultiThreadedTestCase.TestCaseRunnable
 
Field Summary
private static Class THIS_CLASS
           
 
Fields inherited from class net.groboclown.junit.v1.MultiThreadedTestCase
m_synch, m_testResult, m_threadGroup, m_threadsFinished
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
TestEventBus(String name)
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testAddDistributor()
           
 void testDistributorEvents()
           
 void testInstantiate()
           
 void testNoDistributor()
           
 
Methods inherited from class net.groboclown.junit.v1.MultiThreadedTestCase
handleException, interruptThreads, run, runTestCaseRunnables, runTestCaseRunnables
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

THIS_CLASS

private static final Class THIS_CLASS
Constructor Detail

TestEventBus

public TestEventBus(String name)
Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(String[] args)

setUp

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

tearDown

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

testInstantiate

public void testInstantiate()
                     throws Exception

testNoDistributor

public void testNoDistributor()
                       throws Exception

testAddDistributor

public void testAddDistributor()
                        throws Exception

testDistributorEvents

public void testDistributorEvents()
                           throws Exception


Written under the LGPL