diff --git a/upptst/LZ4Progress/LZ4Progress.cpp b/upptst/LZ4Progress/LZ4Progress.cpp index 6c4f4abb4..c06a67949 100644 --- a/upptst/LZ4Progress/LZ4Progress.cpp +++ b/upptst/LZ4Progress/LZ4Progress.cpp @@ -9,7 +9,7 @@ CONSOLE_APP_MAIN StdLogSetup(LOG_COUT|LOG_FILE); String data = LoadFile("C:/xxx/xxx/upp-x11-src-9041.tar"); - EventGate cp, dp; + Gate cp, dp; cp << [](int64 pos, int64 size) -> bool { DLOG("Compress: " << pos << " " << size); return false; }; dp << [](int64 pos, int64 size) -> bool { DLOG("DeCompress: " << pos << " " << size); return false; }; diff --git a/upptst/ReportTest2/ReportTest2.upp b/upptst/ReportTest2/ReportTest2.upp new file mode 100644 index 000000000..14ccea71b --- /dev/null +++ b/upptst/ReportTest2/ReportTest2.upp @@ -0,0 +1,10 @@ +uses + CtrlLib, + Report; + +file + main.cpp; + +mainconfig + "" = "GUI"; + diff --git a/upptst/ReportTest2/init b/upptst/ReportTest2/init new file mode 100644 index 000000000..47d047521 --- /dev/null +++ b/upptst/ReportTest2/init @@ -0,0 +1,5 @@ +#ifndef _ReportTest2_icpp_init_stub +#define _ReportTest2_icpp_init_stub +#include "CtrlLib/init" +#include "Report/init" +#endif diff --git a/upptst/ReportTest2/main.cpp b/upptst/ReportTest2/main.cpp new file mode 100644 index 000000000..701b0c062 --- /dev/null +++ b/upptst/ReportTest2/main.cpp @@ -0,0 +1,21 @@ +#include + +using namespace Upp; + +GUI_APP_MAIN +{ + Report r; + + static const String sDotLine = "}}&[A+1H8;h(255.50.25)L1 &]{{25:10:10:10:10:10~a0"; + static const String sLine = "}}&[A+1H8;h(255.50.25) &]{{25:10:10:10:10:10~a0"; + + String qtf2; + qtf2 << "[A+59 {{25:10:10:10:10:10~a0 " + << "[@(255.50.25)* [ KLÍČOVÉ SLOVO]:: [> ZOBRAZENÍ]:: [> KLIKY]:: [> CTR]:: " + << "[> CENA]:: [> CPC]]" + << sLine << ' '; + qtf2 << "]" << sDotLine << ' ' << "}}"; + + r << "^^" + qtf2 + "^^next page^^nextpage"; + Perform(r); +}