Ejemplo n.º 1
0
        public void TestSendHttp()
        {
            Execute.Utils utils = new Execute.Utils();
            utils.Ctor();
            Task <RetObject> t = utils.SendHttp(project_uri);

            Assert.IsInstanceOfType(t, typeof(Task <RetObject>));
            RetObject r = t.Result;

            Assert.IsTrue(r.HttpResponseMessage.StatusCode.Equals(HttpStatusCode.OK));
        }
Ejemplo n.º 2
0
 public void MakeUtils()
 {
     Execute.Utils utils = new Execute.Utils();
     utils.Ctor();
     Assert.IsInstanceOfType(utils, typeof(Execute.Utils));
 }