(file) Return to Tracer.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common / tests / Tracer

Diff for /pegasus/src/Pegasus/Common/tests/Tracer/Tracer.cpp between version 1.15.2.1 and 1.16

version 1.15.2.1, 2002/10/28 15:43:25 version 1.16, 2003/10/22 14:26:08
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2003////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
   // IBM Corp.; EMC Corporation, The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 48 
Line 50 
 // Trace files for test purposes // Trace files for test purposes
 // Will be created in the $(PEGASUS_TMP) directory, or if not set, // Will be created in the $(PEGASUS_TMP) directory, or if not set,
 // in the current directory // in the current directory
 const char* FILE1;  CString FILE1;
 const char* FILE2;  CString FILE2;
 const char* FILE3;  CString FILE3;
 const char* FILE4;  CString FILE4;
  
 // //
 // Reads the last trace message from a given trace file and compares the // Reads the last trace message from a given trace file and compares the
Line 547 
Line 549 
             CIM_ERR_NOT_SUPPORTED,             CIM_ERR_NOT_SUPPORTED,
             "CIM Exception Message for Level4 in test21.");             "CIM Exception Message for Level4 in test21.");
     }     }
     catch (CIMException e)      catch (CIMException& e)
     {     {
         Tracer::traceCIMException(TRC_CONFIG,Tracer::LEVEL4, e);         Tracer::traceCIMException(TRC_CONFIG,Tracer::LEVEL4, e);
     }     }
Line 596 
Line 598 
         tmpDir = ".";         tmpDir = ".";
     }     }
     String f1 (tmpDir);     String f1 (tmpDir);
     f1 += "/testtracer1.trace";      f1.append("/testtracer1.trace");
     ArrayDestroyer <char> f1d (f1.allocateCString ());      FILE1 = f1.getCString();
     FILE1 = f1d.getPointer ();  
     String f2 (tmpDir);     String f2 (tmpDir);
     f2 += "/testtracer2.trace";      f2.append("/testtracer2.trace");
     ArrayDestroyer <char> f2d (f2.allocateCString ());      FILE2 = f2.getCString();
     FILE2 = f2d.getPointer ();  
     String f3 (tmpDir);     String f3 (tmpDir);
     f3 += "/testtracer3.trace";      f3.append("/testtracer3.trace");
     ArrayDestroyer <char> f3d (f3.allocateCString ());      FILE3 = f3.getCString();
     FILE3 = f3d.getPointer ();  
     String f4 (tmpDir);     String f4 (tmpDir);
     f4 += "/testtracer4.trace";      f4.append("/testtracer4.trace");
     ArrayDestroyer <char> f4d (f4.allocateCString ());      FILE4 = f4.getCString();
     FILE4 = f4d.getPointer ();  
  
     System::removeFile(FILE1);     System::removeFile(FILE1);
     System::removeFile(FILE2);     System::removeFile(FILE2);


Legend:
Removed from v.1.15.2.1  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2