Example #1
0
        public void TestDpDeleteSelf()
        {
            Single test = null;

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

            try
            {
                test = Single.NewObject();
                test = test.Save();
                test.Delete();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("SelfDeleted", ApplicationContext.GlobalContext["Single"]);
        }
Example #3
0
        public void TestDpInsert()
        {
            Single test = null;

            try
            {
                test = NewSingle();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("Inserted", TestResults.GetResult("Single"));
        }