From bf06f672f4a9727321279bac8fc6c6fabb0f4010 Mon Sep 17 00:00:00 2001 From: Ankit Agarwal Date: Mon, 4 May 2015 13:25:10 +0530 Subject: [PATCH] MDL-48002: inbound: Add ios fixture --- lib/tests/fixtures/messageinbound/ios.test | 335 +++++++++++++++++++++ 1 file changed, 335 insertions(+) create mode 100644 lib/tests/fixtures/messageinbound/ios.test diff --git a/lib/tests/fixtures/messageinbound/ios.test b/lib/tests/fixtures/messageinbound/ios.test new file mode 100644 index 0000000000000..dff0d728b5b1f --- /dev/null +++ b/lib/tests/fixtures/messageinbound/ios.test @@ -0,0 +1,335 @@ +----CLIENT---- +OS: ios 8.1.1 +Mail Client: ios (iPad Mini Retina) +Client Version: 8.1.1 +Date: 04/05/2015 + +----EXPECTEDPLAIN---- +Sample reply messages: + +Thanks for offering to help with QA testing. I've added you to the testers group in the tracker, so you can now pass or fail QA tests. Hopefully the process is fully explained in http://docs.moodle.org/dev/QA_testing but if there's anything you're not sure about, please post in the testing and QA forum. + + +Thanks for offering to help with QA testing. Please create an account in the Moodle Tracker and let me know your Tracker username then I can add you to the testers group. + + +Thanks for offering to help with QA testing. We recently finished the Moodle 2.8 QA cycle, so our next QA cycle won't be for a while, however you are welcome to try things out on our Moodle QA Testing site http://qa.moodle.net/ and post in the Testing and QA forum http://moodle.org/mod/forum/view.php?id=56 about any issues you come across, or any questions you have. If you come across any bugs (obvious problems), please report them in the Moodle tracker. + + +Thanks for helping with QA testing. Your help would be appreciated even more if you could just add a comment when passing a test, such as feedback about the feature e.g. “Teachers are going to love this” or even simply "This test passes - yippee!" to confirm that the test wasn't accidentally passed without being run. + +Thanks for helping with QA testing. It has been observed that you assigned this issue to yourself for testing, but no action has been taken on this. It will be helpful if you can either test this or un-assign yourself, so someone else can take it. + +----EXPECTEDHTML---- +Sample reply messages: + +Thanks for offering to help with QA testing. I've added you to the testers +group in the tracker, so you can now pass or fail QA tests. Hopefully the +process is fully explained in http://docs.moodle.org/dev/QA_testing [10] +but if there's anything you're not sure about, please post in the testing +and QA forum. + +Thanks for offering to help with QA testing. Please create an account in +the Moodle Tracker and let me know your Tracker username then I can add you +to the testers group. + +Thanks for offering to help with QA testing. We recently finished the +Moodle 2.8 QA cycle, so our next QA cycle won't be for a while, however you +are welcome to try things out on our Moodle QA Testing site +http://qa.moodle.net/ [11] and post in the Testing and QA forum +http://moodle.org/mod/forum/view.php?id=56 [12] about any issues you come +across, or any questions you have. If you come across any bugs (obvious +problems), please report them in the Moodle tracker. + +Thanks for helping with QA testing. Your help would be appreciated even +more if you could just add a comment when passing a test, such as feedback +about the feature e.g. “Teachers are going to love this” or even simply +"This test passes - yippee!" to confirm that the test wasn't accidentally +passed without being run. + +Thanks for helping with QA testing. It has been observed that you assigned +this issue to yourself for testing, but no action has been taken on this. +It will be helpful if you can either test this or un-assign yourself, so +someone else can take it. + +Sent from my iPad + +----FULLSOURCE---- +Delivered-To: moodlehqtest+aaaaaaaaaaiaaaaaaaaaagaaaaaaaaayvgt8xe92mmlgeicg@example.com +Received: by 10.50.159.130 with SMTP id xc2csp1451249igb; + Sun, 3 May 2015 20:02:36 -0700 (PDT) +X-Received: by 10.67.4.230 with SMTP id ch6mr38162348pad.137.1430708556295; + Sun, 03 May 2015 20:02:36 -0700 (PDT) +Return-Path: +Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com. [2607:f8b0:400e:c03::229]) + by mx.google.com with ESMTPS id gl6si17965581pac.197.2015.05.03.20.02.35 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sun, 03 May 2015 20:02:36 -0700 (PDT) +Received-SPF: pass (google.com: domain of andrewrn@example.com designates 2607:f8b0:400e:c03::229 as permitted sender) client-ip=2607:f8b0:400e:c03::229; +Authentication-Results: mx.google.com; + spf=pass (google.com: domain of andrewrn@example.com designates 2607:f8b0:400e:c03::229 as permitted sender) smtp.mail=andrewrn@example.com; + dkim=pass header.i=@example.com; + dmarc=pass (p=NONE dis=NONE) header.from=gmail.com +Received: by mail-pa0-x229.google.com with SMTP id yx8so148925642pac.1 + for ; Sun, 03 May 2015 20:02:35 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=gmail.com; s=20120113; + h=from:content-type:content-transfer-encoding:mime-version:subject + :message-id:date:references:in-reply-to:to; + bh=EZm73X2O6OdzfLc1nsBxWhkpKHmDJNt33U63cRjQHAw=; + b=IX/H6XP5WADMopMjPPQXpvr1Wm9TV67Ru+lWfBKXx8FstY2qSAf4g7P+EtCNBgWnac + qNm6cTY+x3kx/ZPQLfpaQD4+QrEHteu8T4pilbjN0ikpu8K1lRMGXRqDjLf49yNJaXpP + J4kMoye4i+3LA6ffGGer/5gax/s/gZ2M6nD8OCTuCxIVu51etROhDdo5OfsUK5w97R6P + 33bMm6wfzd/OjLrNNaFZydGEHK4qQUgwn7GcYi1cAq7g9SLl1lWT6n65IrhMkaqroDnV + rBYzYdYKhJs2e16r0TBoKh0u+YHtZM9wF/3odFevDPxSnL56+lKUPpTkmuADNEQ+fJw9 + zrMw== +X-Received: by 10.70.140.108 with SMTP id rf12mr38069446pdb.140.1430708555833; + Sun, 03 May 2015 20:02:35 -0700 (PDT) +Return-Path: +Received: from [172.20.255.99] (59-100-142-46.cust.static-ipl.aapt.com.au. [59.100.142.46]) + by mx.google.com with ESMTPSA id yv6sm2329352pac.29.2015.05.03.20.02.34 + for + (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); + Sun, 03 May 2015 20:02:34 -0700 (PDT) +From: Andrew Robert Nicols +Content-Type: multipart/alternative; + boundary=Apple-Mail-97963C5D-72E2-413A-89FF-624233E4337F +Content-Transfer-Encoding: 7bit +Mime-Version: 1.0 (1.0) +Subject: Re: MDL-48002: Testing of MDL-48002 +Message-Id: +Date: Mon, 4 May 2015 11:02:31 +0800 +References: <15b35e982364f0003cea36e7a0464787ee6127fe5c21a54d229021314547699c@banana.per.in.moodle.com> +In-Reply-To: <15b35e982364f0003cea36e7a0464787ee6127fe5c21a54d229021314547699c@banana.per.in.moodle.com> +To: "moodlehqtest+AAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAYvGT8Xe92mmlGEicg@example.com" +X-Mailer: iPad Mail (12B435) + + +--Apple-Mail-97963C5D-72E2-413A-89FF-624233E4337F +Content-Type: text/plain; + charset=utf-8 +Content-Transfer-Encoding: quoted-printable + + =09 +Sample reply messages: + +Thanks for offering to help with QA testing. I've added you to the testers g= +roup in the tracker, so you can now pass or fail QA tests. Hopefully the pro= +cess is fully explained in http://docs.moodle.org/dev/QA_testing but if ther= +e's anything you're not sure about, please post in the testing and QA forum.= + + + +Thanks for offering to help with QA testing. Please create an account in the= + Moodle Tracker and let me know your Tracker username then I can add you to t= +he testers group. + + +Thanks for offering to help with QA testing. We recently finished the Moodle= + 2.8 QA cycle, so our next QA cycle won't be for a while, however you are we= +lcome to try things out on our Moodle QA Testing site http://qa.moodle.net/ a= +nd post in the Testing and QA forum http://moodle.org/mod/forum/view.php?id=3D= +56 about any issues you come across, or any questions you have. If you come a= +cross any bugs (obvious problems), please report them in the Moodle tracker.= + + + +Thanks for helping with QA testing. Your help would be appreciated even more= + if you could just add a comment when passing a test, such as feedback about= + the feature e.g. =E2=80=9CTeachers are going to love this=E2=80=9D or even s= +imply "This test passes - yippee!" to confirm that the test wasn't accidenta= +lly passed without being run. + +Thanks for helping with QA testing. It has been observed that you assigned t= +his issue to yourself for testing, but no action has been taken on this. It= + will be helpful if you can either test this or un-assign yourself, so someo= +ne else can take it. + +Sent from my iPad + +> On 4 May 2015, at 11:02 am, Admin User wrote: +>=20 +> MDL-48002 =C2=BB Forums =C2=BB MDL-48002 =C2=BB Testing of MDL-48002 +> =09 +> Testing of MDL-48002 +> by Admin User - Monday, 4 May 2015, 10:48 AM +> =09 +> We are trying to test that this issue will work as expected. +>=20 +> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis convallis ph= +aretra justo dignissim cursus. Sed sagittis, velit vel scelerisque sollicitu= +din, neque purus pulvinar nisi, quis semper urna dolor nec est. Maecenas ut d= +ui accumsan, tincidunt sem ac, efficitur lorem. Vivamus consequat viverra er= +os eget cursus. Morbi porttitor nunc vehicula consequat laoreet. Pellentesqu= +e ac diam vel libero finibus sodales a fringilla erat. Ut elementum ante ege= +t convallis dignissim. Proin iaculis mauris nec diam maximus, ac scelerisque= + metus tincidunt. Nullam tincidunt turpis ut aliquam volutpat. Vestibulum an= +te ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; D= +onec neque quam, sollicitudin bibendum ipsum id, malesuada convallis orci. +>=20 +> Cras posuere, velit et consectetur euismod, orci ante malesuada libero, eu= + tincidunt tortor elit vitae tellus. Nunc vel felis id metus fringilla lobor= +tis. Sed sit amet ipsum vitae dolor aliquet dapibus eu vel nulla. Sed id dui= + nec nisl hendrerit blandit ut et turpis. Donec dictum nunc mauris, quis pla= +cerat tellus fermentum ac. Phasellus at fermentum quam. Phasellus magna magn= +a, pharetra pharetra pellentesque a, convallis non leo. Nunc ac semper est. U= +t interdum condimentum nunc sit amet sollicitudin. Aenean vitae sodales dolo= +r, vitae porta felis. Aliquam tincidunt posuere lorem sed mollis. Vestibulum= + sed quam convallis, commodo ante et, rhoncus metus. Sed arcu diam, venenati= +s vel urna eu, porta viverra massa. Suspendisse nec consectetur risus, quis h= +endrerit arcu. Ut purus metus, varius sit amet mauris non, posuere ultricies= + velit. Nullam nec luctus lorem. +>=20 +> Proin quis turpis efficitur, auctor dui nec, vulputate ligula. Sed egestas= + facilisis magna nec posuere. Nam nisl nibh, dictum in velit eget, dapibus e= +uismod lacus. Phasellus mollis eros nibh, eu venenatis libero luctus eu. Eti= +am ultricies turpis interdum, rutrum leo sed, sollicitudin lectus. Suspendis= +se potenti. Vestibulum in purus orci. Pellentesque fringilla nunc ac diam tr= +istique pellentesque. Duis tincidunt mi ipsum, ac consequat augue iaculis a.= + Ut ut erat at lacus lobortis facilisis at at ipsum. Aliquam ut nisi posuere= +, dictum arcu id, placerat nisl. Vivamus in ex et lorem tempor iaculis eleme= +ntum quis nunc. +>=20 +> Some more text here. +>=20 +> Now in the reply we will not remove the content and sent a bit of a reply.= + +>=20 +> Reply +> See this post in context +> Unsubscribe from this discussion Unsubscribe from all forums Change your f= +orum digest preferences +> You can reply to this via email. + +--Apple-Mail-97963C5D-72E2-413A-89FF-624233E4337F +Content-Type: text/html; + charset=utf-8 +Content-Transfer-Encoding: quoted-printable + +
 

