org.springframework.osgi.service.importer.support
Class OsgiServiceProxyEqualityTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.osgi.service.importer.support.OsgiServiceProxyEqualityTest
All Implemented Interfaces:
Test

public class OsgiServiceProxyEqualityTest
extends TestCase

Author:
Costin Leau

Nested Class Summary
static class OsgiServiceProxyEqualityTest.Implementor
           
static interface OsgiServiceProxyEqualityTest.InterfaceWithEquals
          Simple interface which declares equals.
 
Constructor Summary
OsgiServiceProxyEqualityTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDifferentInterceptorsButTargetHasEquals()
           
 void testDifferentProxySetupButTargetHasEquals()
           
 void testEqualityBetweenInfrastructureProxies()
           
 void testEqualsInterceptorsEquality()
           
 void testMultipleInterceptorEquality()
           
 void testNakedTargetPropertyReturnedByTheInfrastructureProxy()
           
 void testNonEqualityBetweenInfrastructureProxies()
           
 void testSameInterceptorEquality()
           
 void testSpringInfrastructureProxyOnImportersWithDifferentRefs()
           
 void testSpringInfrastructureProxyOnImportersWithTheSameRef()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OsgiServiceProxyEqualityTest

public OsgiServiceProxyEqualityTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class TestCase
Throws:
Exception

testSameInterceptorEquality

public void testSameInterceptorEquality()
                                 throws Exception
Throws:
Exception

testEqualsInterceptorsEquality

public void testEqualsInterceptorsEquality()
                                    throws Exception
Throws:
Exception

testMultipleInterceptorEquality

public void testMultipleInterceptorEquality()
                                     throws Exception
Throws:
Exception

testDifferentInterceptorsButTargetHasEquals

public void testDifferentInterceptorsButTargetHasEquals()
                                                 throws Exception
Throws:
Exception

testDifferentProxySetupButTargetHasEquals

public void testDifferentProxySetupButTargetHasEquals()
                                               throws Exception
Throws:
Exception

testSpringInfrastructureProxyOnImportersWithTheSameRef

public void testSpringInfrastructureProxyOnImportersWithTheSameRef()
                                                            throws Exception
Throws:
Exception

testSpringInfrastructureProxyOnImportersWithDifferentRefs

public void testSpringInfrastructureProxyOnImportersWithDifferentRefs()
                                                               throws Exception
Throws:
Exception

testNakedTargetPropertyReturnedByTheInfrastructureProxy

public void testNakedTargetPropertyReturnedByTheInfrastructureProxy()
                                                             throws Exception
Throws:
Exception

testEqualityBetweenInfrastructureProxies

public void testEqualityBetweenInfrastructureProxies()
                                              throws Exception
Throws:
Exception

testNonEqualityBetweenInfrastructureProxies

public void testNonEqualityBetweenInfrastructureProxies()
                                                 throws Exception
Throws:
Exception


Copyright © 2006-2011 Spring Framework. All Rights Reserved.