Package gov.nasa.arc.mct.services.config.impl.properties

Examples of gov.nasa.arc.mct.services.config.impl.properties.SimpleValue


    assertTrue(s.contains("value=\"y\""));
  }
 
  @Test
  public void testValueMarshalling() throws JAXBException {
    SimpleValue value = new SimpleValue("hello");
    String s = marshalObject(value);
    assertTrue(s.contains("<entry value=\"hello\""));
  }
View Full Code Here


    return out.toString();
  }
 
  @Test
  public void testSimpleValueUnmarshalling() throws JAXBException {
    SimpleValue value;
   
    value = (SimpleValue) unmarshalString("<entry value='red' />");
    assertEquals(value.getValue(), "red");
  }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.services.config.impl.properties.SimpleValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.