Minor. Reused tmpdir.

This commit is contained in:
Evgeny Gerashchenko
2013-03-07 14:23:22 +04:00
parent 6c59eedc48
commit d9abbcf288
@@ -83,10 +83,9 @@ public abstract class AbstractLoadJavaTest extends TestCaseWithTmpdir {
return new File(s); return new File(s);
} }
}); });
File tmpDir = JetTestUtils.tmpDir(expectedFile.getName());
Pair<NamespaceDescriptor, BindingContext> javaNamespaceAndContext Pair<NamespaceDescriptor, BindingContext> javaNamespaceAndContext
= compileJavaAndLoadTestNamespaceAndBindingContextFromBinary(files, tmpDir, getTestRootDisposable(), = compileJavaAndLoadTestNamespaceAndBindingContextFromBinary(files, tmpdir, getTestRootDisposable(),
ConfigurationKind.JDK_ONLY); ConfigurationKind.JDK_ONLY);
checkJavaNamespace(expectedFile, javaNamespaceAndContext.first, javaNamespaceAndContext.second); checkJavaNamespace(expectedFile, javaNamespaceAndContext.first, javaNamespaceAndContext.second);