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

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

public class GreedyProxyTest
extends TestCase

Unit test regarding the importing of services inside a collection.

Author:
Costin Leau

Constructor Summary
GreedyProxyTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAllowConcreteClasses()
           
 void testExcludeFinalClass()
           
 void testInterfacesOnlyAllowed()
           
 void testMoreInterfacesAvailable()
           
 void testNonVisibleOrInvalidInterfacesFound()
           
 void testParentInterfaces()
           
 void testRemoveParentsWithClassesAndInterfaces()
           
 
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

GreedyProxyTest

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

testMoreInterfacesAvailable

public void testMoreInterfacesAvailable()
                                 throws Exception
Throws:
Exception

testNonVisibleOrInvalidInterfacesFound

public void testNonVisibleOrInvalidInterfacesFound()
                                            throws Exception
Throws:
Exception

testParentInterfaces

public void testParentInterfaces()
                          throws Exception
Throws:
Exception

testExcludeFinalClass

public void testExcludeFinalClass()
                           throws Exception
Throws:
Exception

testInterfacesOnlyAllowed

public void testInterfacesOnlyAllowed()
                               throws Exception
Throws:
Exception

testAllowConcreteClasses

public void testAllowConcreteClasses()
                              throws Exception
Throws:
Exception

testRemoveParentsWithClassesAndInterfaces

public void testRemoveParentsWithClassesAndInterfaces()
                                               throws Exception
Throws:
Exception


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