affected tests should be run by java program runner: test discovery RunProfile should implement ModuleRunProfile

This commit is contained in:
Dmitry Batkovich
2019-03-04 09:01:35 +03:00
parent 38d53817cf
commit 1fce004026
@@ -195,7 +195,11 @@ public abstract class TestDiscoveryConfigurationProducer extends JavaRunConfigur
.collect(Collectors.toCollection(LinkedHashSet::new));
}
private class MyRunProfile implements WrappingRunConfiguration<RunConfiguration>, RunConfiguration, ConfigurationWithCommandLineShortener, RunProfileWithCompileBeforeLaunchOption {
private class MyRunProfile implements WrappingRunConfiguration<RunConfiguration>,
RunConfiguration,
ConfigurationWithCommandLineShortener,
RunProfileWithCompileBeforeLaunchOption,
ModuleRunProfile {
private final Location<PsiMethod>[] myTestMethods;
private final Module myModule;
private final JavaTestConfigurationBase myConfiguration;