diff options
Diffstat (limited to 'Aggregator/Tests/DownloadTests.cs')
-rw-r--r-- | Aggregator/Tests/DownloadTests.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Aggregator/Tests/DownloadTests.cs b/Aggregator/Tests/DownloadTests.cs new file mode 100644 index 0000000..2e8528a --- /dev/null +++ b/Aggregator/Tests/DownloadTests.cs @@ -0,0 +1,15 @@ +using System; +using Classes; +using Parser; +using Xunit; + +namespace Tests { + public class DownloadTests { + [Fact] + public void Test_DownloadXMLSync() { + string xml = Download.DownloadXMLSync("http://feeds.bbci.co.uk/news/rss.xml"); + Assert.True(xml != null); + Console.WriteLine(xml); + } + } +} |