mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@11373 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3ffe0463b9
commit
f3b992fc70
3 changed files with 0 additions and 40 deletions
|
|
@ -31,5 +31,3 @@ CONSOLE_APP_MAIN
|
|||
|
||||
LOG("------------- OK");
|
||||
}
|
||||
|
||||
./autot
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
description "Connecting Sqlite3 database\377";
|
||||
|
||||
uses
|
||||
CtrlLib;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "GUI";
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#include <CtrlLib/CtrlLib.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
EditString a, b;
|
||||
IdCtrls idctrls;
|
||||
|
||||
idctrls("A", a)("B", b);
|
||||
|
||||
a <<= "Hello";
|
||||
b <<= "world";
|
||||
|
||||
ValueMap m = ~idctrls;
|
||||
DUMP(m);
|
||||
|
||||
ASSERT(m["A"] == "Hello");
|
||||
ASSERT(m["B"] == "world");
|
||||
|
||||
m("A") = "Test";
|
||||
idctrls <<= m;
|
||||
DUMP(~a);
|
||||
ASSERT(~a == "Test");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue