org.semispace.notification
Class NotificationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.semispace.notification.NotificationTest
All Implemented Interfaces:
junit.framework.Test

public class NotificationTest
extends junit.framework.TestCase


Constructor Summary
NotificationTest()
           
 
Method Summary
 void deactivated_testRepeatedTest()
          Repetition test in order to examine stress slightly better.
protected  void setUp()
           
protected  void tearDown()
           
 void testListenerExpiration()
          Expiration of listener
 void testNotificationAndTake()
          Few listeners and a larger number of inserts.
 void testQuantityOfNotification()
          A large number of listeners, and a smaller number of inserts
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationTest

public NotificationTest()
Method Detail

setUp

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

tearDown

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

testNotificationAndTake

public void testNotificationAndTake()
Few listeners and a larger number of inserts.


testQuantityOfNotification

public void testQuantityOfNotification()
                                throws InterruptedException
A large number of listeners, and a smaller number of inserts

Throws:
InterruptedException

testListenerExpiration

public void testListenerExpiration()
Expiration of listener


deactivated_testRepeatedTest

public void deactivated_testRepeatedTest()
                                  throws InterruptedException
Repetition test in order to examine stress slightly better.

Throws:
InterruptedException


Copyright © 2008-2012. All Rights Reserved.