You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wh...@apache.org on 2005/06/10 17:46:25 UTC

cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp SimpleArraysClient.cpp

whitlock    2005/06/10 08:46:25

  Modified:    c/tests/auto_build/testcases/client/cpp
                        SimpleArraysClient.cpp
  Log:
  Backout accidental commit
  
  Revision  Changes    Path
  1.8       +4 -7      ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArraysClient.cpp
  
  Index: SimpleArraysClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArraysClient.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SimpleArraysClient.cpp	10 Jun 2005 15:33:39 -0000	1.7
  +++ SimpleArraysClient.cpp	10 Jun 2005 15:46:25 -0000	1.8
  @@ -136,21 +136,18 @@
   		long_in.m_Array = new xsd__long*[ARRAYSIZE];
           xsd__long * longArray = new xsd__long[ARRAYSIZE];
   		long_in.m_Size = ARRAYSIZE;
  -		for (xsd__long xx=0; xx<ARRAYSIZE; xx++)
  +		for (x=0; x<ARRAYSIZE; x++)
   		{
  -            longArray[xx] = xx + 10000000001I64;
  -			long_in.m_Array[xx] = &longArray[xx];
  +            longArray[x] = (xsd__long) x+ 200001;
  +			long_in.m_Array[x] = &longArray[x];
   		}
   		cout << "invoking echoLongArray..."<<endl;
   		long_out = ws.echoLongArray(long_in);
   		if(long_out.m_Size > 0)
  -		{
  -			printf("long[0]=<%I64d>\n", *(long_out.m_Array[0]));
  -			if(*(long_out.m_Array[0]) == 10000000001I64)
  +			if(*(long_out.m_Array[0]) == (xsd__long)200001)
   				cout << "successful "<<endl;
   			else
   				cout << "failed "<<endl;		
  -		}
   		else
   			cout << "failed "<<endl;