diff Agendas/trunk/src/Agendas.Twitter.Tests/Send_twitt_tests.cs @ 108:786a90e26c9b

Los tests ya twittean con la cuenta de altnet-hispano-desa
author Nelo@Kenia.neluz.int
date Tue, 07 Jun 2011 23:07:06 -0300
parents
children 6bd9be78caa0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Twitter.Tests/Send_twitt_tests.cs	Tue Jun 07 23:07:06 2011 -0300
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Net;
+using System.Text;
+using AltNetHispano.Agendas.Twitter;
+using NUnit.Framework;
+using Twitterizer;
+
+namespace Agendas.Twitter.Tests
+{
+	[TestFixture]
+	public class Send_twitt_tests
+	{
+		[Test]
+		public void Send_twitt()
+		{
+			var p = new TwitterPublicador();
+
+			string message;
+			var r = p.Publicar("Hello, #Twitterizer", out message);
+
+			Console.WriteLine(message);
+			Assert.IsTrue(r);
+		}
+	}
+}
\ No newline at end of file