public void Delete_EmptyClassData_Failure()
        {
            Reset();
            SearchSpace oSpace = new SearchSpace(_mockServer);
            var         res    = oSpace.Delete();

            Assert.IsFalse(res.Success, "Calling Delete from empty class instance should fail");
        }
Exemplo n.º 2
0
        public static void MyClassCleanup()
        {
            WebCallResult res;

            if (_partition != null)
            {
                res = _partition.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary partition on cleanup.");
            }

            if (_searchSpace != null)
            {
                res = _searchSpace.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary search space on cleanup.");
            }
        }