示例#1
0
        public void TestDpInsert()
        {
            LegacySplit test = LegacySplit.NewObject();

            test.Save();
            Assert.AreEqual("Inserted", ApplicationContext.GlobalContext["LegacySplit"]);
        }
示例#2
0
        public void TestDpInsert()
        {
            LegacySplit test = NewLegacySplit();

            test.Save();
            Assert.AreEqual("Inserted", TestResults.GetResult("LegacySplit"));
        }
示例#3
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"));
        }
示例#4
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"]);
        }
示例#5
0
        public void TestDpFetch()
        {
            LegacySplit test = GetLegacySplit(5);

            Assert.AreEqual("Fetched", TestResults.GetResult("LegacySplit"));
        }
示例#6
0
        public void TestDpCreate()
        {
            LegacySplit test = NewLegacySplit();

            Assert.AreEqual("Created", TestResults.GetResult("LegacySplit"));
        }
示例#7
0
 public void TestDpDelete()
 {
     LegacySplit.DeleteObject(5);
     Assert.AreEqual("Deleted", ApplicationContext.GlobalContext["LegacySplit"]);
 }
示例#8
0
        public void TestDpFetch()
        {
            LegacySplit test = LegacySplit.GetObject(5);

            Assert.AreEqual("Fetched", ApplicationContext.GlobalContext["LegacySplit"]);
        }