.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@8014 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-12-28 07:03:00 +00:00
parent 471f6089ff
commit 5b13eacfc0
3 changed files with 1661 additions and 0 deletions

View file

@ -34,7 +34,20 @@ CONSOLE_APP_MAIN
Test(msg, 1, 119, "Tato zpráva neobsahuje viry ani jiný škodlivý kód - avast! Antivirus je aktivní.");
Test(msg, 3, 909, "Tato zpráva neobsahuje viry ani jiný škodlivý kód -<a href=");
Test(msg, 4, 309891);
DLOG("=========================================================");
DLOG("----- MSG3.TXT");
msg.Read(LoadDataFile("msg3.txt"));
for(int i = 0; i < msg.GetCount(); i++) {
LOG("== " << i << " ========== " << msg[i]["content-type"]);
String body = msg[i].Decode();
DUMP(body.GetCount());
if(body.GetCount() < 2000)
DUMP(body);
}
DLOG("=========================================================");
String m1 = msg.GetMessage();

View file

@ -6,6 +6,7 @@ uses
file
msg1.txt,
msg2.txt,
msg3.txt,
InetMessage.cpp;
mainconfig

File diff suppressed because it is too large Load diff