.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@11373 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-10-12 08:06:30 +00:00
parent 3ffe0463b9
commit f3b992fc70
3 changed files with 0 additions and 40 deletions

View file

@ -31,5 +31,3 @@ CONSOLE_APP_MAIN
LOG("------------- OK");
}
./autot

View file

@ -1,11 +0,0 @@
description "Connecting Sqlite3 database\377";
uses
CtrlLib;
file
main.cpp;
mainconfig
"" = "GUI";

View file

@ -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");
}