check whether shared libraries are evaluated

master
Marc Wäckerlin 20 years ago
parent 8d5c98e8c0
commit dd678d1498
  1. 7
      mrw/stacktrace_test.cpp

@ -9,6 +9,9 @@
@license LGPL, see file <a href="license.html">COPYING</a> @license LGPL, see file <a href="license.html">COPYING</a>
$Log$ $Log$
Revision 1.5 2004/10/13 10:49:12 marc
check whether shared libraries are evaluated
Revision 1.4 2004/08/28 16:21:25 marc Revision 1.4 2004/08/28 16:21:25 marc
mrw-c++-0.92 (mrw) mrw-c++-0.92 (mrw)
- new file: version.cpp - new file: version.cpp
@ -43,6 +46,10 @@ namespace mrw {
CPPUNIT_ASSERT(pos!=std::string::npos); CPPUNIT_ASSERT(pos!=std::string::npos);
CPPUNIT_ASSERT(st.find("mrw::StackTraceTest::StackTrace()", pos) CPPUNIT_ASSERT(st.find("mrw::StackTraceTest::StackTrace()", pos)
< st.size()); < st.size());
CPPUNIT_ASSERT(st.find("CppUnit::TestCase::run")
< st.size());
CPPUNIT_ASSERT(st.find("????:0 ????")
>= st.size());
} }
CPPUNIT_TEST_SUITE(StackTraceTest); CPPUNIT_TEST_SUITE(StackTraceTest);
CPPUNIT_TEST(StackTrace); CPPUNIT_TEST(StackTrace);

Loading…
Cancel
Save