Esempio n. 1
0
        public static void MyClassInitialize(TestContext testContext)
        {
            IISAgent.Start("/site:\"BoggleService\" /apppool:\"Clr4IntegratedAppPool\"");
            string filesdir   = Directory.GetParent(Directory.GetParent(Directory.GetParent(AppDomain.CurrentDomain.BaseDirectory).ToString()).ToString()).ToString();
            string dictionary = filesdir + @"\dictionary.txt";
            string boggle     = filesdir + @"\boggle.xml";

            File.Copy(boggle, "boggle.xml", true);
            File.Copy(dictionary, "dictionary.txt", true);
        }
Esempio n. 2
0
 public static void MyClassCleanup()
 {
     IISAgent.Stop();
 }