static private void writeAt(String fileName) { Writing w = new Writing(); w.Setup(fileName); w.Perf_WriteFLAC(); w.Cleanup(); Console.ReadLine(); }
static private void writeOnTmpResource(String fileName) { Writing w = new Writing(); w.Setup(fileName); w.Perf_Write(); w.Cleanup(); Console.ReadLine(); }
static private void writeAt(String fileName) { ConsoleLogger logger = new ConsoleLogger(); Writing w = new Writing(); w.performWrite(fileName); Console.WriteLine(">>> WRITE : END"); Console.ReadLine(); }
static private void writeAt(String filePath) { string testFileLocation = TestUtils.GenerateTempTestFile(filePath); try { //Settings.ForceDiskIO = true; Settings.FileBufferSize = 2 * 1024 * 1024; ConsoleLogger logger = new ConsoleLogger(); Console.WriteLine(">>> WRITE : BEGIN @ " + testFileLocation); Writing w = new Writing(); w.performWrite(testFileLocation); Console.WriteLine(">>> WRITE : END"); Console.ReadLine(); } finally { File.Delete(testFileLocation); } }