Beispiel #1
0
        public void TestDpDeleteSelf()
        {
            Legacy test = null;

            try
            {
                test = NewLegacy();
                test = test.Save();
                test.Delete();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("SelfDeleted", TestResults.GetResult("Legacy"));
        }
Beispiel #2
0
        public void TestDpDeleteSelf()
        {
            Legacy test = null;

            try
            {
                test = Legacy.NewObject();
                test = test.Save();
                test.Delete();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("SelfDeleted", ApplicationContext.GlobalContext["Legacy"]);
        }