[smuxi: 89/111] Engine-Tests: cover RFC smart link



commit d06f978010ea9cbba0d1c8e36c95f2c9b3b43b29
Author: Mirco Bauer <meebey meebey net>
Date:   Tue Jan 21 07:40:37 2014 +0100

    Engine-Tests: cover RFC smart link

 src/Engine-Tests/MessageBuilderTests.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/Engine-Tests/MessageBuilderTests.cs b/src/Engine-Tests/MessageBuilderTests.cs
index 53093cd..f5020fb 100644
--- a/src/Engine-Tests/MessageBuilderTests.cs
+++ b/src/Engine-Tests/MessageBuilderTests.cs
@@ -564,6 +564,16 @@ namespace Smuxi.Engine
         }
 
         [Test]
+        public void AppendMessageWithSmartLinks()
+        {
+            var msg = "RFC2812";
+            var builder = new MessageBuilder();
+            builder.TimeStamp = DateTime.MinValue;
+            builder.Append(new UrlMessagePartModel("http://www.ietf.org/rfc/rfc2812.txt";, "RFC2812"));
+            TestMessage(msg, builder.ToMessage());
+        }
+
+        [Test]
         public void AppendBrokenMail()
         {
             var msg = "mailto:/larry google com";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]