aboutsummaryrefslogtreecommitdiff
path: root/Aggregator/Tests/DownloadTests.cs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-02 13:58:00 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-02 13:58:00 +0000
commitbe6a1f89d2156478de91fb5dc8de612db7a06763 (patch)
treed5c98e30e528dd527753f174bb7755664a191263 /Aggregator/Tests/DownloadTests.cs
parent9407ece5903e4856868ee8234b505e4b2ef32012 (diff)
downloadnewsaggregator-be6a1f89d2156478de91fb5dc8de612db7a06763.tar.gz
newsaggregator-be6a1f89d2156478de91fb5dc8de612db7a06763.tar.bz2
newsaggregator-be6a1f89d2156478de91fb5dc8de612db7a06763.zip
Added tests for DownloadXMLSync
Diffstat (limited to 'Aggregator/Tests/DownloadTests.cs')
-rw-r--r--Aggregator/Tests/DownloadTests.cs15
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);
+ }
+ }
+}