Skip to content

Commit

Permalink
gui: added unit tests for Piler_Mime_Decoder class
Browse files Browse the repository at this point in the history
Signed-off-by: Janos SUTO <sj@acts.hu>
  • Loading branch information
jsuto committed Oct 22, 2017
1 parent 698cc86 commit def0496
Show file tree
Hide file tree
Showing 14 changed files with 32,561 additions and 0 deletions.
8 changes: 8 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>
43 changes: 43 additions & 0 deletions test_files/1.eml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Return-path: <Postmaster@aaa.fu>
Delivery-date: Tue, 25 Feb 2014 09:38:19 +0100
Received: from 192.168.1.11 by archiv with pop3(bytstor)
Message-Id: <530C6486020000E8000148ED@groupwise.aaa.fu>
X-Mailer: Novell GroupWise Internet Agent 8.0.3
Date: Tue, 25 Feb 2014 09:38:14 +0100
From: "=?ISO-8859-1?Q?Andr=E9=20Tbbbbb?=" <a.tbbbbb@aaa.fu>
Sender: a.tbbbbb@aaa.fu
Reply-To: a.tbbbbb@aaa.fu
Errors-To: Postmaster@aaa.fu
To: andre.tbbbbb@gmx.de
Subject: Wtrlt: Info: RK-Formular - Rechenfunktion
Mime-Version: 1.0
Content-Type: message/rfc822
Delivered-To:: archiv

Date: Tue, 25 Feb 2014 09:37:54 +0100
From: "Iris Bbbbbbbb" <i.bbbbbbbb@aaa.fu>
To: "Angelika Bbbbbb" <a.bbbbbb@aaa.fu>,
"Anke Bbbbbbb" <a.bbbbbbb@aaa.fu>,
"Axel Bbbbbbb" <a.bbbbbbb@aaa.fu>,
"Zentrale" <Zentrale@aaa.fu>
Subject: Info: RK-Formular - Rechenfunktion
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Liebe Gueste,

die Einarbeitung der Rechen- und Summenfunktionen ins RK-Formular
seitens der IT kann auf Grund von vorrangigen Arbeiten z.Zt. nicht
erfolgen.

Die IT geht davon aus, dass dieser Job im April angegangen werden
kann.

Wir bitten um Verst=C3=A4ndnis.

Gru=C3=9F
Iris Bbbbbbbb


113 changes: 113 additions & 0 deletions test_files/2.eml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
Mime-Version: 1.0
X-Mailer: GroupWise 2014 R2
Subject: Wtrlt: Antw: Wichtig! Vorlagen zu E-Mail Signatur
=?UTF-8?Q?ge=C3=A4ndert=20(IWW=20UF=20DOK=20E-Mail=20Signatur)?=
Date: Thu, 22 Jun 2017 13:07:41 +0200
Message-ID: <594BC11D0200008E00030D63@aaa.fu>
References: <594BBAF90200009A00022B3B@aaa.fu>
<594BC11D0200006A000219C8@aaa.fu>
In-Reply-To: <594BC11D0200006A000219C8@aaa.fu>
From: IT-Support <IT-Support@aaa.fu>
To: "Holger Bbbbb" <h.bbbbb@aaa.fu>
Content-Type: multipart/mixed; boundary="____HVDYFKEKOOIYILNVLMUJ____"


--____HVDYFKEKOOIYILNVLMUJ____
Content-Type: message/rfc822
Mime-Version: 1.0
Subject: Antw: Wichtig! Vorlagen zu E-Mail Signatur
=?UTF-8?Q?ge=C3=A4ndert=20(IWW=20UF=20DOK=20E-Mail=20Signatur)?=
Date: Thu, 22 Jun 2017 13:07:41 +0200
Message-ID: <594BC11D0200006A000219C8@aaa.fu>
References: <594BBAF90200009A00022B3B@aaa.fu>
In-Reply-To: <594BBAF90200009A00022B3B@aaa.fu>
From: "Ute Rbbbbbbb" <u.rbbbbbbb@aaa.fu>
To: "Sandra =?UTF-8?B?RmzDvHNz?=" <s.bbbbbb@aaa.fu>, IT-Support
<IT-Support@aaa.fu>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hallo!
Die seltsamen Zeilenumbr=C3=BCche treten tats=C3=A4chlich auf.
Wie soll man das anpassen?
Durch Neueingabe des Textes sind die Zeilenumbr=C3=BCche nicht verschwunden=
.
Gru=C3=9F
Ute
>>> Sandra Fbbbbb 22.06.2017 12:41 >>>
Hallo Zusammen,
das Dokument zur Vorgabe der E-Mail Signaturen wurde =C3=BCberarbeitet und =
in Kraft gesetzt.
Es ist wichtig, dass sich Jeder dieses Dokument durchliest und seine =
E-Mail Signatur entsprechend anpasst (in der alten Version war Herr =
Sch=C3=BCller noch nicht aufgef=C3=BChrt).
Wir haben den Umfang der Signatur so weit es geht reduziert. Dazu der =
Hinweis, dass die noch bei manchen Kollegen eingef=C3=BCgten Disclaimer =
keine rechtliche Grundlage in Deutschland haben und bitte nicht verwendet =
werden!
Bitte auch darauf achten, dass beim Versenden immer das Textformat =
verwendet wird und nicht html (Sicherheitshinweis der IT).
Au=C3=9Ferdem macht es Sinn, die neue E-Mail Signatur an z.B. die private =
E-Mail Anschrift zu senden um zu =C3=BCberpr=C3=BCfen, wie sie beim =
Empf=C3=A4nger ankommt. GroupWise hat manchmal das Problem von seltsamen =
Zeilenumbr=C3=BCchen, obwohl es hier bei uns tadellos aussieht. Das dann =
bitte entsprechend anpassen.
Die aktuellen Hinweise zu Schulungen sind folgende:
-------------- Aktuelle IWW-Veranstaltungen: http://aaa.fu/veranstal=
tungen/ -----------
- Schulungen zur Trinkwasser-Probenahme & VDI-Hygieneschulung K=C3=BChlwass=
er (Jahrestermine)
- 3. Hannover-Fachtagung "Sichere Wasserversorgung - immer und =C3=BCberall=
?" am 13. September 2017
- 3. Westf=C3=A4lische Trinkwassertagung am 27. und 28. September 2017 in =
Paderborn
---------------------------------------------------------------------------=
----------------------------



