Ejemplo n.º 1
0
        /// <summary>
        /// this is not an actual test.
        /// delete may existing Product at the beginning of the test suite
        /// </summary>
        public void deleteIfExists()
        {
            string[]       ProductPaths        = new string[] { path + alias };
            ArrayList      Products_exists_out = serviceClient.exists(ProductPaths);
            TExists_Return Product_exists_out  = (TExists_Return)Products_exists_out.ToArray()[0];

            if (!Product_exists_out.exists)
            {
                return;
            }

            serviceClient.delete(ProductPaths);
        }
Ejemplo n.º 2
0
 private ArrayList deleteTestProducts()
 {
     return(productServiceClient.delete(productPaths));
 }