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 cm...@apache.org on 2005/08/18 08:50:23 UTC

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

cmanohar    2005/08/17 23:50:23

  Modified:    c/tests/auto_build/testcases/client/cpp XSD_tokenClient.cpp
  Log:
  
  
  Revision  Changes    Path
  1.5       +0 -63     ws-axis/c/tests/auto_build/testcases/client/cpp/XSD_tokenClient.cpp
  
  Index: XSD_tokenClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/XSD_tokenClient.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XSD_tokenClient.cpp	13 Jul 2005 15:19:09 -0000	1.4
  +++ XSD_tokenClient.cpp	18 Aug 2005 06:50:23 -0000	1.5
  @@ -59,25 +59,6 @@
           }
           delete [] input;
   
  -        // Test empty non-nillable element
  -        result = ws->asNonNillableElement(emptyInput);
  -        if (result)
  -        {
  -            if (*result)
  -            {
  -                cout << "empty non-nillable element=" << result << endl;
  -            }
  -            else
  -            {
  -                cout << "empty non-nillable element=<empty>" << endl;
  -            }
  -        }
  -        else
  -        {
  -            cout << "empty non-nillable element=<nil>" << endl;
  -        }
  -        delete [] emptyInput;
  -
           // Test non-nillable element with XML reserved characters
           char reservedCharacterstoken[] = "<>&\"\'";
           xsd__token reservedCharactersInput = reservedCharacterstoken;
  @@ -140,28 +121,6 @@
           }
           delete [] input;
   
  -        // Test empty nillable element
  -        emptyInput = new char[1];
  -        strcpy (emptyInput, emptytoken);
  -        nillableResult = ws->asNillableElement(emptyInput);
  -        if (nillableResult)
  -        {
  -            if (*nillableResult)
  -            {
  -                cout << "empty nillable element=" << nillableResult << endl;
  -            }
  -            else
  -            {
  -                cout << "empty nillable element=<empty>" << endl;
  -            }
  -            delete nillableResult;
  -        }
  -        else
  -        {
  -            cout << "empty nillable element=<nil>" << endl;
  -        }
  -        delete [] emptyInput;
  -
           // Test nillable element, with nil
           nillableResult = ws->asNillableElement(NULL);
           if (nillableResult)
  @@ -204,28 +163,6 @@
           }
           delete requiredAttributeResult;
   
  -        // Test empty required attribute
  -        emptyInput = new char[1];
  -        strcpy (emptyInput, emptytoken);
  -        requiredAttributeInput;
  -        requiredAttributeInput.setrequiredAttribute(emptyInput);
  -        requiredAttributeResult = ws->asRequiredAttribute(&requiredAttributeInput);
  -        if (requiredAttributeResult->getrequiredAttribute())
  -        {
  -            if (*(requiredAttributeResult->getrequiredAttribute()))
  -            {
  -                cout << "empty required attribute=" << requiredAttributeResult->getrequiredAttribute() << endl;
  -            }
  -            else
  -            {
  -                cout << "empty required attribute=<empty>" << endl;
  -            }
  -        }
  -        else
  -        {
  -            cout << "empty required attribute=<nil>" << endl;
  -        }
  -        delete requiredAttributeResult;
   
   /* Optional Attributes currently unsupported by WSDL2Ws
    * Exact coding of this section may change depending on chosen implementation