コード例 #1
0
        public static void MyClassCleanup()
        {
            if (_tempPrivateList != null)
            {
                WebCallResult res = _tempPrivateList.Delete();
                Assert.IsTrue(res.Success, "Failed to delete temporary private list on cleanup");
            }

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