Exemplo n.º 1
0
        public void ReadTest()
        {
            IJobFeedReader <SyndicationItem> reader = new JobFeedReader(FileSystem.GetAbsolutePath(@"Apps\Services\Test\External\PageUp\SampleFeed.xml", RuntimeEnvironment.GetSourceFolder()));
            var posts = reader.GetPosts().ToArray();

            Assert.AreEqual(6, posts.Length);
        }
Exemplo n.º 2
0
        public void TestInitialize()
        {
            IJobFeedReader <SyndicationItem> reader = new JobFeedReader(_feed);

            _posts = reader.GetPosts().ToArray();
        }