--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpurple/protocols/sametime/tests/data/mime-multiline.h Sat Mar 30 03:08:23 2019 -0400 @@ -0,0 +1,40 @@ +{ +/* 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-disposition: inline\r\n" + "mime-version: 1.0\r\n" + "content-type: multipart/related; boundary=related_MWa2f_0aac\r\n" + "\r\n" + "--related_MWa2f_0aac\r\n" + "content-transfer-encoding: 7bit\r\n" + "content-disposition: inline\r\n" + "content-type: text/html\r\n" + "\r\n" + "This is a test of the MIME encoding using a multiline message.\n" + "This is the second line of the message.\r\n" + "\r\n" + "--related_MWa2f_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-disposition: inline\r\n" + "mime-version: 1.0\r\n" + "content-type: multipart/related; boundary=related_MWa2f_0aac\r\n" + "\r\n" + "--related_MWa2f_0aac\r\n" + "content-transfer-encoding: 7bit\r\n" + "content-disposition: inline\r\n" + "content-type: text/html\r\n" + "\r\n" + "This is a test of the MIME encoding using a multiline message.\n" + "\r\n" + "\r\n" + "--related_MWa2f_0aac--\r\n" +},