org.semispace.comet.client.notification
Class CopyOfNotificationIntegrationTest

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

public class CopyOfNotificationIntegrationTest
extends junit.framework.TestCase

Before comet2 work: 40 sec no failures After: 76 s (!), no failures


Constructor Summary
CopyOfNotificationIntegrationTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testListenerExpiration()
          Expiration of listener
 void testNotificationAndTake()
          Few listeners and a larger number of inserts.
 void testNotificationProblem()
           
 void testQuantityOfNotification()
          A large number of listeners, and a smaller number of inserts
 void testSimpleCancellation()
           
 void testSimpleNotification()
           
 
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

CopyOfNotificationIntegrationTest

public CopyOfNotificationIntegrationTest()
Method Detail

setUp

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

tearDown

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

testSimpleCancellation

public void testSimpleCancellation()
                            throws InterruptedException
Throws:
InterruptedException

testSimpleNotification

public void testSimpleNotification()
                            throws InterruptedException
Throws:
InterruptedException

testNotificationAndTake

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

Throws:
InterruptedException

testQuantityOfNotification

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

Throws:
InterruptedException

testNotificationProblem

public void testNotificationProblem()

testListenerExpiration

public void testListenerExpiration()
                            throws InterruptedException
Expiration of listener

Throws:
InterruptedException


Copyright © 2008-2012. All Rights Reserved.