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

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

public class OsgiServiceCollectionProxiesTest
extends TestCase

Unit test for the static proxies returned by Osgi collection.

Author:
Costin Leau

Constructor Summary
OsgiServiceCollectionProxiesTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testEqualsBetweenProxies()
           
 void testEqualsBetweenProxyAndItself()
           
 void testEqualsBetweenProxyAndTarget()
           
 void testHashCodeBetweenProxies()
           
 void testHashCodeBetweenProxyAndItself()
           
 void testHashCodeBetweenProxyAndTarget()
           
 void testServiceReferenceProxy()
           
 void testServiceReferenceProxyEquality()
           
 
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

OsgiServiceCollectionProxiesTest

public OsgiServiceCollectionProxiesTest()
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

testHashCodeBetweenProxyAndTarget

public void testHashCodeBetweenProxyAndTarget()

testHashCodeBetweenProxies

public void testHashCodeBetweenProxies()

testEqualsBetweenProxyAndTarget

public void testEqualsBetweenProxyAndTarget()

testEqualsBetweenProxies

public void testEqualsBetweenProxies()

testHashCodeBetweenProxyAndItself

public void testHashCodeBetweenProxyAndItself()

testEqualsBetweenProxyAndItself

public void testEqualsBetweenProxyAndItself()

testServiceReferenceProxy

public void testServiceReferenceProxy()
                               throws Exception
Throws:
Exception

testServiceReferenceProxyEquality

public void testServiceReferenceProxyEquality()
                                       throws Exception
Throws:
Exception


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