mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/namespace/TestConfigAdminNamespace.java
@Test
    public void testSetProperty() throws IOException, InterruptedException
    {
        //try a string
        ConfigNamespaceUtils.setConfigProperty(ExampleClass.CONFIG_PID, "name", "golden egg", socket);
        
        //try setting integer property
        ConfigNamespaceUtils.setConfigProperty(ExampleClass.CONFIG_PID, "name", 32000, socket);
        
        //try setting float property
        ConfigNamespaceUtils.setConfigProperty(ExampleClass.CONFIG_PID, "name", 1.234f, socket);
    }
/**
     * This test has to be run first to create the OSGi type configuration.
     * Sets the configuration with an initial value.
     * 
     * Verify the updating of the configuration properties.
     * 
     * Verify setting different primitive types as values for property.
     */
This test has to be run first to create the OSGi type configuration.
Sets the configuration with an initial value.

Verify the updating of the configuration properties.

Verify setting different primitive types as values for property.
This test has to be run first to create the OSGi type configuration . Sets the configuration with an initial value . Verify the updating of the configuration properties . Verify setting different primitive types as values for property .
@Test
    public void testSetProperty() throws IOException, InterruptedException
    {
        ConfigNamespaceUtils.setConfigProperty(ExampleClass.CONFIG_PID, "name", "golden egg", socket);
        ConfigNamespaceUtils.setConfigProperty(ExampleClass.CONFIG_PID, "name", 32000, socket);
        ConfigNamespaceUtils.setConfigProperty(ExampleClass.CONFIG_PID, "name", 1.234f, socket);
    }
@ Test public void testSetProperty ( ) throws IOException , InterruptedException { ConfigNamespaceUtils . setConfigProperty ( ExampleClass . CONFIG_PID , "name" , "golden egg" , socket ) ; ConfigNamespaceUtils . setConfigProperty ( ExampleClass . CONFIG_PID , "name" , 32000 , socket ) ; ConfigNamespaceUtils . setConfigProperty ( ExampleClass . CONFIG_PID , "name" , 1.234f , socket ) ; }
This test has to be run first to create the OSGi type configuration.
This test has to be run first to create the OSGi type configuration .
//try a string //try setting integer property //try setting float property