summaryrefslogtreecommitdiffstats
path: root/test/org
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-10-02 13:58:48 +0200
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-10-02 13:58:48 +0200
commit512a08c13eabcc1d0e6467ee2ba8bf9803f165eb (patch)
tree0cae9baa7481591fb8d0940088164333413b3d6e /test/org
parentf735cbc7eac13452c8833bd13a060970d7c97163 (diff)
downloadfernflower-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
Diffstat (limited to 'test/org')
-rw-r--r--test/org/jetbrains/java/decompiler/DecompilerTestFixture.java2
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