Commit Graph

1240 Commits

Author SHA1 Message Date
Vladimir Krivosheev
4d3eb96aae deprecate Extensions.getExtensions(ExtensionPointName) in favour of ExtensionPointName.getExtensionList() 2018-09-25 15:42:23 +02:00
Anna.Kozlova
c37b3d8a7d pattern test configurations: respect tests order when try to reuse existing configuration (IDEA-167855) 2018-09-24 18:42:35 +02:00
Alexey Kudravtsev
591a3f67c0 cleanup: replace list.stream().filter.collect(toList()) with ContainerUtil.filter 2018-09-24 12:33:00 +03:00
Vladimir Krivosheev
88bda90003 add NodeJsRcTest 2018-09-22 19:35:19 +03:00
Vladimir Krivosheev
3921041c4e RunConfigurationBase - base implementation of PersistenceStateComponent 2018-09-22 09:18:58 +03:00
Anna.Kozlova
3836e53cb4 ensure notifications performed in EDT 2018-09-21 19:37:01 +02:00
Egor Ushakov
6303b809c8 made attach action dumb aware 2018-09-18 19:57:07 +03:00
Sergey Ignatov
8893223ac5 IDEA-198819 "Show affected tests" shouldn't traverse PSI in EDT
simplify and use atomic ref with set for the cache of ids

on IDEA-CR-36968
2018-09-17 16:41:28 +03:00
Vladimir Krivosheev
1e26c6c926 BaseState object property must allow only base state as parent type, add test for Compound RC serialization 2018-09-17 09:05:49 +03:00
Sergey Ignatov
c369bbcc1b IDEA-198819 "Show affected tests" shouldn't traverse PSI in EDT
wrap code with isDisposed/Shutdown checks

on IDEA-CR-36968
2018-09-15 10:53:06 +03:00
Sergey Ignatov
c14760e979 IDEA-198819 "Show affected tests" shouldn't traverse PSI in EDT
use ScheduledExecutorService instead of running updates in pooled thread

on IDEA-CR-36968
2018-09-15 01:18:14 +03:00
Sergey Ignatov
70cbc54dca IDEA-198819 "Show affected tests" shouldn't traverse PSI in EDT
on IDEA-CR-36968
2018-09-14 01:41:04 +03:00
Sergey Ignatov
b9f075c3dc IDEA-198819 "Show affected tests" shouldn't traverse PSI in EDT 2018-09-13 20:17:06 +03:00
Roman Shevchenko
2d319cae7d Cleanup (duplicate) 2018-09-12 22:25:57 +02:00
Vladimir Krivosheev
13fc5e01e0 move excludeCompileBeforeLaunchOption to RunProfileWithCompileBeforeLaunchOption 2018-09-12 07:59:37 +03:00
Vladimir Krivosheev
cee3ad9507 remove deprecated isCompileBeforeLaunchAddedByDefault 2018-09-12 07:59:36 +03:00
Sergey Ignatov
cf0a586a3b show affected tests: use before commit if the file is missing 2018-09-11 21:07:57 +03:00
Sergey Ignatov
87fec23b06 don't use deprecated API 2018-09-11 20:53:36 +03:00
Roman Shevchenko
6805a558af Cleanup (unchecked warnings; dead constant; formatting) 2018-09-11 14:19:25 +02:00
Roman Shevchenko
a5c0222ed0 [java] fixes invalid PSI exceptions in test discovery 2018-09-11 13:29:15 +02:00
Kirill Kirichenko
88fedc00ad IDEA-196669 Revert autoStart checkbox visibility setter 2018-09-11 13:17:01 +03:00
Kirill Kirichenko
e0295f52c1 IDEA-196669 Layout fixed 2018-09-11 13:17:01 +03:00
Sergey Ignatov
811ba19a19 fix already disposed assertion 2018-09-10 23:07:12 +03:00
Vladimir Krivosheev
2b7f5cac2c fix dsl tag for J2ME RC 2018-09-10 19:08:46 +03:00
Sergey Ignatov
931c5d7035 introduce new test discovery based API: show affected tests by files
useful for changed test data
2018-09-10 16:59:53 +03:00
Sergey Ignatov
8da8afe237 introduce new test discovery based API: show affected files 2018-09-10 13:49:02 +03:00
Sergey Ignatov
f147c716c9 format 2018-09-10 13:49:02 +03:00
Egor Ushakov
d708e6e3a7 EA-126930 - NPE: DefaultJavaProgramRunner$AttachDebuggerAction.update 2018-09-10 12:41:17 +03:00
Sergey Ignatov
f01b37156f test discovery: use batch API for all clients 2018-09-07 18:37:01 +03:00
Vladimir Krivosheev
7a8746a234 configuration file: describe map<string, string> in schema, ability to provide property description or ignore property 2018-09-07 14:20:59 +02:00
Sergey Ignatov
ad61853cd1 introduce a batch API for test discovery producers
we're going to speedup remote queries with batches
2018-09-06 23:40:58 +03:00
Vladimir Krivosheev
39c9a92794 get rid of manual XML read/write for redirect input options 2018-09-06 17:58:01 +02:00
Vladimir Krivosheev
4cdab48b0d cleanup (remove deprecated methods) 2018-09-06 17:58:00 +02:00
Vladimir Krivosheev
ae8e849800 get rid of manual XML read/write — ShortenCommandLine.readShortenClasspathMethod, support enum in DSL (schema and read) 2018-09-06 16:10:53 +02:00
nik
0be3657ad0 cleanup: remove 'public' modifier from constructors in non-public classes (IDEA-195931)
public constructors in non-public classes may be confusing, and removing them makes code shorter.
2018-09-06 16:49:46 +03:00
Vladimir Krivosheev
02c32287ee get rid of ENABLE_SWING_INSPECTOR 2018-09-06 13:35:02 +02:00
Vladimir Krivosheev
3c321aacda rename to JvmMainMethodRunConfigurationOptions 2018-09-06 13:35:01 +02:00
Vladimir Krivosheev
adbe609567 make RC classes final 2018-09-06 13:35:01 +02:00
Sergey Ignatov
85ac0af490 IDEA-198420 IndexNotReadyException in test discovery 2018-09-06 13:44:20 +03:00
Vladimir Krivosheev
e0a03f51eb Mark RunProfile.getName as NotNull
A lot of clients not ready that name can be null and in most cases it is not convenient - just add more work to handle null value

