mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
29 lines
413 B
C++
29 lines
413 B
C++
#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");
|
|
}
|