Example #1
0
        public void CustomDescriptionPath()
        {
            ts.Stop();
            ts.DescribePath  = "/I/Need/Help";
            ts.AllowDescribe = true;
            ts.Start();

            dynamic doc = GetDocument("I/Need/Help");

            Assert.AreNotEqual(doc.status, "failed");

            ts.Stop();
            ts.DescribePath = "/help";
            ts.Start();
        }
Example #2
0
        public static void StartServer(TestContext context)
        {
            ts                    = new MockService();
            ts.Port               = 9999;
            ts.LogOutput          = null;
            ts.OpenBrowserOnStart = false;
            ts.Start();

            wc = new WebClient();
        }
Example #3
0
        public static void StartServer(TestContext context)
        {
            ts = new MockService();
            ts.Port = 9999;
            ts.LogOutput = null;
            ts.OpenBrowserOnStart = false;
            ts.Start();

            wc = new WebClient();
        }