Changeset 93abe8 for src/unittests


Ignore:
Timestamp:
Apr 2, 2011, 12:11:44 AM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
8e24ef
Parents:
6b898c
git-author:
Frederik Heber <heber@…> (03/14/11 17:54:03)
git-committer:
Frederik Heber <heber@…> (04/02/11 00:11:44)
Message:

Added static and private object counter Info::NumberInfos.

Location:
src/unittests
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/unittests/InfoUnitTest.cpp

    r6b898c r93abe8  
    5959  class Info test(msg);
    6060
    61   CPPUNIT_ASSERT_EQUAL( msg , test.FunctionName );
     61  CPPUNIT_ASSERT_EQUAL( std::string(msg) , test.FunctionName );
    6262  CPPUNIT_ASSERT_EQUAL( 1, test.verbosity );
    6363};
  • src/unittests/Makefile.am

    r6b898c r93abe8  
    1313TESTS = \
    1414        AssertUnitTest \
     15        ChronosUnitTest \
    1516  InfoUnitTest \
    1617  IteratorAdaptorsUnitTest \
     
    4748  $(top_srcdir)/src/Patterns/unittests/stubs/RegistryStub.cpp \
    4849  AssertUnitTest.cpp \
     50        ChronosUnitTest.cpp \
    4951  InfoUnitTest.cpp \
    5052  LogUnitTest.cpp \
     
    8082  $(top_srcdir)/src/Patterns/unittests/stubs/RegistryStub.hpp \
    8183  AssertUnitTest.hpp \
     84        ChronosUnitTest.hpp \
    8285  InfoUnitTest.hpp \
    8386  LogUnitTest.hpp \
     
    8992        AssertUnitTest.hpp
    9093AssertUnitTest_LDADD = ${TESTLIBS}
     94
     95ChronosUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     96        ChronosUnitTest.cpp \
     97        ChronosUnitTest.hpp
     98ChronosUnitTest_LDADD = ${TESTLIBS}
    9199
    92100InfoUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
Note: See TracChangeset for help on using the changeset viewer.