mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@5781 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8617797a98
commit
bff3fea608
3 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
4
upptst/StrToTime/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _StrToTime_icpp_init_stub
|
||||
#define _StrToTime_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue