view 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 source

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);
		}
	}
}