diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-10-02 13:58:48 +0200 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-10-02 13:58:48 +0200 |
commit | 512a08c13eabcc1d0e6467ee2ba8bf9803f165eb (patch) | |
tree | 0cae9baa7481591fb8d0940088164333413b3d6e | |
parent | f735cbc7eac13452c8833bd13a060970d7c97163 (diff) | |
download | fernflower-512a08c13eabcc1d0e6467ee2ba8bf9803f165eb.tar fernflower-512a08c13eabcc1d0e6467ee2ba8bf9803f165eb.tar.gz fernflower-512a08c13eabcc1d0e6467ee2ba8bf9803f165eb.tar.lz fernflower-512a08c13eabcc1d0e6467ee2ba8bf9803f165eb.tar.xz fernflower-512a08c13eabcc1d0e6467ee2ba8bf9803f165eb.zip |
tests: decompiler test data lookup fixed for particular build configuration
-rw-r--r-- | test/org/jetbrains/java/decompiler/DecompilerTestFixture.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/org/jetbrains/java/decompiler/DecompilerTestFixture.java b/test/org/jetbrains/java/decompiler/DecompilerTestFixture.java index b82b65e..540c998 100644 --- a/test/org/jetbrains/java/decompiler/DecompilerTestFixture.java +++ b/test/org/jetbrains/java/decompiler/DecompilerTestFixture.java @@ -33,6 +33,8 @@ public class DecompilerTestFixture { testDataDir = new File("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("../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)); //noinspection SSBasedInspection |