Skip to content

Commit 803dbb0

Browse files
committed
fix
1 parent c190c6c commit 803dbb0

82 files changed

Lines changed: 295 additions & 304 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

alfresco-transform-misc/alfresco-transform-misc-boot/src/test/resources/Sample.java.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ public class Sample
4848
return new Sample(mimeType, extension, path, false);
4949
}
5050
}
51-

alfresco-transform-misc/alfresco-transform-misc-boot/src/test/resources/misc_engine_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@
9393
]
9494
}
9595
]
96-
}
96+
}
Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
MIME-Version: 1.0
2-
Received: by 10.000.0.000 with HTTP; Thu, 16 Aug 2012 08:13:29 -0700 (PDT)
3-
Date: Thu, 16 Aug 2012 16:13:29 +0100
4-
Delivered-To: jane.doe@alfresco.com
5-
Message-ID: <CAL0uq1f9vPczLRinL3xB5U_oSSd5U0ob=408nBgosCY0OVFyBw@mail.alfresco.com>
6-
Subject: Attachment test
7-
From: <john.doe@alfresco.com>
8-
To: <jane.doe@alfresco.com>
9-
Content-Type: multipart/alternative;
10-
boundary="----=_NextPart_000_0005_01D06C6A.DBA98EC0"
11-
12-
This is a multipart message in MIME format.
13-
14-
------=_NextPart_000_0005_01D06C6A.DBA98EC0
15-
Content-Type: text/plain;
16-
charset="utf-8"
17-
Content-Transfer-Encoding: 7bit
18-
19-
alternative plain text
20-
21-
------=_NextPart_000_0005_01D06C6A.DBA98EC0
22-
Content-Type: text/html;
23-
charset="utf-8"
24-
Content-Transfer-Encoding: quoted-printable
25-
26-
<div dir=3D"ltr">alternative html text</div>
27-
28-
------=_NextPart_000_0005_01D06C6A.DBA98EC0--
29-
Parts form an multipart/alternative should represent the same content in different formats
30-
In this eml example the content differs with the purpose of determining if right part was used in transformation
1+
MIME-Version: 1.0
2+
Received: by 10.000.0.000 with HTTP; Thu, 16 Aug 2012 08:13:29 -0700 (PDT)
3+
Date: Thu, 16 Aug 2012 16:13:29 +0100
4+
Delivered-To: jane.doe@alfresco.com
5+
Message-ID: <CAL0uq1f9vPczLRinL3xB5U_oSSd5U0ob=408nBgosCY0OVFyBw@mail.alfresco.com>
6+
Subject: Attachment test
7+
From: <john.doe@alfresco.com>
8+
To: <jane.doe@alfresco.com>
9+
Content-Type: multipart/alternative;
10+
boundary="----=_NextPart_000_0005_01D06C6A.DBA98EC0"
11+
12+
This is a multipart message in MIME format.
13+
14+
------=_NextPart_000_0005_01D06C6A.DBA98EC0
15+
Content-Type: text/plain;
16+
charset="utf-8"
17+
Content-Transfer-Encoding: 7bit
18+
19+
alternative plain text
20+
21+
------=_NextPart_000_0005_01D06C6A.DBA98EC0
22+
Content-Type: text/html;
23+
charset="utf-8"
24+
Content-Transfer-Encoding: quoted-printable
25+
26+
<div dir=3D"ltr">alternative html text</div>
27+
28+
------=_NextPart_000_0005_01D06C6A.DBA98EC0--
29+
Parts form an multipart/alternative should represent the same content in different formats
30+
In this eml example the content differs with the purpose of determining if right part was used in transformation
Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
MIME-Version: 1.0
2-
Received: by 10.000.0.000 with HTTP; Thu, 16 Aug 2012 08:13:29 -0700 (PDT)
3-
Date: Thu, 16 Aug 2012 16:13:29 +0100
4-
Delivered-To: jane.doe@alfresco.com
5-
Message-ID: <CAL0uq1f9vPczLRinL3xB5U_oSSd5U0ob=408nBgosCY0OVFyBw@mail.alfresco.com>
6-
Subject: Attachment test
7-
From: <john.doe@alfresco.com>
8-
To: <jane.doe@alfresco.com>
9-
Content-Type: multipart/mixed;
10-
boundary="----=_NextPart_000_0000_01D06C6A.D04F3750"
11-
12-
This is a multipart message in MIME format.
13-
14-
------=_NextPart_000_0000_01D06C6A.D04F3750
15-
Content-Type: multipart/alternative;
16-
boundary="----=_NextPart_001_0001_01D06C6A.D04F3750"
17-
18-
19-
------=_NextPart_001_0001_01D06C6A.D04F3750
20-
Content-Type: text/plain;
21-
charset="utf-8"
22-
Content-Transfer-Encoding: 7bit
23-
24-
Mail with attachment content
25-
26-
------=_NextPart_001_0001_01D06C6A.D04F3750
27-
Content-Type: text/html;
28-
charset="utf-8"
29-
Content-Transfer-Encoding: quoted-printable
30-
31-
<div dir=3D"ltr">Mail with attachment content</div>
32-
33-
------=_NextPart_001_0001_01D06C6A.D04F3750--
34-
35-
------=_NextPart_000_0000_01D06C6A.D04F3750
36-
Content-Type: text/plain;
37-
name="alt.txt"
38-
Content-Transfer-Encoding: quoted-printable
39-
Content-ID: <796B1E07B04ACC41A78199F35721150F@eurprd04.prod.outlook.com>
40-
Content-Disposition: attachment;
41-
filename="alt.txt"
42-
43-
File attachment content
44-
------=_NextPart_000_0000_01D06C6A.D04F3750--
1+
MIME-Version: 1.0
2+
Received: by 10.000.0.000 with HTTP; Thu, 16 Aug 2012 08:13:29 -0700 (PDT)
3+
Date: Thu, 16 Aug 2012 16:13:29 +0100
4+
Delivered-To: jane.doe@alfresco.com
5+
Message-ID: <CAL0uq1f9vPczLRinL3xB5U_oSSd5U0ob=408nBgosCY0OVFyBw@mail.alfresco.com>
6+
Subject: Attachment test
7+
From: <john.doe@alfresco.com>
8+
To: <jane.doe@alfresco.com>
9+
Content-Type: multipart/mixed;
10+
boundary="----=_NextPart_000_0000_01D06C6A.D04F3750"
11+
12+
This is a multipart message in MIME format.
13+
14+
------=_NextPart_000_0000_01D06C6A.D04F3750
15+
Content-Type: multipart/alternative;
16+
boundary="----=_NextPart_001_0001_01D06C6A.D04F3750"
17+
18+
19+
------=_NextPart_001_0001_01D06C6A.D04F3750
20+
Content-Type: text/plain;
21+
charset="utf-8"
22+
Content-Transfer-Encoding: 7bit
23+
24+
Mail with attachment content
25+
26+
------=_NextPart_001_0001_01D06C6A.D04F3750
27+
Content-Type: text/html;
28+
charset="utf-8"
29+
Content-Transfer-Encoding: quoted-printable
30+
31+
<div dir=3D"ltr">Mail with attachment content</div>
32+
33+
------=_NextPart_001_0001_01D06C6A.D04F3750--
34+
35+
------=_NextPart_000_0000_01D06C6A.D04F3750
36+
Content-Type: text/plain;
37+
name="alt.txt"
38+
Content-Transfer-Encoding: quoted-printable
39+
Content-ID: <796B1E07B04ACC41A78199F35721150F@eurprd04.prod.outlook.com>
40+
Content-Disposition: attachment;
41+
filename="alt.txt"
42+
43+
File attachment content
44+
------=_NextPart_000_0000_01D06C6A.D04F3750--

