org.springframework.osgi.util
Class OsgiStringUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.osgi.util.OsgiStringUtilsTest
All Implemented Interfaces:
Test

public class OsgiStringUtilsTest
extends TestCase

Author:
Costin Leau

Constructor Summary
OsgiStringUtilsTest()
           
 
Method Summary
protected  void setUp()
           
 void testGetBundleEventAsString()
           
 void testGetBundleStateAsName()
           
 void testNullSafeToStringBundleEvent()
           
 void testNullSafeToStringBundleEventInvalidType()
           
 void testNullSafeToStringBundleEventNull()
           
 void testNullSafeToStringFrameworkEvent()
           
 void testNullSafeToStringFrameworkEventInvalidType()
           
 void testNullSafeToStringFrameworkEventNull()
           
 void testNullSafeToStringServiceEvent()
           
 void testNullSafeToStringServiceEventInvalidType()
           
 void testNullSafeToStringServiceEventNull()
           
 void testNullSafeToStringServiceReference()
           
 void testNullSafeToStringServiceReferenceNull()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OsgiStringUtilsTest

public OsgiStringUtilsTest()
Method Detail

setUp

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

testGetBundleEventAsString

public void testGetBundleEventAsString()

testGetBundleStateAsName

public void testGetBundleStateAsName()
                              throws Exception
Throws:
Exception

testNullSafeToStringBundleEvent

public void testNullSafeToStringBundleEvent()
                                     throws Exception
Throws:
Exception

testNullSafeToStringBundleEventNull

public void testNullSafeToStringBundleEventNull()
                                         throws Exception
Throws:
Exception

testNullSafeToStringBundleEventInvalidType

public void testNullSafeToStringBundleEventInvalidType()
                                                throws Exception
Throws:
Exception

testNullSafeToStringServiceEvent

public void testNullSafeToStringServiceEvent()
                                      throws Exception
Throws:
Exception

testNullSafeToStringServiceEventNull

public void testNullSafeToStringServiceEventNull()
                                          throws Exception
Throws:
Exception

testNullSafeToStringServiceEventInvalidType

public void testNullSafeToStringServiceEventInvalidType()
                                                 throws Exception
Throws:
Exception

testNullSafeToStringFrameworkEvent

public void testNullSafeToStringFrameworkEvent()
                                        throws Exception
Throws:
Exception

testNullSafeToStringFrameworkEventNull

public void testNullSafeToStringFrameworkEventNull()
                                            throws Exception
Throws:
Exception

testNullSafeToStringFrameworkEventInvalidType

public void testNullSafeToStringFrameworkEventInvalidType()
                                                   throws Exception
Throws:
Exception

testNullSafeToStringServiceReference

public void testNullSafeToStringServiceReference()
                                          throws Exception
Throws:
Exception

testNullSafeToStringServiceReferenceNull

public void testNullSafeToStringServiceReferenceNull()
                                              throws Exception
Throws:
Exception


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