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/bondgraphunittest.cpp

    rec70ec r543ce4  
    104104void BondGraphTest::LoadTableTest()
    105105{
    106   CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable((ofstream *)&cout, *filename) );
     106  CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable(*filename) );
    107107  CPPUNIT_ASSERT_EQUAL( 1., BG->GetBondLength(0,0) );
    108108  CPPUNIT_ASSERT_EQUAL( 1.2, BG->GetBondLength(0,1) );
     
    117117  atom *Runner = TestMolecule->end->previous;
    118118  CPPUNIT_ASSERT( TestMolecule->end != Walker );
    119   CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable((ofstream *)&cout, *filename) );
    120   CPPUNIT_ASSERT_EQUAL( true , BG->ConstructBondGraph((ofstream *)&cout, TestMolecule) );
     119  CPPUNIT_ASSERT_EQUAL( true , BG->LoadBondLengthTable(*filename) );
     120  CPPUNIT_ASSERT_EQUAL( true , BG->ConstructBondGraph(TestMolecule) );
    121121  CPPUNIT_ASSERT_EQUAL( true , Walker->IsBondedTo(Runner) );
    122122};
Note: See TracChangeset for help on using the changeset viewer.