Package benchmark1

Source Code of benchmark1.BenchmarkWSTest$tempCallbackN10366

/**
* BenchmarkWSTest.java
*
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47 LKT)
*/
package benchmark1;

import common.DataHelper;
import common.ByteDataSource;
import common.TestConfigurator;

import javax.activation.DataSource;
import javax.activation.DataHandler;
import java.io.File;

/*
   *  BenchmarkWSTest Junit test case
  */

public class BenchmarkWSTest extends junit.framework.TestCase
{

  /**
   * Executes all tests, under load.
   * @throws Exception thrown if an error occurs.
   */
  public void testAllLoad() throws Exception
  {
    File logFile = new File(TestConfigurator.SERVER_LOG_FILE_PATH);

    if (logFile.exists())
    {
      logFile.delete();
    }

//    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
//    {
//      this.testechoVoid();
//    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testechoStrings();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testsendInts();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testreceiveBase64();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testreceiveDoubles();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testreceiveStrings();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testechoBase64();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testechoInts();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testreceiveInts();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testsendDoubles();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testsendBase64();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testechoDoubles();
    }

    for (int count = 0; count < TestConfigurator.ITERATIONS; count++)
    {
      this.testsendStrings();
    }

    if (TestConfigurator.ARE_EXTENDED_TESTS_ENABLED)
    {
      this.testAllLoadExtended(TestConfigurator.ITERATIONS);
    }
  }

  /**
   * Executes all extended tests, under load (for the given number of iterations).
   * @param iterations the number of iterations for which the tests must be run.
   * @throws Exception thrown if an error occurs.
   */
  private void testAllLoadExtended(int iterations) throws Exception
  {
    for (int count = 0; count < iterations; count++)
    {
      this.testsendMeshInterfaceObjects();
    }

    for (int count = 0; count < iterations; count++)
    {
      this.testreceiveMeshInterfaceObjects();
    }

     for (int count = 0; count < iterations; count++)
    {
      this.testechoSimpleEvents();
    }

    for (int count = 0; count < iterations; count++)
    {
      this.testsendSimpleEvents();
    }

    for (int count = 0; count < iterations; count++)
    {
      this.testechoMeshInterfaceObjects();
    }

    for (int count = 0; count < iterations; count++)
    {
      this.testreceiveSimpleEvents();
    }
  }

  /**
   * Executes all tests.
   * @throws Exception thrown if an error occurs.
   */
  public void testAll() throws Exception
  {
    this.testechoVoid();
    this.testechoStrings();
    this.testsendInts();
    this.testreceiveBase64();
    this.testreceiveDoubles();
    this.testreceiveStrings();
    this.testechoBase64();
    this.testechoInts();
    this.testreceiveInts();
    this.testsendDoubles();
    this.testsendBase64();
    this.testechoDoubles();
    this.testsendStrings();

    if (TestConfigurator.ARE_EXTENDED_TESTS_ENABLED)
    {
      this.testAllExtended();
    }
  }

  /**
   * Executes all extended test.
   * @throws Exception thrown if an error occurs.
   */
  private void testAllExtended() throws Exception
  {
    this.testsendMeshInterfaceObjects();
    this.testreceiveMeshInterfaceObjects();
    this.testechoSimpleEvents();
    this.testsendSimpleEvents();
    this.testechoMeshInterfaceObjects();
    this.testreceiveSimpleEvents();
  }

  /**
   * Auto generated test method
   */
  public void testechoVoid() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    //There is no output to be tested!
    stub.echoVoid();


  }

  /**
   * Auto generated test method
   */
  public void testStartechoVoid() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();


