Esempio n. 1
0
        public void TestDpInsert()
        {
            LegacySplit test = LegacySplit.NewObject();

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

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

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

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

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