From 2df49d32a71818227e80a8628688906f2ede8a6a Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 2 Sep 2014 20:56:03 +0400 Subject: java-decompiler: fixes and cleanups - unified attribute loading code - common methods for checking member flags - verifying skip() - correct resource closing - typos --- test/org/jetbrains/java/decompiler/SingleClassesTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/org/jetbrains/java/decompiler/SingleClassesTest.java b/test/org/jetbrains/java/decompiler/SingleClassesTest.java index 291c0e7..02fb612 100644 --- a/test/org/jetbrains/java/decompiler/SingleClassesTest.java +++ b/test/org/jetbrains/java/decompiler/SingleClassesTest.java @@ -33,9 +33,11 @@ public class SingleClassesTest { @Before public void setUp() throws IOException { + //noinspection SSBasedInspection tempDir = File.createTempFile("decompiler_test_", "_dir"); assertTrue(tempDir.delete()); assertTrue(tempDir.mkdirs()); + decompiler = new ConsoleDecompiler(new HashMap() {{ put(IFernflowerPreferences.LOG_LEVEL, "warn"); put(IFernflowerPreferences.DECOMPILE_GENERIC_SIGNATURES, "1"); -- cgit v1.2.3