예제 #1
0
        public void OpenFolderTest()
        {
            string  path     = string.Empty;  // TODO: Initialize to an appropriate value
            Pst     target   = new Pst(path); // TODO: Initialize to an appropriate value
            string  name     = string.Empty;  // TODO: Initialize to an appropriate value
            IFolder expected = null;          // TODO: Initialize to an appropriate value
            IFolder actual;

            actual = target.OpenFolder(name);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
예제 #2
0
        public void GetTopIMFFolder()
        {
            using (IPst pstFile = new Pst(@"Resources\small_test.pst"))
            {
                var topId = pstFile.GetTopIPMFolderId();
                Assert.AreNotEqual(0, topId);

                var topFolder = pstFile.OpenFolder(topId);

                Assert.IsNotNull(topFolder);
            }
        }