com.atlassian.plugin.event.impl
Class TestPluginEventManagerImpl

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.event.impl.TestPluginEventManagerImpl
All Implemented Interfaces:
junit.framework.Test

public class TestPluginEventManagerImpl
extends junit.framework.TestCase


Nested Class Summary
static class TestPluginEventManagerImpl.AnnotationTestListener
           
static class TestPluginEventManagerImpl.BadListener
           
static class TestPluginEventManagerImpl.MethodTestListener
           
 
Constructor Summary
TestPluginEventManagerImpl()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testRegister()
           
 void testRegisterAnnotatedListener()
           
 void testRegisterNull()
           
 void testRegisterTwice()
           
 void testRegisterWithBadListener()
           
 void testRegisterWithBroadcastSupertype()
           
 void testRegisterWithCustom()
           
 void testRegisterWithCustomSelector()
           
 void testRegisterWithFooBroadcastSupertype()
           
 void testRegisterWithOverlappingSelectorsBroadcastsTwoMessages()
           
 void testSuperEvent()
           
 void testUnregister()
           
 void testUnregisterNull()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPluginEventManagerImpl

public TestPluginEventManagerImpl()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testRegister

public void testRegister()

testRegisterWithBroadcastSupertype

public void testRegisterWithBroadcastSupertype()

testRegisterWithFooBroadcastSupertype

public void testRegisterWithFooBroadcastSupertype()

testRegisterTwice

public void testRegisterTwice()

testRegisterWithBadListener

public void testRegisterWithBadListener()

testRegisterWithCustomSelector

public void testRegisterWithCustomSelector()

testRegisterWithOverlappingSelectorsBroadcastsTwoMessages

public void testRegisterWithOverlappingSelectorsBroadcastsTwoMessages()

testRegisterWithCustom

public void testRegisterWithCustom()

testRegisterAnnotatedListener

public void testRegisterAnnotatedListener()

testUnregister

public void testUnregister()

testSuperEvent

public void testSuperEvent()

testRegisterNull

public void testRegisterNull()

testUnregisterNull

public void testUnregisterNull()


Copyright © 2013 Atlassian. All Rights Reserved.