Ejemplo n.º 1
0
        public void TestDpDeleteSelf()
        {
            LegacySplit test = null;

            try
            {
                test = NewLegacySplit();
                test = test.Save();
                test.Delete();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("SelfDeleted", TestResults.GetResult("LegacySplit"));
        }
Ejemplo n.º 2
0
        public void TestDpDeleteSelf()
        {
            LegacySplit test = null;

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