Пример #1
0
        public void TestSingleImageUrl()
        {
            testArticle.InfoLink = "";
            InitExtractor();
            var testValue = extractor.GetImageUrls();

            Assert.AreEqual(testArticle.ImageLink, testValue);
        }
Пример #2
0
 public string GetCSVLine()
 {
     return(String.Format(CSVConstants.PrestoFormatLine,
                          propertyExtractor.GetArticleId(),
                          propertyExtractor.GetArticleName(),
                          propertyExtractor.GetCategory(),
                          propertyExtractor.GetMargedPrice(),
                          propertyExtractor.GetArticleOriginalPrice(),
                          propertyExtractor.GetManufactorer(),
                          propertyExtractor.GetAvailability(),
                          propertyExtractor.GetShortDescription(),
                          propertyExtractor.GetDescription(),
                          propertyExtractor.GetArticleTags(),
                          propertyExtractor.GetImageUrls(),
                          propertyExtractor.GetArticleFeatures()
                          ));
 }