diff options
author | Brandon West <brawest@gmail.com> | 2014-01-06 14:29:57 -0700 |
---|---|---|
committer | Brandon West <brawest@gmail.com> | 2014-01-06 14:29:57 -0700 |
commit | c5f9ddb7b135013547c03ce576e6443a72beef01 (patch) | |
tree | 72126eca67ccd3233d8250b24c07f727220523f1 /SendGrid/Tests/TestUtils.cs | |
parent | 96c7b116a9db2d184f07e659b837145ebe10765d (diff) | |
download | sendgrid-csharp-c5f9ddb7b135013547c03ce576e6443a72beef01.zip sendgrid-csharp-c5f9ddb7b135013547c03ce576e6443a72beef01.tar.gz sendgrid-csharp-c5f9ddb7b135013547c03ce576e6443a72beef01.tar.bz2 |
add dependency on Smtpapi library, remove SMTP functionality
Diffstat (limited to 'SendGrid/Tests/TestUtils.cs')
-rwxr-xr-x | SendGrid/Tests/TestUtils.cs | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/SendGrid/Tests/TestUtils.cs b/SendGrid/Tests/TestUtils.cs deleted file mode 100755 index 48febcf..0000000 --- a/SendGrid/Tests/TestUtils.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using NUnit.Framework;
-using SendGridMail;
-
-namespace Tests
-{
- [TestFixture]
- public class TestUtils
- {
- [Test]
- public void TestSerialize()
- {
- var testcase = "foo";
- String result = Utils.Serialize(testcase);
- Assert.AreEqual("\"foo\"", result);
-
- var testcase2 = 1;
- result = Utils.Serialize(testcase2);
- Assert.AreEqual("1", result);
- }
-
- [Test]
- public void TestSerializeDictionary()
- {
- var test = new Dictionary<string, string>
- {
- {"a", "b"},
- {"c", "d/e"}
- };
- var result = Utils.SerializeDictionary(test);
- var expected = "{\"a\":\"b\",\"c\":\"d\\/e\"}";
- Assert.AreEqual(expected, result);
- }
- }
-}
|