コード例 #1
0
ファイル: TSDialog.cs プロジェクト: aferin/TizenFX
        public void DialogDispose()
        {
            tlog.Debug(tag, $"DialogDispose START");

            var testingTarget = new MyDialog();

            Assert.IsNotNull(testingTarget, "null handle");
            Assert.IsInstanceOf <Dialog>(testingTarget, "Should return Dialog instance.");

            try
            {
                testingTarget.OnDispose(DisposeTypes.Explicit);
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            tlog.Debug(tag, $"DialogDispose END (OK)");
        }