You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2005/05/22 04:40:07 UTC

cvs commit: xml-security/c/src/tools/xtest xtest.cpp

blautenb    2005/05/21 19:40:07

  Modified:    c/src/tools/xtest xtest.cpp
  Log:
  Remove XKMS tests until we actually have something to test against.
  
  Revision  Changes    Path
  1.53      +9 -9      xml-security/c/src/tools/xtest/xtest.cpp
  
  Index: xtest.cpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/tools/xtest/xtest.cpp,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- xtest.cpp	26 Feb 2005 10:12:31 -0000	1.52
  +++ xtest.cpp	22 May 2005 02:40:07 -0000	1.53
  @@ -2021,7 +2021,7 @@
   // --------------------------------------------------------------------------------
   //           Test XKMS basics
   // --------------------------------------------------------------------------------
  -
  +#if 0
   void testXKMS(DOMImplementation *impl) {
   
   	// This is really a place holder
  @@ -2041,7 +2041,7 @@
   
   	doc->release();
   }
  -
  +#endif
   	
   // --------------------------------------------------------------------------------
   //           Print usage instructions
  @@ -2067,8 +2067,8 @@
   	cerr << "         Only run basic encryption test\n\n";
   	cerr << "     --encryption-unit-only/-u\n";
   	cerr << "         Only run encryption unit tests\n\n";
  -	cerr << "     --xkms-only/-x\n";
  -	cerr << "         Only run basic XKMS test\n\n";
  +//	cerr << "     --xkms-only/-x\n";
  +//	cerr << "         Only run basic XKMS test\n\n";
   
   }
   // --------------------------------------------------------------------------------
  @@ -2136,13 +2136,13 @@
   			doXKMSTest = false;
   			paramCount++;
   		}
  -		else if (stricmp(argv[paramCount], "--xkms-only") == 0 || stricmp(argv[paramCount], "-x") == 0) {
  +/*		else if (stricmp(argv[paramCount], "--xkms-only") == 0 || stricmp(argv[paramCount], "-x") == 0) {
   			doEncryptionTest = false;
   			doSignatureTest = false;
   			doEncryptionUnitTests = false;
   			doSignatureUnitTests = false;
   			paramCount++;
  -		}
  +            }*/
   		else {
   			printUsage();
   			return 2;
  @@ -2250,7 +2250,7 @@
   
   			unitTestEncrypt(impl);
   		}
  -
  +/*
   		// Running XKMS Base test
   		if (doXKMSTest) {
   			cerr << endl << "====================================";
  @@ -2260,7 +2260,7 @@
   
   			testXKMS(impl);
   		}
  -
  +*/
   		cerr << endl << "All tests passed" << endl;
   
   	}