mirror of
https://github.com/moparisthebest/fernflower
synced 2024-10-31 23:45:08 -04:00
tests: decompiler test data lookup fixed for particular build configuration
This commit is contained in:
parent
f735cbc7ea
commit
512a08c13e
@ -33,6 +33,8 @@ public class DecompilerTestFixture {
|
|||||||
testDataDir = new File("testData");
|
testDataDir = new File("testData");
|
||||||
if (!isTestDataDir(testDataDir)) testDataDir = new File("community/plugins/java-decompiler/engine/testData");
|
if (!isTestDataDir(testDataDir)) testDataDir = new File("community/plugins/java-decompiler/engine/testData");
|
||||||
if (!isTestDataDir(testDataDir)) testDataDir = new File("plugins/java-decompiler/engine/testData");
|
if (!isTestDataDir(testDataDir)) testDataDir = new File("plugins/java-decompiler/engine/testData");
|
||||||
|
if (!isTestDataDir(testDataDir)) testDataDir = new File("../community/plugins/java-decompiler/engine/testData");
|
||||||
|
if (!isTestDataDir(testDataDir)) testDataDir = new File("../plugins/java-decompiler/engine/testData");
|
||||||
assertTrue("current dir: " + new File("").getAbsolutePath(), isTestDataDir(testDataDir));
|
assertTrue("current dir: " + new File("").getAbsolutePath(), isTestDataDir(testDataDir));
|
||||||
|
|
||||||
//noinspection SSBasedInspection
|
//noinspection SSBasedInspection
|
||||||
|
Loading…
Reference in New Issue
Block a user