Ignore:
Timestamp:
Jul 14, 2014, 8:37:03 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
0ab195
Parents:
ca940b
git-author:
Frederik Heber <heber@…> (06/19/14 16:26:39)
git-committer:
Frederik Heber <heber@…> (07/14/14 20:37:03)
Message:

logger and errorLogger have new setOutputStream().

  • this allows to redirect the logging streams in a program internally, e.g. in a GUI setting.
  • added unit test on this function.
  • TESTFIX: LogUnitTest used loggerStub which made the tests useless.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Helpers/unittests/LogUnitTest.hpp

    rca940b ref9dff6  
    2020    CPPUNIT_TEST_SUITE( LogTest) ;
    2121    CPPUNIT_TEST ( logTest );
     22    CPPUNIT_TEST ( newOutputTest );
    2223    CPPUNIT_TEST_SUITE_END();
    2324
     
    2526    void setUp();
    2627    void tearDown();
     28    void newOutputTest();
    2729
    2830    void logTest();
Note: See TracChangeset for help on using the changeset viewer.