"Y:\1_Organisationshandbuch\F=C3=BChrungsprozess\IWW UF DOK E-Mail =
Signatur.docx"


Liebe Gr=C3=BC=C3=9Fe,=20
Sandra





Sandra Fbbbbbbbbb
Qualit=C3=A4tsmanagement
=20
=20
AAA AAAA FU
Internet : http://www.aaa.fu, E-Mail : s.bbbbb@aaa.fu=20
Phone: +49 (0)123 44747-0, -990/-995, Fax: -80
=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Aktuelle IWW-Veranstaltungen: http://aaa.fu/veranstaltungen/=20
Schulungen zur Trinkwasser-Probenahme & VDI-Hygieneschulung K=C3=BChlwasse=
r (Jahrestermine)
- 3. Hannover-Fachtagung "Sichere Wasserversorgung - immer und =C3=BCberall=
?" am 13. September 2017
- 3. Westf=C3=A4lische Trinkwassertagung am 27. und 28. September 2017 in =
Germany
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=20
=20

--____HVDYFKEKOOIYILNVLMUJ____--
51 changes: 51 additions & 0 deletions test_files/3.eml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Return-Path: <saezlp@diba.cat>
Delivered-To: sj@acts.hu
Received: from antispam.localhost (localhost [127.0.0.1])
by mail.acts.hu (Postfix) with ESMTP id 332E8100836
for <sj@acts.hu>; Sat, 9 Apr 2016 21:37:12 +0200 (CEST)
Received: 40000000570959f20aafdcdc005e99e63acf
Received: from mx12.diba.cat (mx12.diba.cat [195.76.107.105])
by mail.acts.hu (Postfix) with ESMTP id 0A9CF100834
for <sj@acts.hu>; Sat, 9 Apr 2016 21:37:11 +0200 (CEST)
IronPort-PHdr: =?us-ascii?q?9a23=3A9gSPXBAO7bZzEqlnB10eUyQJP3N1i/DPJgcQr6Af?=
=?us-ascii?q?oPdwSP78pMbcNUDSrc9gkEXOFd2CrakU26yK7Ou5AjJIyK3CmU5BWaQEbwUCh8?=
=?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4?=
=?us-ascii?q?Ov7yUtaLyZ/nh6bupNaKOFsArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff?=
=?us-ascii?q?9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZtVL3mbuwjULZaAT86eyBsvIy4/SXE?=
=?us-ascii?q?GEGO4HUbC00TiRwOCA/AplmuX5H/tXLSs/F7niKdOJulY6ozXGHo1I5GelfMrx?=
=?us-ascii?q?8qBXpxyEz7sOs6xPZAqR+zowRXz4/eaceePeYoLfCVRs8TWWcUBpUZbCdGGI7p?=
=?us-ascii?q?NtMC?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2HIDAB8WAlX/+A5qMBchQ26UwEBCIFyh?=
=?us-ascii?q?g0CK4E9DgEBAQEBAQEBAn4Lgi2CFgUZND4rQxMZBgICAwEEG8MAjyuDK4IrBY4?=
=?us-ascii?q?GiX4BFo9GAY4Vjkw9AQEBCoN/iRp+AgEC?=
X-IPAS-Result: =?us-ascii?q?A2HIDAB8WAlX/+A5qMBchQ26UwEBCIFyhg0CK4E9DgEBAQE?=
=?us-ascii?q?BAQEBAn4Lgi2CFgUZND4rQxMZBgICAwEEG8MAjyuDK4IrBY4GiX4BFo9GAY4Vj?=
=?us-ascii?q?kw9AQEBCoN/iRp+AgEC?=
X-IronPort-AV: E=Sophos;i="5.24,460,1454972400";
d="scan'208";a="2534897"
Received: from swcs500.corpo.ad.diba.es ([192.168.57.224])
by mx12.diba.cat with ESMTP/TLS/AES128-SHA; 09 Apr 2016 21:36:04 +0200
Received: from SWCS632.corpo.ad.diba.es ([fe80::6dde:1d44:19a8:fa5b]) by
SWCS500.corpo.ad.diba.es ([fe80::7978:3b41:53ef:eb8c%14]) with mapi id
14.03.0266.001; Sat, 9 Apr 2016 21:36:04 +0200
From: "SAEZ LOPEZ, PEDRO" <saezlp@diba.cat>
To: "info1@msn.com" <info1@msn.com>
Subject:[spam???]
Thread-Index: AdGSlw19psSEC4FeT2+rI/nehCExEA==
Date: Sat, 9 Apr 2016 19:36:03 +0000
Message-ID: <DEB193C8FF35854B87B83CAC62D4A4CC087B94@SWCS632.corpo.ad.diba.es>
Accept-Language: ca-ES, es-ES, en-US
Content-Language: ca-ES
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.32.58]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Clapf-spamicity: 40000000570959f20aafdcdc005e99e63acf
X-Clapf-spamicity: 0.8622



Can we discuss? Send Reply For more information, THANKS.
Loading

0 comments on commit def0496

Please sign in to comment.