Ignore:
Timestamp:
Nov 4, 2009, 7:56:04 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
4ef101, aa8542
Parents:
ec70ec
Message:

Huge change from ofstream * (const) out --> Log().

  • first shift was done via regular expressions
  • then via error messages from the code
  • note that class atom, class element and class molecule kept in parts their output stream, was they print to file.
  • make check runs fine
  • MISSING: Verbosity is not fixed for everything (i.e. if no endl; is present and next has Verbose(0) ...)

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/stackclassunittest.cpp

    rec70ec r543ce4  
    1313
    1414#include "stackclassunittest.hpp"
     15#include "log.hpp"
    1516
    1617enum { testdimension=3 };
     
    4142{
    4243  int testfield[testdimension] = {0,1,2};
    43   //cout << Verbose(1) << "Testing the snake stack..." << endl;
     44  //Log() << Verbose(1) << "Testing the snake stack..." << endl;
    4445  for (int i=0;i<testdimension;i++) {
    45     //cout << Verbose(2) << "Filling " << i << "th element of stack." << endl;
     46    //Log() << Verbose(2) << "Filling " << i << "th element of stack." << endl;
    4647    Stack->Push(&testfield[i]);
    4748  }
    48   //cout << endl;
     49  //Log() << Verbose(0) << endl;
    4950  //Output(out);
    5051  CPPUNIT_ASSERT_EQUAL(true, Stack->IsFull());
Note: See TracChangeset for help on using the changeset viewer.