Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Twitter.Tests/Send_twitt_tests.cs @ 158:734d3f0853bf
Manejando configuración de los publicadores con una sección propia en los .config
Agregando la opción de habilitar / deshabilitar un publicador
author | nelopauselli |
---|---|
date | Fri, 05 Aug 2011 16:55:18 -0300 |
parents | a456eb519e23 |
children |
comparison
equal
deleted
inserted
replaced
157:f17252543cbf | 158:734d3f0853bf |
---|---|
8 public class Send_twitt_tests | 8 public class Send_twitt_tests |
9 { | 9 { |
10 [Test] | 10 [Test] |
11 public void Send_twitt() | 11 public void Send_twitt() |
12 { | 12 { |
13 var p = new TwitterPublicador(); | 13 var p = new TwitterAdapter(); |
14 | 14 |
15 string message; | 15 string message; |
16 var r = p.Publicar("Ejecutando los tests. Hora: " + DateTime.Now, out message); | 16 var r = p.Update("Ejecutando los tests. Hora: " + DateTime.Now, out message); |
17 | 17 |
18 Console.WriteLine(message); | 18 Console.WriteLine(message); |
19 Assert.IsTrue(r); | 19 Assert.IsTrue(r); |
20 } | 20 } |
21 } | 21 } |