예제 #1
0
        public UnitTestNewStyleConfirm()
        {
            string fileName = "./NewStyleConfirm.txt";

            if (!File.Exists(fileName))
            {
                Assert.Fail(fileName + " not found");
                return;
            }

            StreamReader sr = File.OpenText(fileName);

            content = sr.ReadToEnd();

            app            = new Microsoft.Office.Interop.Outlook.Application();
            emailProcessor = new EmailProcessorSpoteryII(app);
            //
        }
예제 #2
0
        public void Setup()
        {
            app = new Microsoft.Office.Interop.Outlook.Application();

            emailProcessor = new EmailProcessorSpotery(app);
            string fileName = "./bookedEmail.txt";

            if (!File.Exists(fileName))
            {
                Assert.Fail(fileName + " not found");
                return;
            }

            StreamReader sr = File.OpenText(fileName);

            content = sr.ReadToEnd();
            //
        }