/// /// Copyright © 2003-2008 JetBrains s.r.o. /// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder). /// using EMAPILib; using JetBrains.Omea.OutlookPlugin; using NUnit.Framework; namespace OutlookPlugin.Tests { [TestFixture]//, Ignore("Investigating test failure on OMNIAMEA-UNIT")] public class DefaultFoldersTests: OutlookTests { [Test] public void OpenDraftsFolderTest() { IEMsgStore msgStore = OutlookSession.GetDefaultMsgStore(); Assert.IsNotNull( msgStore ); IEFolder folder = msgStore.OpenDraftsFolder(); Assert.IsNotNull( folder ); folder.Dispose(); } [Test] public void OpenTasksFolderTest() { IEMsgStore msgStore = OutlookSession.GetDefaultMsgStore(); Assert.IsNotNull( msgStore ); IEFolder folder = msgStore.OpenTasksFolder(); Assert.IsNotNull( folder ); folder.Dispose(); } } }