com.buglabs.osgi.cm.tests
Class ConfigurationAdminTest

java.lang.Object
  extended by TestCase
      extended by com.buglabs.osgi.cm.tests.ConfigurationAdminTest

public class ConfigurationAdminTest
extends TestCase

Tests for ConfigurationAdmin


Constructor Summary
ConfigurationAdminTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testConfigurationAdminNotNull()
          Test whether ConfigurationAdmin is not null
 void testCreateConfiguration()
          Tests Configuration creation
 void testListConfigurations()
          Test for ConfigurationAdmin's listConfiguration(String filter)
 void testReferenceNotNull()
          Test whether reference to ConfigurationAdmin is not null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationAdminTest

public ConfigurationAdminTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testReferenceNotNull

public void testReferenceNotNull()
Test whether reference to ConfigurationAdmin is not null


testConfigurationAdminNotNull

public void testConfigurationAdminNotNull()
                                   throws java.io.IOException
Test whether ConfigurationAdmin is not null

Throws:
java.io.IOException

testCreateConfiguration

public void testCreateConfiguration()
                             throws java.io.IOException
Tests Configuration creation

Throws:
java.io.IOException

testListConfigurations

public void testListConfigurations()
                            throws java.io.IOException,
                                   InvalidSyntaxException
Test for ConfigurationAdmin's listConfiguration(String filter)

Throws:
java.io.IOException
InvalidSyntaxException