From dd93b4ba459ef395f6190d355860d29030c50cc8 Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Fri, 22 Apr 2016 19:20:45 +0200 Subject: [PATCH] write module classpath if forked per module even if all tests were located in one module as classpath could be from the project as per-config (IDEA-155036) --- .../com/intellij/execution/JavaTestFrameworkRunnableState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/execution/impl/src/com/intellij/execution/JavaTestFrameworkRunnableState.java b/java/execution/impl/src/com/intellij/execution/JavaTestFrameworkRunnableState.java index f5ce0f3e0442..f07cb5301613 100644 --- a/java/execution/impl/src/com/intellij/execution/JavaTestFrameworkRunnableState.java +++ b/java/execution/impl/src/com/intellij/execution/JavaTestFrameworkRunnableState.java @@ -369,7 +369,7 @@ public abstract class JavaTestFrameworkRunnableState> perModule) throws FileNotFoundException, UnsupportedEncodingException, CantRunException { - if (perModule != null && perModule.size() > 1) { + if (perModule != null) { final String classpath = getScope() == TestSearchScope.WHOLE_PROJECT ? null : javaParameters.getClassPath().getPathsString();