コード例 #1
0
        public void _100_DownloadFiles_SendUrls_DownloadFiles()
        {
            if (!Convert.ToBoolean(ConfigurationManager.AppSettings["Test.Download"]))
            {
                Assert.Pass("Download ignored");
            }

            var service = new LotBasedAddressService(this._settings);

            service.DownloadFiles(false);

            foreach (var filename in this._filenames)
            {
                Assert.IsTrue(File.Exists(String.Format("{0}\\{1}", this._downloads, filename)));
            }
        }