git-svn-id: svn://ultimatepp.org/upp/trunk@5781 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-02-10 09:06:57 +00:00
parent 8617797a98
commit bff3fea608
3 changed files with 10 additions and 2 deletions

View file

@ -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;

View file

@ -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(
}

4
upptst/StrToTime/init Normal file
View file

@ -0,0 +1,4 @@
#ifndef _StrToTime_icpp_init_stub
#define _StrToTime_icpp_init_stub
#include "Core/init"
#endif