//    stub.startEcstartechoVoid(
//        new tempCallbackN1000C()
//    );


  }

  private class tempCallbackN1000C extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN1000C() { super(null);}

    public void receiveResultechoVoid(
    )
    {

    }

    public void receiveErrorechoVoid(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testechoStrings() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.EchoStrings echoStrings80 =
        (benchmark1.BenchmarkWSStub.EchoStrings) getTestObject(benchmark1.BenchmarkWSStub.EchoStrings.class);
    // TODO : Fill in the echoStrings80 here

    echoStrings80.setInput(DataHelper.getStringArray(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.echoStrings(
        echoStrings80));


  }

  /**
   * Auto generated test method
   */
  public void testStartechoStrings() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.EchoStrings echoStrings80 =
        (benchmark1.BenchmarkWSStub.EchoStrings) getTestObject(benchmark1.BenchmarkWSStub.EchoStrings.class);
    // TODO : Fill in the echoStrings80 here


    stub.startechoStrings(
        echoStrings80,
        new tempCallbackN10036()
    );


  }

  private class tempCallbackN10036 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10036() { super(null);}

    public void receiveResultechoStrings(
        benchmark1.BenchmarkWSStub.EchoStringsResponse result
    )
    {

    }

    public void receiveErrorechoStrings(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testsendInts() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.SendInts sendInts82 =
        (benchmark1.BenchmarkWSStub.SendInts) getTestObject(benchmark1.BenchmarkWSStub.SendInts.class);
    // TODO : Fill in the sendInts82 here

    sendInts82.setN(DataHelper.getInt(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.sendInts(
        sendInts82));


  }

  /**
   * Auto generated test method
   */
  public void testStartsendInts() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.SendInts sendInts82 =
        (benchmark1.BenchmarkWSStub.SendInts) getTestObject(benchmark1.BenchmarkWSStub.SendInts.class);
    // TODO : Fill in the sendInts82 here


    stub.startsendInts(
        sendInts82,
        new tempCallbackN10066()
    );


  }

  private class tempCallbackN10066 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10066() { super(null);}

    public void receiveResultsendInts(
        benchmark1.BenchmarkWSStub.SendIntsResponse result
    )
    {

    }

    public void receiveErrorsendInts(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testreceiveBase64() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.ReceiveBase64 receiveBase6484 =
        (benchmark1.BenchmarkWSStub.ReceiveBase64) getTestObject(benchmark1.BenchmarkWSStub.ReceiveBase64.class);
    // TODO : Fill in the receiveBase6484 here

    DataSource dataSource = new ByteDataSource(DataHelper.getByteArray(TestConfigurator.ARRAY_SIZE));
    receiveBase6484.setInput(new DataHandler(dataSource));

    assertNotNull(stub.receiveBase64(
        receiveBase6484));


  }

  /**
   * Auto generated test method
   */
  public void testStartreceiveBase64() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.ReceiveBase64 receiveBase6484 =
        (benchmark1.BenchmarkWSStub.ReceiveBase64) getTestObject(benchmark1.BenchmarkWSStub.ReceiveBase64.class);
    // TODO : Fill in the receiveBase6484 here


    stub.startreceiveBase64(
        receiveBase6484,
        new tempCallbackN10096()
    );


  }

  private class tempCallbackN10096 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10096() { super(null);}

    public void receiveResultreceiveBase64(
        benchmark1.BenchmarkWSStub.ReceiveBase64Response result
    )
    {

    }

    public void receiveErrorreceiveBase64(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testreceiveDoubles() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.ReceiveDoubles receiveDoubles86 =
        (benchmark1.BenchmarkWSStub.ReceiveDoubles) getTestObject(benchmark1.BenchmarkWSStub.ReceiveDoubles.class);
    // TODO : Fill in the receiveDoubles86 here

    receiveDoubles86.setInput(DataHelper.getDoubleArray(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.receiveDoubles(
        receiveDoubles86));


  }

  /**
   * Auto generated test method
   */
  public void testStartreceiveDoubles() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.ReceiveDoubles receiveDoubles86 =
        (benchmark1.BenchmarkWSStub.ReceiveDoubles) getTestObject(benchmark1.BenchmarkWSStub.ReceiveDoubles.class);
    // TODO : Fill in the receiveDoubles86 here


    stub.startreceiveDoubles(
        receiveDoubles86,
        new tempCallbackN100C6()
    );


  }

  private class tempCallbackN100C6 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN100C6() { super(null);}

    public void receiveResultreceiveDoubles(
        benchmark1.BenchmarkWSStub.ReceiveDoublesResponse result
    )
    {

    }

    public void receiveErrorreceiveDoubles(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testsendMeshInterfaceObjects() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.SendMeshInterfaceObjects sendMeshInterfaceObjects88 =
        (benchmark1.BenchmarkWSStub.SendMeshInterfaceObjects) getTestObject(benchmark1.BenchmarkWSStub.SendMeshInterfaceObjects.class);
    // TODO : Fill in the sendMeshInterfaceObjects88 here

    assertNotNull(stub.sendMeshInterfaceObjects(
        sendMeshInterfaceObjects88));


  }

  /**
   * Auto generated test method
   */
  public void testStartsendMeshInterfaceObjects() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.SendMeshInterfaceObjects sendMeshInterfaceObjects88 =
        (benchmark1.BenchmarkWSStub.SendMeshInterfaceObjects) getTestObject(benchmark1.BenchmarkWSStub.SendMeshInterfaceObjects.class);
    // TODO : Fill in the sendMeshInterfaceObjects88 here


    stub.startsendMeshInterfaceObjects(
        sendMeshInterfaceObjects88,
        new tempCallbackN100F6()
    );


  }

  private class tempCallbackN100F6 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN100F6() { super(null);}

    public void receiveResultsendMeshInterfaceObjects(
        benchmark1.BenchmarkWSStub.SendMeshInterfaceObjectsResponse result
    )
    {

    }

    public void receiveErrorsendMeshInterfaceObjects(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testreceiveMeshInterfaceObjects() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjects receiveMeshInterfaceObjects90 =
        (benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjects) getTestObject(benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjects.class);
    // TODO : Fill in the receiveMeshInterfaceObjects90 here

    assertNotNull(stub.receiveMeshInterfaceObjects(
        receiveMeshInterfaceObjects90));


  }

  /**
   * Auto generated test method
   */
  public void testStartreceiveMeshInterfaceObjects() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjects receiveMeshInterfaceObjects90 =
        (benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjects) getTestObject(benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjects.class);
    // TODO : Fill in the receiveMeshInterfaceObjects90 here


    stub.startreceiveMeshInterfaceObjects(
        receiveMeshInterfaceObjects90,
        new tempCallbackN10126()
    );


  }

  private class tempCallbackN10126 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10126() { super(null);}

    public void receiveResultreceiveMeshInterfaceObjects(
        benchmark1.BenchmarkWSStub.ReceiveMeshInterfaceObjectsResponse result
    )
    {

    }

    public void receiveErrorreceiveMeshInterfaceObjects(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testreceiveStrings() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.ReceiveStrings receiveStrings92 =
        (benchmark1.BenchmarkWSStub.ReceiveStrings) getTestObject(benchmark1.BenchmarkWSStub.ReceiveStrings.class);
    // TODO : Fill in the receiveStrings92 here

    receiveStrings92.setInput(DataHelper.getStringArray(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.receiveStrings(
        receiveStrings92));


  }

  /**
   * Auto generated test method
   */
  public void testStartreceiveStrings() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.ReceiveStrings receiveStrings92 =
        (benchmark1.BenchmarkWSStub.ReceiveStrings) getTestObject(benchmark1.BenchmarkWSStub.ReceiveStrings.class);
    // TODO : Fill in the receiveStrings92 here


    stub.startreceiveStrings(
        receiveStrings92,
        new tempCallbackN10156()
    );


  }

  private class tempCallbackN10156 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10156() { super(null);}

    public void receiveResultreceiveStrings(
        benchmark1.BenchmarkWSStub.ReceiveStringsResponse result
    )
    {

    }

    public void receiveErrorreceiveStrings(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testechoSimpleEvents() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.EchoSimpleEvents echoSimpleEvents94 =
        (benchmark1.BenchmarkWSStub.EchoSimpleEvents) getTestObject(benchmark1.BenchmarkWSStub.EchoSimpleEvents.class);
    // TODO : Fill in the echoSimpleEvents94 here

    assertNotNull(stub.echoSimpleEvents(
        echoSimpleEvents94));


  }

  /**
   * Auto generated test method
   */
  public void testStartechoSimpleEvents() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.EchoSimpleEvents echoSimpleEvents94 =
        (benchmark1.BenchmarkWSStub.EchoSimpleEvents) getTestObject(benchmark1.BenchmarkWSStub.EchoSimpleEvents.class);
    // TODO : Fill in the echoSimpleEvents94 here


    stub.startechoSimpleEvents(
        echoSimpleEvents94,
        new tempCallbackN10186()
    );


  }

  private class tempCallbackN10186 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10186() { super(null);}

    public void receiveResultechoSimpleEvents(
        benchmark1.BenchmarkWSStub.EchoSimpleEventsResponse result
    )
    {

    }

    public void receiveErrorechoSimpleEvents(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testechoBase64() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.EchoBase64 echoBase6496 =
        (benchmark1.BenchmarkWSStub.EchoBase64) getTestObject(benchmark1.BenchmarkWSStub.EchoBase64.class);
    // TODO : Fill in the echoBase6496 here

    DataSource dataSource = new ByteDataSource(DataHelper.getByteArray(TestConfigurator.ARRAY_SIZE));
    echoBase6496.setInput(new DataHandler(dataSource));

    assertNotNull(stub.echoBase64(
        echoBase6496));


  }

  /**
   * Auto generated test method
   */
  public void testStartechoBase64() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.EchoBase64 echoBase6496 =
        (benchmark1.BenchmarkWSStub.EchoBase64) getTestObject(benchmark1.BenchmarkWSStub.EchoBase64.class);
    // TODO : Fill in the echoBase6496 here


    stub.startechoBase64(
        echoBase6496,
        new tempCallbackN101B6()
    );


  }

  private class tempCallbackN101B6 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN101B6() { super(null);}

    public void receiveResultechoBase64(
        benchmark1.BenchmarkWSStub.EchoBase64Response result
    )
    {

    }

    public void receiveErrorechoBase64(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testechoInts() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.EchoInts echoInts98 =
        (benchmark1.BenchmarkWSStub.EchoInts) getTestObject(benchmark1.BenchmarkWSStub.EchoInts.class);
    // TODO : Fill in the echoInts98 here

    echoInts98.setInput(DataHelper.getIntArray(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.echoInts(
        echoInts98));


  }

  /**
   * Auto generated test method
   */
  public void testStartechoInts() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.EchoInts echoInts98 =
        (benchmark1.BenchmarkWSStub.EchoInts) getTestObject(benchmark1.BenchmarkWSStub.EchoInts.class);
    // TODO : Fill in the echoInts98 here


    stub.startechoInts(
        echoInts98,
        new tempCallbackN101E6()
    );


  }

  private class tempCallbackN101E6 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN101E6() { super(null);}

    public void receiveResultechoInts(
        benchmark1.BenchmarkWSStub.EchoIntsResponse result
    )
    {

    }

    public void receiveErrorechoInts(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testreceiveInts() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.ReceiveInts receiveInts100 =
        (benchmark1.BenchmarkWSStub.ReceiveInts) getTestObject(benchmark1.BenchmarkWSStub.ReceiveInts.class);
    // TODO : Fill in the receiveInts100 here

    receiveInts100.setInput(DataHelper.getIntArray(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.receiveInts(
        receiveInts100));


  }

  /**
   * Auto generated test method
   */
  public void testStartreceiveInts() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.ReceiveInts receiveInts100 =
        (benchmark1.BenchmarkWSStub.ReceiveInts) getTestObject(benchmark1.BenchmarkWSStub.ReceiveInts.class);
    // TODO : Fill in the receiveInts100 here


    stub.startreceiveInts(
        receiveInts100,
        new tempCallbackN10216()
    );


  }

  private class tempCallbackN10216 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10216() { super(null);}

    public void receiveResultreceiveInts(
        benchmark1.BenchmarkWSStub.ReceiveIntsResponse result
    )
    {

    }

    public void receiveErrorreceiveInts(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testsendDoubles() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.SendDoubles sendDoubles102 =
        (benchmark1.BenchmarkWSStub.SendDoubles) getTestObject(benchmark1.BenchmarkWSStub.SendDoubles.class);
    // TODO : Fill in the sendDoubles102 here

    sendDoubles102.setN(DataHelper.getInt(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.sendDoubles(
        sendDoubles102));


  }

  /**
   * Auto generated test method
   */
  public void testStartsendDoubles() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.SendDoubles sendDoubles102 =
        (benchmark1.BenchmarkWSStub.SendDoubles) getTestObject(benchmark1.BenchmarkWSStub.SendDoubles.class);
    // TODO : Fill in the sendDoubles102 here


    stub.startsendDoubles(
        sendDoubles102,
        new tempCallbackN10246()
    );


  }

  private class tempCallbackN10246 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10246() { super(null);}

    public void receiveResultsendDoubles(
        benchmark1.BenchmarkWSStub.SendDoublesResponse result
    )
    {

    }

    public void receiveErrorsendDoubles(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testsendBase64() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.SendBase64 sendBase64104 =
        (benchmark1.BenchmarkWSStub.SendBase64) getTestObject(benchmark1.BenchmarkWSStub.SendBase64.class);
    // TODO : Fill in the sendBase64104 here

    sendBase64104.setN(DataHelper.getInt(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.sendBase64(
        sendBase64104));


  }

  /**
   * Auto generated test method
   */
  public void testStartsendBase64() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.SendBase64 sendBase64104 =
        (benchmark1.BenchmarkWSStub.SendBase64) getTestObject(benchmark1.BenchmarkWSStub.SendBase64.class);
    // TODO : Fill in the sendBase64104 here


    stub.startsendBase64(
        sendBase64104,
        new tempCallbackN10276()
    );


  }

  private class tempCallbackN10276 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10276() { super(null);}

    public void receiveResultsendBase64(
        benchmark1.BenchmarkWSStub.SendBase64Response result
    )
    {

    }

    public void receiveErrorsendBase64(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testechoDoubles() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.EchoDoubles echoDoubles106 =
        (benchmark1.BenchmarkWSStub.EchoDoubles) getTestObject(benchmark1.BenchmarkWSStub.EchoDoubles.class);
    // TODO : Fill in the echoDoubles106 here

    echoDoubles106.setInput(DataHelper.getDoubleArray(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.echoDoubles(
        echoDoubles106));


  }

  /**
   * Auto generated test method
   */
  public void testStartechoDoubles() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.EchoDoubles echoDoubles106 =
        (benchmark1.BenchmarkWSStub.EchoDoubles) getTestObject(benchmark1.BenchmarkWSStub.EchoDoubles.class);
    // TODO : Fill in the echoDoubles106 here


    stub.startechoDoubles(
        echoDoubles106,
        new tempCallbackN102A6()
    );


  }

  private class tempCallbackN102A6 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN102A6() { super(null);}

    public void receiveResultechoDoubles(
        benchmark1.BenchmarkWSStub.EchoDoublesResponse result
    )
    {

    }

    public void receiveErrorechoDoubles(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testsendSimpleEvents() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.SendSimpleEvents sendSimpleEvents108 =
        (benchmark1.BenchmarkWSStub.SendSimpleEvents) getTestObject(benchmark1.BenchmarkWSStub.SendSimpleEvents.class);
    // TODO : Fill in the sendSimpleEvents108 here

    assertNotNull(stub.sendSimpleEvents(
        sendSimpleEvents108));


  }

  /**
   * Auto generated test method
   */
  public void testStartsendSimpleEvents() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.SendSimpleEvents sendSimpleEvents108 =
        (benchmark1.BenchmarkWSStub.SendSimpleEvents) getTestObject(benchmark1.BenchmarkWSStub.SendSimpleEvents.class);
    // TODO : Fill in the sendSimpleEvents108 here


    stub.startsendSimpleEvents(
        sendSimpleEvents108,
        new tempCallbackN102D6()
    );


  }

  private class tempCallbackN102D6 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN102D6() { super(null);}

    public void receiveResultsendSimpleEvents(
        benchmark1.BenchmarkWSStub.SendSimpleEventsResponse result
    )
    {

    }

    public void receiveErrorsendSimpleEvents(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testsendStrings() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.SendStrings sendStrings110 =
        (benchmark1.BenchmarkWSStub.SendStrings) getTestObject(benchmark1.BenchmarkWSStub.SendStrings.class);
    // TODO : Fill in the sendStrings110 here

    sendStrings110.setN(DataHelper.getInt(TestConfigurator.ARRAY_SIZE));

    assertNotNull(stub.sendStrings(
        sendStrings110));


  }

  /**
   * Auto generated test method
   */
  public void testStartsendStrings() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.SendStrings sendStrings110 =
        (benchmark1.BenchmarkWSStub.SendStrings) getTestObject(benchmark1.BenchmarkWSStub.SendStrings.class);
    // TODO : Fill in the sendStrings110 here


    stub.startsendStrings(
        sendStrings110,
        new tempCallbackN10306()
    );


  }

  private class tempCallbackN10306 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10306() { super(null);}

    public void receiveResultsendStrings(
        benchmark1.BenchmarkWSStub.SendStringsResponse result
    )
    {

    }

    public void receiveErrorsendStrings(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testechoMeshInterfaceObjects() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjects echoMeshInterfaceObjects112 =
        (benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjects) getTestObject(benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjects.class);
    // TODO : Fill in the echoMeshInterfaceObjects112 here

    assertNotNull(stub.echoMeshInterfaceObjects(
        echoMeshInterfaceObjects112));


  }

  /**
   * Auto generated test method
   */
  public void testStartechoMeshInterfaceObjects() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjects echoMeshInterfaceObjects112 =
        (benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjects) getTestObject(benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjects.class);
    // TODO : Fill in the echoMeshInterfaceObjects112 here


    stub.startechoMeshInterfaceObjects(
        echoMeshInterfaceObjects112,
        new tempCallbackN10336()
    );


  }

  private class tempCallbackN10336 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10336() { super(null);}

    public void receiveResultechoMeshInterfaceObjects(
        benchmark1.BenchmarkWSStub.EchoMeshInterfaceObjectsResponse result
    )
    {

    }

    public void receiveErrorechoMeshInterfaceObjects(java.lang.Exception e)
    {
      fail();
    }

  }

  /**
   * Auto generated test method
   */
  public void testreceiveSimpleEvents() throws java.lang.Exception
  {

    benchmark1.BenchmarkWSStub stub =
        new benchmark1.BenchmarkWSStub();//the default implementation should point to the right endpoint

    benchmark1.BenchmarkWSStub.ReceiveSimpleEvents receiveSimpleEvents114 =
        (benchmark1.BenchmarkWSStub.ReceiveSimpleEvents) getTestObject(benchmark1.BenchmarkWSStub.ReceiveSimpleEvents.class);
    // TODO : Fill in the receiveSimpleEvents114 here

    assertNotNull(stub.receiveSimpleEvents(
        receiveSimpleEvents114));


  }

  /**
   * Auto generated test method
   */
  public void testStartreceiveSimpleEvents() throws java.lang.Exception
  {
    benchmark1.BenchmarkWSStub stub = new benchmark1.BenchmarkWSStub();
    benchmark1.BenchmarkWSStub.ReceiveSimpleEvents receiveSimpleEvents114 =
        (benchmark1.BenchmarkWSStub.ReceiveSimpleEvents) getTestObject(benchmark1.BenchmarkWSStub.ReceiveSimpleEvents.class);
    // TODO : Fill in the receiveSimpleEvents114 here


    stub.startreceiveSimpleEvents(
        receiveSimpleEvents114,
        new tempCallbackN10366()
    );


  }

  private class tempCallbackN10366 extends benchmark1.BenchmarkWSCallbackHandler
  {
    public tempCallbackN10366() { super(null);}

    public void receiveResultreceiveSimpleEvents(
        benchmark1.BenchmarkWSStub.ReceiveSimpleEventsResponse result
    )
    {

    }

    public void receiveErrorreceiveSimpleEvents(java.lang.Exception e)
    {
      fail();
    }

  }

  //Create an ADBBean and provide it as the test object
  public org.apache.axis2.databinding.ADBBean getTestObject(java.lang.Class type) throws Exception
  {
    return (org.apache.axis2.databinding.ADBBean) type.newInstance();
  }


}
TOP

Related Classes of benchmark1.BenchmarkWSTest$tempCallbackN10366

TOP
Copyright © 2018 www.massapi.com. 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.