Lucene.Net.Util.LuceneTestCase.RegisterToRemoveAfterSuite C# (CSharp) Method

RegisterToRemoveAfterSuite() private static method

Register temporary folder for removal after the suite completes.
private static RegisterToRemoveAfterSuite ( FileSystemInfo f ) : void
f FileSystemInfo
return void
        private static void RegisterToRemoveAfterSuite(FileSystemInfo f)
        {
            Debug.Assert(f != null);

            if (LuceneTestCase.LEAVE_TEMPORARY)
            {
                Console.Error.WriteLine("INFO: Will leave temporary file: " + f.FullName);
                return;
            }

            CleanupQueue.Enqueue(f.FullName);
        }