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

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

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

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

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

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