Beispiel #1
0
        public override void TestSetup()
        {
            base.TestSetup();

            _product = new Product
            {
                ImageFilename = "image.jpg",
                FullPath      = @"c:\temp\test",
            };

            _store = new Store
            {
                StoreRootPath = @"c:\temp",
                ImageBasePath = @"c:\inetpub",
                StoreName     = @"temp",
            };
            _converter = new OpenStoreConverter();
        }
Beispiel #2
0
        public override void TestSetup()
        {
            base.TestSetup();

            _converter = new OpenStoreConverter();
            _actual    = _converter.CreateCategoryElements(new Category {
                Id = 1, Name = "name", Parent = new Category {
                    Id = 2
                }
            },
                                                           new Store
            {
                Culture         = new CultureInfo("fr-BE"),
                ImageBasePath   = "ImageBasePath",
                ImageBaseUrl    = "ImageBaseUrl",
                ProductUnitCost = 100,
            });
        }