libpurple/protocols/sametime/tests/data/mime-multiline.h

Fri, 15 Nov 2019 05:16:04 -0500

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Fri, 15 Nov 2019 05:16:04 -0500
changeset 40196
7690a049a466
parent 39526
4f678f514b69
permissions
-rw-r--r--

Fix sametime mime generation tests on clang.

Apparently, it re-orders the random generator calls, resulting in
different test results, but we don't really care about actual numbers.

{
/* A message with multiple lines. */
.name = "multiline",
.html =
	"This is a test of the MIME encoding using a multiline message.\n"
	"This is the second line of the message.",
.mime =
	"Content-Type: multipart/related; boundary=related_MWc7f_0aac\r\n"
	"Mime-Version: 1.0\r\n"
	"Content-Disposition: inline\r\n"
	"\r\n"
	"--related_MWc7f_0aac\r\n"
	"Content-Type: text/html; charset=us-ascii\r\n"
	"Content-Disposition: inline\r\n"
	"Content-Transfer-Encoding: 7bit\r\n"
	"\r\n"
	"This is a test of the MIME encoding using a multiline message.\r\n"
	"This is the second line of the message.\r\n"
	"--related_MWc7f_0aac--\r\n"
},
{
/* A message that ends with a newline. */
.name = "trailing-newline",
.html = "This is a test of the MIME encoding using a multiline message.\n",
.mime =
	"Content-Type: multipart/related; boundary=related_MWc7f_0aac\r\n"
	"Mime-Version: 1.0\r\n"
	"Content-Disposition: inline\r\n"
	"\r\n"
	"--related_MWc7f_0aac\r\n"
	"Content-Type: text/html; charset=us-ascii\r\n"
	"Content-Disposition: inline\r\n"
	"Content-Transfer-Encoding: 7bit\r\n"
	"\r\n"
	"This is a test of the MIME encoding using a multiline message.\r\n"
	"\r\n"
	"--related_MWc7f_0aac--\r\n"
},

mercurial