org.picocontainer.behaviors
Class LockedTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.picocontainer.behaviors.SynchronizedTestCase
              extended by org.picocontainer.behaviors.LockedTestCase
All Implemented Interfaces:
junit.framework.Test

public final class LockedTestCase
extends SynchronizedTestCase

Author:
Paul Hammant

Nested Class Summary
 
Nested classes/interfaces inherited from class org.picocontainer.behaviors.SynchronizedTestCase
SynchronizedTestCase.Blocker, SynchronizedTestCase.SlowCtor
 
Constructor Summary
LockedTestCase()
           
 
Method Summary
protected  org.picocontainer.BehaviorFactory makeBehaviorFactory()
           
protected  org.picocontainer.ComponentAdapter makeComponentAdapter(org.picocontainer.ComponentAdapter componentAdapter)
           
 
Methods inherited from class org.picocontainer.behaviors.SynchronizedTestCase
testRaceConditionIsHandledBySynchronizedComponentAdapter, testRaceConditionIsNotHandledWithoutSynchronizedComponentAdapter, testSingletonCreationWithSynchronizedAdapterAndDoubleLocking, testSingletonCreationWithSynchronizedAdapterOutside, testSingletonCreationWithSynchronizedAdapterOutsideUsingFactory, THIS_NATURALLY_FAILS_testSingletonCreationRace, THIS_NATURALLY_FAILS_testSingletonCreationWithSynchronizedAdapter
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

LockedTestCase

public LockedTestCase()
Method Detail

makeComponentAdapter

protected org.picocontainer.ComponentAdapter makeComponentAdapter(org.picocontainer.ComponentAdapter componentAdapter)
Overrides:
makeComponentAdapter in class SynchronizedTestCase

makeBehaviorFactory

protected org.picocontainer.BehaviorFactory makeBehaviorFactory()
Overrides:
makeBehaviorFactory in class SynchronizedTestCase


Copyright © 2003-2007 Codehaus. All Rights Reserved.