コード例 #1
0
ファイル: LegacyTest.cs プロジェクト: RobRobertsCE/MVVM
        public void TestDpInsert()
        {
            Legacy test = null;

            try
            {
                test = Legacy.NewObject();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("Inserted", ApplicationContext.GlobalContext["Legacy"]);
        }
コード例 #2
0
ファイル: LegacyTest.cs プロジェクト: RobRobertsCE/MVVM
        public void TestDpCreate()
        {
            Legacy test = Legacy.NewObject();

            Assert.AreEqual("Created", ApplicationContext.GlobalContext["Legacy"]);
        }