コード例 #1
0
        public void Csd_Test_UploadCsd_EmptyCsd()
        {
            var      build    = new BuildSettings();
            CsdUtils csd      = new CsdUtils(build.Url, build.User, build.Password);
            var      response = csd.UploadMyCsd("", build.Key, build.CerPassword, "stamp", true);

            Assert.IsTrue(response.message == "El certificado o llave privada vienen vacios" && response.status == "error");
        }
コード例 #2
0
        public void Csd_Test_UploadCsd()
        {
            var      build    = new BuildSettings();
            CsdUtils csd      = new CsdUtils(build.Url, build.User, build.Password);
            var      response = csd.UploadMyCsd(build.Cer, build.Key, build.CerPassword, "stamp", true);

            Assert.IsTrue(response.data != null && response.status == "success");
        }