Example #1
0
        public TestRun GetTestRun(IBlobStorageDb blobStore)
        {
            var blobref = GetOnlyBlobId();
            var bytes   = blobStore.GetBytes(blobref);

            return(Deserialize <TestRun>(bytes));
        }
 public TestcaseAttachmentCollector(IBlobStorageDb blobStore)
 {
     _blobStore = blobStore;
 }
Example #3
0
        public static X509Certificate2 GetCertificateFromBlobStorage(string thumb, string privatekeypassword, IBlobStorageDb blobStorage)
        {
            var certBlob = blobStorage.GetBytes(thumb);

            return(new X509Certificate2(certBlob, privatekeypassword, X509KeyStorageFlags.Exportable));
        }