예제 #1
0
        //[TestMethod]
        public void GetProductsTest()
        {
            var target = new N11Service();

            target.GetProducts();

            Assert.IsTrue(true);
        }
예제 #2
0
        //[TestMethod]
        public void GetCategoriesTest()
        {
            var target = new N11Service();

            target.GetCategories();

            Assert.IsTrue(true);
        }
예제 #3
0
        //[TestMethod]
        public void CallPostTest()
        {
            var target = new N11Service();

            //target.CallPost();

            Assert.IsTrue(true);
        }
예제 #4
0
        //[TestMethod]
        public void CreateProductTest()
        {
            var target = new N11Service();

            //target.GetShipmentTemplates();

            var prod = new ProductModel
                       {
                           stockCode = "91.000015",
                           title = "TIMBERLAND 18617 KADIN AYAKKABI",
                           label = "TIMBERLAND 18617 KADIN AYAKKABI",
                           details = "TIMBERLAND 18617 KADIN AYAKKABI<br />",
                           displayPrice = 209,
                           picture1Path = "http://www.elektrostil.com/modules/catalog/products/pr_01_3448119_max.jpg?rev=1382934834",
                           stockAmount = 23
                       };

            target.CreateProduct(prod, 1520, null);

            Assert.IsTrue(true);
        }
예제 #5
0
        public void UpdateProductsTest()
        {
            if (String.IsNullOrWhiteSpace(" "))
            {
                return;
            }

            var target = new N11Service();

            target.UpdateProducts();

            Assert.IsTrue(true);
        }
예제 #6
0
파일: Form1.cs 프로젝트: ertanyavuz/GGyor
 private void Form1_Load(object sender, EventArgs e)
 {
     service = new N11Service();
     rowAttributeTable = new Dictionary<string, List<KeyValuePair<string, string>>>();
 }