.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@10448 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-11-16 16:53:11 +00:00
parent 3f71f54ac9
commit 7cbbdf26cb
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,29 @@
#include <Core/Core.h>
#include <plugin/zip/zip.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_FILE|LOG_COUT);
FileUnZip unzip(GetDataFile("test.zip"));
String s = unzip.ReadFile();
ASSERT(s.GetCount() > 12000000);
StringStream ss(s);
XmlParser p(ss);
try {
ParseXML(p);
}
catch(XmlError e) {
DLOG(e);
NEVER();
}
LOG("============= OK");
}

View file

@ -0,0 +1,10 @@
uses
Core,
plugin/zip;
file
XmlStream2.cpp;
mainconfig
"" = "";

Binary file not shown.