Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }