Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public java.io.File prepareDirectoryForTest(String test) throws java.io.IOException
        public virtual File PrepareDirectoryForTest(string test)
        {
            string dir = DigestUtils.md5Hex(_jvmExecutionHash + test);

            EvaluateClassBaseTestFolder();
            Register(test, dir);
            return(CleanDirectory(dir));
        }
Exemplo n.º 2
0
 private string RandomFolderName()
 {
     return(DigestUtils.md5Hex(Convert.ToString(ThreadLocalRandom.current().nextLong())));
 }