setNakedValue() public method

public setNakedValue ( string value ) : void
value string
return void
        public void testGetValue()
        {
            WaveUnitConfigElementStub e = new WaveUnitConfigElementStub();
            e.setNakedValue( "Foo" );
            Assert.AreEqual( "Foo", e.getValue() );

            e.setValue( null );
            Assert.NotNull( e.getValue() );
            Assert.AreEqual( "", e.getValue() );
        }
示例#2
0
        public void testGetValue()
        {
            WaveUnitConfigElementStub e = new WaveUnitConfigElementStub();

            e.setNakedValue("Foo");
            Assert.AreEqual("Foo", e.getValue());

            e.setValue(null);
            Assert.NotNull(e.getValue());
            Assert.AreEqual("", e.getValue());
        }