alfresco-transform-misc/alfresco-transform-misc-boot/src/test/resources/quick.eml_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
"{http://www.alfresco.org/model/content/1.0}subjectline" : "The quick brown fox jumps over the lazy dog",
1313
"{http://www.alfresco.org/model/imap/1.0}messageFrom" : "Nevin Nollop <nevin.nollop@alfresco.com>",
1414
"{http://www.alfresco.org/model/content/1.0}originator" : "Nevin Nollop <nevin.nollop@alfresco.com>"
15-
}
15+
}
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
MIME-Version: 1.0
2-
Received: by 10.000.0.000 with HTTP; Thu, 16 Aug 2012 08:13:29 -0700 (PDT)
3-
Date: Thu, 16 Aug 2012 16:13:29 +0100
4-
Delivered-To: jane.doe@alfresco.com
5-
Message-ID: <CAL0uq1f9vPczLRinL3xB5U_oSSd5U0ob=408nBgosCY0OVFyBw@mail.alfresco.com>
6-
Subject: Attachment test
7-
From: <john.doe@alfresco.com>
8-
To: <jane.doe@alfresco.com>
9-
Content-Type: multipart/alternative;
10-
boundary="----=_NextPart_000_0005_01D06C6A.DBA98EC0"
11-
12-
This is a multipart message in MIME format.
13-
14-
------=_NextPart_000_0005_01D06C6A.DBA98EC0
15-
Content-Type: text/plain;
16-
charset="utf-8"
17-
Content-Transfer-Encoding: 7bit
18-
19-
html special characters
20-
21-
------=_NextPart_000_0005_01D06C6A.DBA98EC0
22-
Content-Type: text/html;
23-
charset="utf-8"
24-
Content-Transfer-Encoding: quoted-printable
25-
26-
<div dir=3D"ltr">html&nbsp;special&nbsp;characters</div>
27-
28-
------=_NextPart_000_0005_01D06C6A.DBA98EC0--
1+
MIME-Version: 1.0
2+
Received: by 10.000.0.000 with HTTP; Thu, 16 Aug 2012 08:13:29 -0700 (PDT)
3+
Date: Thu, 16 Aug 2012 16:13:29 +0100
4+
Delivered-To: jane.doe@alfresco.com
5+
Message-ID: <CAL0uq1f9vPczLRinL3xB5U_oSSd5U0ob=408nBgosCY0OVFyBw@mail.alfresco.com>
6+
Subject: Attachment test
7+
From: <john.doe@alfresco.com>
8+
To: <jane.doe@alfresco.com>
9+
Content-Type: multipart/alternative;
10+
boundary="----=_NextPart_000_0005_01D06C6A.DBA98EC0"
11+
12+
This is a multipart message in MIME format.
13+
14+
------=_NextPart_000_0005_01D06C6A.DBA98EC0
15+
Content-Type: text/plain;
16+
charset="utf-8"
17+
Content-Transfer-Encoding: 7bit
18+
19+
html special characters
20+
21+
------=_NextPart_000_0005_01D06C6A.DBA98EC0
22+
Content-Type: text/html;
23+
charset="utf-8"
24+
Content-Transfer-Encoding: quoted-printable
25+
26+
<div dir=3D"ltr">html&nbsp;special&nbsp;characters</div>
27+
28+
------=_NextPart_000_0005_01D06C6A.DBA98EC0--

alfresco-transform-misc/alfresco-transform-misc-boot/src/test/resources/quick.html_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"{http://www.alfresco.org/model/content/1.0}author": "Nevin Nollop",
33
"{http://www.alfresco.org/model/content/1.0}description": "Gym class featuring a brown fox and lazy dog",
44
"{http://www.alfresco.org/model/content/1.0}title": "The quick brown fox jumps over the lazy dog"
5-
}
5+
}

alfresco-transform-misc/alfresco-transform-misc-boot/src/test/resources/quick.japanese.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
</body>
1111

12-
</html>
12+
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"{http://www.alfresco.org/model/content/1.0}title" : "確認した結果を添付しますので、確認してください"
3-
}
3+
}
Binary file not shown.

0 commit comments

Comments
 (0)