|
|
@ -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.2 2005/03/11 23:18:02 marc |
|
|
|
|
|
|
|
bugfix: linenumbers change at checkin... |
|
|
|
|
|
|
|
|
|
|
|
Revision 1.1 2005/03/11 21:07:55 marc |
|
|
|
Revision 1.1 2005/03/11 21:07:55 marc |
|
|
|
initial version |
|
|
|
initial version |
|
|
|
|
|
|
|
|
|
|
@ -79,26 +82,26 @@ class FunctionTraceTest: public CppUnit::TestFixture { |
|
|
|
void Calls() { |
|
|
|
void Calls() { |
|
|
|
fn(A()); |
|
|
|
fn(A()); |
|
|
|
mrw::RegExp match |
|
|
|
mrw::RegExp match |
|
|
|
("functiontrace_test.cpp:30 - *0x[0-9a-fA-F]+: \\\\ A::A\\(\\)\n" |
|
|
|
("functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::A\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:30 - *0x[0-9a-fA-F]+: / A::A\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::A\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:55 - \\\\ fn\\(A\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - \\\\ fn\\(A\\)\n" |
|
|
|
"functiontrace_test.cpp:36 - *0x[0-9a-fA-F]+: \\\\ A::fn1\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn1\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:40 - *0x[0-9a-fA-F]+: \\\\ A::fn2\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn2\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:45 - *0x[0-9a-fA-F]+: \\\\ A::fn3\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn3\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:45 - *0x[0-9a-fA-F]+: / A::fn3\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn3\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:49 - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn4\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:40 - *0x[0-9a-fA-F]+: / A::fn2\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn2\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:36 - *0x[0-9a-fA-F]+: / A::fn1\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::fn1\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:55 - / fn\\(A\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - / fn\\(A\\)\n" |
|
|
|
"functiontrace_test.cpp:33 - *0x[0-9a-fA-F]+: \\\\ A::~A\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: \\\\ A::~A\\(\\)\n" |
|
|
|
"functiontrace_test.cpp:33 - *0x[0-9a-fA-F]+: / A::~A\\(\\)\n"); |
|
|
|
"functiontrace_test.cpp:[0-9]+ - *0x[0-9a-fA-F]+: / A::~A\\(\\)\n"); |
|
|
|
CPPUNIT_ASSERT(match(mrw::File::read("functiontrace_test.log"))); |
|
|
|
CPPUNIT_ASSERT(match(mrw::File::read("functiontrace_test.log"))); |
|
|
|
mrw::File::remove("functiontrace_test.log"); |
|
|
|
mrw::File::remove("functiontrace_test.log"); |
|
|
|
} |
|
|
|
} |
|
|
|