Sample reply= + messages:


Thanks for offering to help with QA testing. I've added you t= +o the testers group in the tracker, so you can now pass or fail QA tests. Ho= +pefully the process is fully explained in http://docs.moodle.org/dev/QA_tes= +ting but if there's anything you're not sure about, please post in the t= +esting and QA forum.



Thanks for offering to help with QA testing. P= +lease create an account in the Moodle Tracker and let me know your Tracker u= +sername then I can add you to the testers group.


Thanks for offerin= +g to help with QA testing. We recently finished the Moodle 2.8 QA cycle, so o= +ur next QA cycle won't be for a while, however you are welcome to try things= + out on our Moodle QA Testing site http://qa.moodle.net/ and post in the Testing and Q= +A forum http://moodle.org/mod/forum/view.php?id=3D56 about any= + issues you come across, or any questions you have. If you come across any b= +ugs (obvious problems), please report them in the Moodle tracker.

= +

Th= +anks for helping with QA testing. Your help would be appreciated even more i= +f you could just add a comment when passing a test, such as feedback about t= +he feature e.g. =E2=80=9CTeachers are going to love this=E2=80=9D or even si= +mply "This test passes - yippee!" to confirm that the test wasn't accidental= +ly passed without being run.


Thanks for helping with QA testing. It has= + been observed that you assigned this issue to yourself for testing, but no a= +ction has been taken on this.  It will be helpful if you can either tes= +t this or un-assign yourself, so someone else can take it.


