Package org.apache.etch.interoptester

Examples of org.apache.etch.interoptester.Arg


 
  /** @throws Exception */
  @Test
  public void parse6() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"foo\">abc</arg>" ) );
    assertEquals( "foo", a.name() );
    assertEquals( "abc", a.value( args ) );
  }
View Full Code Here


 
  /** @throws Exception */
  @Test
  public void parse7() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"foo\" value=\"\"/>" ) );
    assertEquals( "foo", a.name() );
    assertEquals( "", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse8() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"foo\" value=\"abc\"/>" ) );
    assertEquals( "foo", a.name() );
    assertEquals( "abc", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse9() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"fu\">{bar}</arg>" ) );
    assertEquals( "fu", a.name() );
    assertEquals( "123", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse10() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"fu\" value=\"{bar}\"/>" ) );
    assertEquals( "fu", a.name() );
    assertEquals( "123", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse11() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"tofu\">x{baz}y</arg>" ) );
    assertEquals( "tofu", a.name() );
    assertEquals( "x456y", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse12() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"tofu\" value=\"x{baz}y\"/>" ) );
    assertEquals( "tofu", a.name() );
    assertEquals( "x456y", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse13() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"snafu\">x{barf}y</arg>" ) );
    assertEquals( "snafu", a.name() );
    assertEquals( "x{barf}y", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void parse14() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"snafu\" value=\"x{barf}y\"/>" ) );
    assertEquals( "snafu", a.name() );
    assertEquals( "x{barf}y", a.value( args ) );
  }
View Full Code Here

 
  /** @throws Exception */
  @Test
  public void toString1() throws Exception
  {
    Arg a = Arg.parse( parseXml( "<arg name=\"tofu\" value=\"x{baz}y\"/>" ) );
    assertEquals( "Arg( tofu, x{baz}y )", a.toString() );
  }
View Full Code Here

TOP

Related Classes of org.apache.etch.interoptester.Arg

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.