mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit: include in rerun tests from dependant modules if initial configuration was configured on module with dependencies (IDEA-161400)
This commit is contained in:
@@ -67,6 +67,13 @@ public class TestMethods extends TestMethod {
|
||||
return javaParameters;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public SourceScope getSourceScope() {
|
||||
final JUnitConfiguration.Data data = getConfiguration().getPersistentData();
|
||||
return data.getScope().getSourceScope(getConfiguration());
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean configureByModule(Module module) {
|
||||
return super.configureByModule(module) && getConfiguration().getPersistentData().getScope() != TestSearchScope.WHOLE_PROJECT;
|
||||
|
||||
Reference in New Issue
Block a user