public void OpenReadTestgZip() { using (var res = ImprovedStream.OpenRead(Path.Combine(m_ApplicationDirectory, "BasicCsV.txt.gz"))) { Assert.IsNotNull(res); Assert.IsNotNull(res.Stream); } }
public void OpenReadTestPGP() { PGPKeyStorageTestHelper.SetApplicationSetting(); using (var res = ImprovedStream.OpenRead(Path.Combine(m_ApplicationDirectory, "BasicCsV.pgp"), () => { return("UGotMe".Encrypt()); })) { Assert.IsNotNull(res); Assert.IsNotNull(res.Stream); } }
public void OpenReadTestSetting() { CsvFile setting = new CsvFile(); setting.FileName = Path.Combine(m_ApplicationDirectory, "BasicCsV.txt"); using (var res = ImprovedStream.OpenRead(setting)) { Assert.IsNotNull(res); Assert.IsNotNull(res.Stream); } }
public void DisposeTest() { var res = ImprovedStream.OpenRead(Path.Combine(m_ApplicationDirectory, "BasicCsV.txt")); res.Dispose(); }