コード例 #1
0
 public void TestWheelHasDotFeature()
 {
     wheelToTest.DotNumber = 2010;
     extractor             = new PrestoshopWheelPropertyExtractor(wheelToTest, 2, "");
     testValue             = extractor.GetArticleFeatures();
     Assert.IsTrue(testValue.Contains("DOT:2010:8:"));
 }
コード例 #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()
                          ));
 }
コード例 #3
0
 public void TestFeaturesContainsWheelSize()
 {
     testValue = extractor.GetArticleFeatures();
     CheckContains("Reifenbreite:185:1:");
 }
コード例 #4
0
 public void TestWheelHasDotFeature()
 {
     wheelToTest.DotNumber = 2010;
     extractor = new PrestoshopWheelPropertyExtractor(wheelToTest, 2, "");
     testValue = extractor.GetArticleFeatures();
     Assert.IsTrue(testValue.Contains("DOT:2010:8:"));
 }
コード例 #5
0
        public void TestArticleFeatures()
        {
            var testValue = extractor.GetArticleFeatures();

            Assert.AreEqual("", testValue);
        }