In any case for run configuration empty name it is the same as null, we don't need to bother clients and use null
2018-09-05 18:49:54 +02:00
Vladimir Krivosheev
6444340048 RC name maybe null, do not force to pass empty string 2018-09-05 18:49:53 +02:00
Vladimir Krivosheev
e77d5c11d2 add nullability annotations 2018-09-05 18:49:53 +02:00
Sergey Ignatov
39ca70f8dd update test discovery library, use v1.0.490 2018-09-05 16:48:21 +03:00
Tagir Valeev
60a6066c63 for -> foreach; generifying; other warning fixes 2018-09-05 20:19:50 +07:00
nik
352a876ae5 run configurations: explicitly specify help topic in implementations
This is needed to return null from ConfigurationType.getHelpTopic by default (see IDEA-195693).
2018-09-05 13:23:40 +03:00
Vladimir Krivosheev
e45715616c simplify — getConfigurationsGroupedByTypeAndFolder 2018-09-05 08:43:55 +02:00
Vladimir Krivosheev
64a472bbcd move getTypesWithUnknown to ConfigurationTypeUtil 2018-09-04 16:49:05 +02:00
Vladimir Krivosheev
69d44e2481 remove configurationFactoriesWithoutUnknown 2018-09-04 14:34:33 +02:00
Vladimir Krivosheev
40856e13e1 use ConfigurationType.CONFIGURATION_TYPE_EP directly, cleanup 2018-09-04 13:32:20 +02:00
Vladimir Krivosheev
6be604a7ca do not write factory id for SimpleConfigurationType
factory uses RC `name`, but type uses `id`. It means that for SimpleConfigurationType deserialization maybe (depends on RC id value) broken. As solution, we don't write factory id for SimpleConfigurationType anymore — and this change IS backward compatible — previous IDEA version will correctly use first factory if factory id is not specified at all (`null` value). Also, in any case it doesn't make sense to write factory id for single-factory RC type

Only for SimpleConfigurationType, not for Configuration with the only factory, because it is not clear how it can affect (some RC conditionally build factory list)
2018-09-04 11:23:38 +02:00