public void GetsRowList() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetRowList(pageMode); Assert.IsTrue(ret.Count > 0); }
public void GetsDocument() { WebSolDownloader dl = new WebSolDownloader(); dl.GetDocument(pageMode); Assert.IsNotNull(dl.Document); }
public void GetsOpenInterestList() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetOpenInterestLists(pageMode); Assert.IsTrue(ret.Count > 0); Assert.IsTrue(dl.CallsDictionary.Count > 0); Assert.IsTrue(dl.PutsDictionary.Count > 0); }
public void GetsOpenInterestList() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetOpenInterestLists(pageMode); Assert.IsTrue(ret.Count > 0); Assert.IsTrue(dl.CallsDictionary.Count > 0); Assert.IsTrue(dl.PutsDictionary.Count > 0); }
public void GetsHeader() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetHeaderDictionary(pageMode); foreach (var item in ret) { Debug.WriteLine(item); } Assert.IsTrue(ret.Count > 0); }
public void GetsContractsList() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetContractList(pageMode); foreach (var item in ret) { Debug.WriteLine($@"{item}"); } Assert.IsTrue(ret.Count > 0); }
public void GetsHeader() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetHeaderDictionary(pageMode); foreach (var item in ret) { Debug.WriteLine(item); } Assert.IsTrue(ret.Count > 0); }
public void GetsContractsList() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetContractList(pageMode); foreach (var item in ret) { Debug.WriteLine($@"{item}"); } Assert.IsTrue(ret.Count > 0); }
public void GetsOpenInterestListFromStream() { WebSolDownloader dl = new WebSolDownloader(); string filename = dl.StorageFile.Replace("{pageMode}", pageMode); using (StreamReader sr = new StreamReader(filename)) { var ret = dl.GetOpenInterestLists(sr, pageMode); } Assert.IsTrue(dl.CallsDictionary.Count > 0); Assert.IsTrue(dl.PutsDictionary.Count > 0); }
public void GetsOpenInterestListFromStream() { WebSolDownloader dl = new WebSolDownloader(); string filename = dl.StorageFile.Replace("{pageMode}", pageMode); using (StreamReader sr = new StreamReader(filename)) { var ret = dl.GetOpenInterestLists(sr, pageMode); } Assert.IsTrue(dl.CallsDictionary.Count > 0); Assert.IsTrue(dl.PutsDictionary.Count > 0); }
public void GetsRowList() { WebSolDownloader dl = new WebSolDownloader(); var ret = dl.GetRowList(pageMode); Assert.IsTrue(ret.Count > 0); }
public void GetsDocument() { WebSolDownloader dl = new WebSolDownloader(); dl.GetDocument(pageMode); Assert.IsNotNull(dl.Document); }