コード例 #1
0
        public override void TestTearDown()
        {
            if (m_mainWnd != null)
            {
                m_mainWnd.CloseViews();

                // Before we close the main window undo anything on the main window's undo stack
                // (separate from the undo stack created when the cache was created).
                UndoAll();

                m_mainWnd.Close();
            }
            m_mainWnd = null;

            base.TestTearDown();
        }