Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Twitter.Tests/Send_twitt_tests.cs @ 110:a456eb519e23
Lanzando twitts desde el sitio con la cuenta de AltNetHispanoDESA
author | Nelo@Kenia.neluz.int |
---|---|
date | Wed, 08 Jun 2011 07:33:14 -0300 |
parents | 6bd9be78caa0 |
children | 734d3f0853bf |
comparison
equal
deleted
inserted
replaced
109:6bd9be78caa0 | 110:a456eb519e23 |
---|---|
1 using System; | 1 using System; |
2 using System.Collections.Generic; | |
3 using System.IO; | |
4 using System.Linq; | |
5 using System.Net; | |
6 using System.Text; | |
7 using AltNetHispano.Agendas.Twitter; | 2 using AltNetHispano.Agendas.Twitter; |
8 using NUnit.Framework; | 3 using NUnit.Framework; |
9 using Twitterizer; | |
10 | 4 |
11 namespace Agendas.Twitter.Tests | 5 namespace Agendas.Twitter.Tests |
12 { | 6 { |
13 [TestFixture] | 7 [TestFixture] |
14 public class Send_twitt_tests | 8 public class Send_twitt_tests |
17 public void Send_twitt() | 11 public void Send_twitt() |
18 { | 12 { |
19 var p = new TwitterPublicador(); | 13 var p = new TwitterPublicador(); |
20 | 14 |
21 string message; | 15 string message; |
22 var r = p.Publicar("Hello, #Twitterizer. Hora: " + DateTime.Now, out message); | 16 var r = p.Publicar("Ejecutando los tests. Hora: " + DateTime.Now, out message); |
23 | 17 |
24 Console.WriteLine(message); | 18 Console.WriteLine(message); |
25 Assert.IsTrue(r); | 19 Assert.IsTrue(r); |
26 } | 20 } |
27 } | 21 } |