diff --git a/upptst/MtDraw/main.cpp b/upptst/MtDraw/main.cpp index 203976216..ad6b1a4eb 100644 --- a/upptst/MtDraw/main.cpp +++ b/upptst/MtDraw/main.cpp @@ -23,9 +23,11 @@ void MyApp::Do(int i) // << "@@iml:" << Random(100) * 10 + 100 << "*" << Random(150) * 10 + 100 << "`CtrlImg:exclamation` !!!" << "&This was pass: " << i; if(i & 1) { - RLOG("About to lock, main: " << Thread::IsMain()); + RLOG("Lock: " << i); GuiLock __; + RLOG("Call: " << i); ctrl <<= qtf; + RLOG("Done: " << i); } else { PdfDraw w; diff --git a/upptst/StrToTime/StrToTime.cpp b/upptst/StrToTime/StrToTime.cpp index 3620a60b6..39133703d 100644 --- a/upptst/StrToTime/StrToTime.cpp +++ b/upptst/StrToTime/StrToTime.cpp @@ -2,7 +2,7 @@ using namespace Upp; -void Test(const char *text) +void Test(const char *text, const char *fmt) { Time tm; const char *q = StrToTime(tm, text); @@ -21,5 +21,7 @@ CONSOLE_APP_MAIN Test("15.12.2005 12 foo!"); Test("15.12.2005 foo!"); Test("uck!"); + + ASSERT( } diff --git a/upptst/StrToTime/init b/upptst/StrToTime/init new file mode 100644 index 000000000..fd5c6252a --- /dev/null +++ b/upptst/StrToTime/init @@ -0,0 +1,4 @@ +#ifndef _StrToTime_icpp_init_stub +#define _StrToTime_icpp_init_stub +#include "Core/init" +#endif