Esempio n. 1
0
        static private void writeAt(String fileName)
        {
            Writing w = new Writing();

            w.Setup(fileName);
            w.Perf_WriteFLAC();
            w.Cleanup();

            Console.ReadLine();
        }
Esempio n. 2
0
        static private void writeOnTmpResource(String fileName)
        {
            Writing w = new Writing();

            w.Setup(fileName);
            w.Perf_Write();
            w.Cleanup();

            Console.ReadLine();
        }
Esempio n. 3
0
        static private void writeAt(String fileName)
        {
            ConsoleLogger logger = new ConsoleLogger();

            Writing w = new Writing();

            w.performWrite(fileName);
            Console.WriteLine(">>> WRITE : END");

            Console.ReadLine();
        }
Esempio n. 4
0
        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);
            }
        }