You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.AreEqual(ImapTokenType.Eoln,token.Type,"Expected new-line, but got: {0}",token);
516
+
517
+
Assert.IsInstanceOf<BodyPartMultipart>(body,"Body types did not match.");
518
+
varmultipart=(BodyPartMultipart)body;
519
+
520
+
Assert.IsTrue(multipart.ContentType.IsMimeType("multipart","mixed"),"multipart/mixed Content-Type did not match.");
521
+
Assert.AreEqual("----=--_DRYORTABLE@@@_@@@8957836_03253840099.78526606923635",multipart.ContentType.Parameters["boundary"],"boundary param did not match");
522
+
Assert.AreEqual(3,multipart.BodyParts.Count,"BodyParts count did not match.");
523
+
524
+
Assert.IsInstanceOf<BodyPartBasic>(multipart.BodyParts[0],"The type of the first child did not match.");
525
+
Assert.IsInstanceOf<BodyPartText>(multipart.BodyParts[1],"The type of the second child did not match.");
526
+
Assert.IsInstanceOf<BodyPartText>(multipart.BodyParts[2],"The type of the third child did not match.");
527
+
528
+
varrelated=(BodyPartBasic)multipart.BodyParts[0];
529
+
Assert.IsTrue(related.ContentType.IsMimeType("multipart","related"),"multipart/related Content-Type did not match.");
530
+
Assert.AreEqual("----=_@@@@BeautyqueenS87@_@147836_6893840099.85426606923635",related.ContentType.Parameters["boundary"],"multipart/related boundary param did not match");
531
+
Assert.AreEqual("7BIT",related.ContentTransferEncoding,"multipart/related Content-Transfer-Encoding did not match.");
532
+
Assert.AreEqual(400,related.Octets,"multipart/related octets do not match.");
0 commit comments