Sent from my iPad

On 4 May 2015, at 11:= +02 am, Admin User <andrew@nicols.c= +o.uk> wrote:

+ + +
3D"Picture
Testing of MDL-48002
by Admin User - Monday, 4 May 2015, 10:48 AM= +
 

We are trying to test that this issue will work as expect= +ed.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis conv= +allis pharetra justo dignissim cursus. Sed sagittis, velit vel scelerisque s= +ollicitudin, neque purus pulvinar nisi, quis semper urna dolor nec est. Maec= +enas ut dui accumsan, tincidunt sem ac, efficitur lorem. Vivamus consequat v= +iverra eros eget cursus. Morbi porttitor nunc vehicula consequat laoreet. Pe= +llentesque ac diam vel libero finibus sodales a fringilla erat. Ut elementum= + ante eget convallis dignissim. Proin iaculis mauris nec diam maximus, ac sc= +elerisque metus tincidunt. Nullam tincidunt turpis ut aliquam volutpat. Vest= +ibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia= + Curae; Donec neque quam, sollicitudin bibendum ipsum id, malesuada convalli= +s orci.

Cras posuere, velit et consectetur euismod, orci ante malesuad= +a libero, eu tincidunt tortor elit vitae tellus. Nunc vel felis id metus fri= +ngilla lobortis. Sed sit amet ipsum vitae dolor aliquet dapibus eu vel nulla= +. Sed id dui nec nisl hendrerit blandit ut et turpis. Donec dictum nunc maur= +is, quis placerat tellus fermentum ac. Phasellus at fermentum quam. Phasellu= +s magna magna, pharetra pharetra pellentesque a, convallis non leo. Nunc ac s= +emper est. Ut interdum condimentum nunc sit amet sollicitudin. Aenean vitae s= +odales dolor, vitae porta felis. Aliquam tincidunt posuere lorem sed mollis.= + Vestibulum sed quam convallis, commodo ante et, rhoncus metus. Sed arcu dia= +m, venenatis vel urna eu, porta viverra massa. Suspendisse nec consectetur r= +isus, quis hendrerit arcu. Ut purus metus, varius sit amet mauris non, posue= +re ultricies velit. Nullam nec luctus lorem.

Proin quis turpis efficit= +ur, auctor dui nec, vulputate ligula. Sed egestas facilisis magna nec posuer= +e. Nam nisl nibh, dictum in velit eget, dapibus euismod lacus. Phasellus mol= +lis eros nibh, eu venenatis libero luctus eu. Etiam ultricies turpis interdu= +m, rutrum leo sed, sollicitudin lectus. Suspendisse potenti. Vestibulum in p= +urus orci. Pellentesque fringilla nunc ac diam tristique pellentesque. Duis t= +incidunt mi ipsum, ac consequat augue iaculis a. Ut ut erat at lacus loborti= +s facilisis at at ipsum. Aliquam ut nisi posuere, dictum arcu id, placerat n= +isl. Vivamus in ex et lorem tempor iaculis elementum quis nunc.

Some m= +ore text here.

Now in the reply we will not remove the content and sen= +t a bit of a reply.

+ +

You can reply to this via e= +mail.

+ +
= + +--Apple-Mail-97963C5D-72E2-413A-89FF-624233E4337F-- \ No newline at end of file