aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-04 00:24:50 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-04 00:24:50 +0000
commit09f96ad12a5c44a5a1dd05130ba9d7eed3079ba3 (patch)
tree8e6fa71e692788a3372aafe58a459756366d1d79
parentd350c63f60e7ee3352af93aee2a92ee397bd441f (diff)
downloadnewsaggregator-09f96ad12a5c44a5a1dd05130ba9d7eed3079ba3.tar.gz
newsaggregator-09f96ad12a5c44a5a1dd05130ba9d7eed3079ba3.tar.bz2
newsaggregator-09f96ad12a5c44a5a1dd05130ba9d7eed3079ba3.zip
Made new class to test ParserService
-rw-r--r--Aggregator/Tests/ParserServiceTests.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Aggregator/Tests/ParserServiceTests.cs b/Aggregator/Tests/ParserServiceTests.cs
new file mode 100644
index 0000000..eaa1102
--- /dev/null
+++ b/Aggregator/Tests/ParserServiceTests.cs
@@ -0,0 +1,20 @@
+using System;
+using Aggregator.Parser;
+using Aggregator.Classes;
+
+using Xunit;
+
+namespace Aggregator.Tests {
+ public static class ParserServiceTests {
+ private static Config TestConfig = new Config()
+ {
+ Source = "BBC",
+ Title = 0,
+ Description = 1,
+ ArticleLink = 2,
+ ImageLink = 5,
+ PublishDate = 4
+ };
+
+ }
+} \ No newline at end of file