Package org.apache.etch.bindings.java.msg

Examples of org.apache.etch.bindings.java.msg.Message


  /** @throws Exception */
  @org.junit.Test
  public void method_dist1() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist, vf );
    msg.put( ValueFactoryTest1._mf_a, new Test1.S1( 1, 1, 1 ) );
    msg.put( ValueFactoryTest1._mf_b, new Test1.S1( 0, 0, 0 ) );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist );
    assertEquals( 1, src.xreply.size() );
View Full Code Here


  /** @throws Exception */
  @org.junit.Test
  public void method_dist2() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_dist, vf );
    msg.put( ValueFactoryTest1._mf_a, new Test1.S1( 1, 2, 3 ) );
    msg.put( ValueFactoryTest1._mf_b, new Test1.S1( 6, 5, 4 ) );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_dist );
    assertEquals( 1, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_fill() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_fill, vf );
    msg.put( ValueFactoryTest1._mf_n, 4 );
    msg.put( ValueFactoryTest1._mf_x, 3 );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_fill );
    assertEquals( 1, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_blow() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_blow, vf );
    msg.put( ValueFactoryTest1._mf_msg, "foo" );
    msg.put( ValueFactoryTest1._mf_code, 23 );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_blow );
    assertEquals( 1, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_beets1() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
      vf );
    msg.put( ValueFactoryTest1._mf_e, Test1.E1.A );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
    assertEquals( 1, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_beets2() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
      vf );
    msg.put( ValueFactoryTest1._mf_e, Test1.E1.B );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
    assertEquals( 1, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_beets3() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
      vf );
    msg.put( ValueFactoryTest1._mf_e, Test1.E1.C );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
    assertEquals( 1, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_beets4() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_beets,
      vf );
    msg.put( ValueFactoryTest1._mf_e, null );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
      .checkType( ValueFactoryTest1._mt_org_apache_etch_tests_Test1__result_beets );
    assertEquals( 0, src.xreply.size() );
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_isTrue() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_isTrue,
      vf );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
View Full Code Here

  /** @throws Exception */
  @org.junit.Test
  public void method_isFalse() throws Exception
  {
    Message msg = new Message(
      ValueFactoryTest1._mt_org_apache_etch_tests_Test1_isFalse,
      vf );
    stub.sessionMessage( null, msg );
    // check the result.
    src.xreply
View Full Code Here

TOP

Related Classes of org.apache.etch.bindings.java.msg.Message

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.