dbertoni    2003/08/20 11:43:58

  Modified:    c/Tests/Compare compare.cpp
               c/Tests/Conf conf.cpp
               c/Tests/Dom2Dom dom2dom.cpp
               c/Tests/Errortests Errortests.cpp
               c/Tests/Extensions extensions.cpp
               c/Tests/Harness FileUtility.cpp FileUtility.hpp
               c/Tests/InputSource inputsource.cpp
               c/Tests/Memory Stressmem.cpp
               c/Tests/Params Params.cpp
               c/Tests/PerfT perft.cpp
               c/Tests/Transformer TestXalanTransformer.cpp
  Log:
  Removed const qualifier from argv.
  
  Revision  Changes    Path
  1.20      +2 -2      xml-xalan/c/Tests/Compare/compare.cpp
  
  Index: compare.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Compare/compare.cpp,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- compare.cpp       20 Aug 2003 15:55:09 -0000      1.19
  +++ compare.cpp       20 Aug 2003 18:43:57 -0000      1.20
  @@ -133,8 +133,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        XALAN_USING_XALAN(HarnessInit)
   
  
  
  
  1.35      +2 -2      xml-xalan/c/Tests/Conf/conf.cpp
  
  Index: conf.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Conf/conf.cpp,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- conf.cpp  20 Aug 2003 15:55:09 -0000      1.34
  +++ conf.cpp  20 Aug 2003 18:43:57 -0000      1.35
  @@ -262,8 +262,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        int     theResult = 0;
   
  
  
  
  1.12      +3 -3      xml-xalan/c/Tests/Dom2Dom/dom2dom.cpp
  
  Index: dom2dom.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Dom2Dom/dom2dom.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- dom2dom.cpp       20 Aug 2003 15:55:09 -0000      1.11
  +++ dom2dom.cpp       20 Aug 2003 18:43:57 -0000      1.12
  @@ -143,7 +143,7 @@
   bool
   getParams(
                        int                                     argc, 
  -                     const char*                     argv[],
  +                     char*                           argv[],
                        FileUtility&            f,
                        XalanDOMString&         basedir,
                        XalanDOMString&         outdir)
  @@ -270,8 +270,8 @@
   
   int
   runTests(
  -               int                   argc,
  -               const char*   argv [])
  +               int           argc,
  +               char*         argv[])
   {
   
        HarnessInit             xmlPlatformUtils;
  
  
  
  1.15      +2 -2      xml-xalan/c/Tests/Errortests/Errortests.cpp
  
  Index: Errortests.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Errortests/Errortests.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Errortests.cpp    20 Aug 2003 15:55:09 -0000      1.14
  +++ Errortests.cpp    20 Aug 2003 18:43:57 -0000      1.15
  @@ -154,8 +154,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        XALAN_USING_XALAN(HarnessInit)
   
  
  
  
  1.22      +2 -2      xml-xalan/c/Tests/Extensions/extensions.cpp
  
  Index: extensions.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Extensions/extensions.cpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- extensions.cpp    20 Aug 2003 15:55:09 -0000      1.21
  +++ extensions.cpp    20 Aug 2003 18:43:58 -0000      1.22
  @@ -368,8 +368,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        int                             theResult = 0;
   
  
  
  
  1.51      +5 -4      xml-xalan/c/Tests/Harness/FileUtility.cpp
  
  Index: FileUtility.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Harness/FileUtility.cpp,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- FileUtility.cpp   29 Jun 2003 05:07:36 -0000      1.50
  +++ FileUtility.cpp   20 Aug 2003 18:43:58 -0000      1.51
  @@ -256,10 +256,11 @@
   
   
   bool
  -FileUtility::getParams(int argc, 
  -               const char*   argv[],
  -               char*                 outDir,
  -               bool                  fsetGold)
  +FileUtility::getParams(
  +                     int                             argc,
  +                     char*                   argv[],
  +                     const char*             outDir,
  +                     bool                    fsetGold)
   {
        bool fSuccess = true;   // Used to continue argument loop
        bool fsetOut = true;    // Set default output directory, set to false 
if data is provided
  
  
  
  1.35      +5 -4      xml-xalan/c/Tests/Harness/FileUtility.hpp
  
  Index: FileUtility.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Harness/FileUtility.hpp,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- FileUtility.hpp   29 Jun 2003 05:07:36 -0000      1.34
  +++ FileUtility.hpp   20 Aug 2003 18:43:58 -0000      1.35
  @@ -196,10 +196,11 @@
        getDrive();
   
        bool
  -     getParams(      int                     argc, 
  -                             const char*     argv[], 
  -                             char*           outDir,
  -                             bool            fsetGold = true);
  +     getParams(
  +                     int                             argc,
  +                     char*                   argv[],
  +                     const char*             outDir,
  +                     bool                    fsetGold = true);
   
   
        FileNameVectorType
  
  
  
  1.23      +2 -2      xml-xalan/c/Tests/InputSource/inputsource.cpp
  
  Index: inputsource.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/InputSource/inputsource.cpp,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- inputsource.cpp   20 Aug 2003 15:55:09 -0000      1.22
  +++ inputsource.cpp   20 Aug 2003 18:43:58 -0000      1.23
  @@ -368,8 +368,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        int                             theResult = 0;
   
  
  
  
  1.25      +2 -2      xml-xalan/c/Tests/Memory/Stressmem.cpp
  
  Index: Stressmem.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Memory/Stressmem.cpp,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Stressmem.cpp     20 Aug 2003 15:55:09 -0000      1.24
  +++ Stressmem.cpp     20 Aug 2003 18:43:58 -0000      1.25
  @@ -140,8 +140,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        int     theResult = 0;
   
  
  
  
  1.25      +2 -2      xml-xalan/c/Tests/Params/Params.cpp
  
  Index: Params.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Params/Params.cpp,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Params.cpp        20 Aug 2003 15:55:09 -0000      1.24
  +++ Params.cpp        20 Aug 2003 18:43:58 -0000      1.25
  @@ -140,8 +140,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        int                             theResult = 0;
   
  
  
  
  1.21      +2 -2      xml-xalan/c/Tests/PerfT/perft.cpp
  
  Index: perft.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/PerfT/perft.cpp,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- perft.cpp 20 Aug 2003 15:55:10 -0000      1.20
  +++ perft.cpp 20 Aug 2003 18:43:58 -0000      1.21
  @@ -160,8 +160,8 @@
   
   int
   runTests(
  -                     int                             argc,
  -                     const char*             argv[])
  +                     int             argc,
  +                     char*   argv[])
   {
        // Just hoist everything...
        XALAN_CPP_NAMESPACE_USE
  
  
  
  1.12      +4 -6      xml-xalan/c/Tests/Transformer/TestXalanTransformer.cpp
  
  Index: TestXalanTransformer.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Transformer/TestXalanTransformer.cpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TestXalanTransformer.cpp  20 Aug 2003 15:55:11 -0000      1.11
  +++ TestXalanTransformer.cpp  20 Aug 2003 18:43:58 -0000      1.12
  @@ -118,9 +118,7 @@
   
   
   int
  -runTests(
  -                     int                             /* argc */,
  -                     const char*             /* argv*/ [])
  +runTests()
   {
        const char* const               theXMLFileName = 
"d:\\xslt\\xsl-test\\perf\\basic\\basic-all_well.xml";
        const char* const               theXSLFileName = 
"d:\\xslt\\xsl-test\\perf\\basic\\basic-all_well.xsl";
  @@ -349,8 +347,8 @@
   
   int
   main(
  -                     int             argc,
  -                     char*   argv[])
  +                     int             /* argc */,
  +                     char*   /* argv */ [])
   {
   #if !defined(NDEBUG) && defined(_MSC_VER)
        _CrtSetDbgFlag(_CrtSetDbgFlag(_CRTDBG_REPORT_FLAG) | 
_CRTDBG_LEAK_CHECK_DF);
  @@ -373,7 +371,7 @@
   
                XalanTransformer::initialize();
   
  -             theResult = runTests(argc, argv);
  +             theResult = runTests();
   
                // Terminate everything...
                XalanTransformer::terminate();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to