Commit Graph

308 Commits

Author SHA1 Message Date
Anna Kozlova
c04d4c0ea0 no need to search for empty class (prevent too early initialization) 2013-07-29 03:48:00 +02:00
Dmitry Jemerov
f57956a515 fix tests, revert some more of configuration naming behavior changes 2013-07-26 21:17:30 +02:00
Dmitry Jemerov
45e25279a5 restore the distinction between action name and generated configuration name by introducing LocatableConfigurationBase.getActionName() method 2013-07-26 21:17:29 +02:00
Dmitry Jemerov
bca1f7379a platform code takes care of updating generated name of run configuration after refactoring; remove code that does it from specific run configuration implementations 2013-07-26 15:08:24 +02:00
Dmitry Jemerov
eb141b5ca2 keep track of whether the name of a run configuration was changed by the user on the platform level; introduce LocatableConfigurationBase class for this purpose; deprecate getGeneratedName() and replace its usages with suggestedName(); delete implementations of isGeneratedName() which are now redundant 2013-07-26 15:08:23 +02:00
Dmitry Jemerov
3e16c6e110 @NotNull RunConfiguration.getSettingsEditor() 2013-07-26 15:08:23 +02:00
Dmitry Jemerov
f197f9f472 passing a name to ModuleBasedConfiguration constructor is optional; kill a lot of code for passing around empty names 2013-07-25 17:11:19 +02:00
Dmitry Jemerov
5f3dc8a3b2 provide default implementation for ModuleBasedConfiguration.createInstance(), delete a ton of existing implementations 2013-07-25 16:09:00 +02:00
Dmitry Jemerov
035b3c2c8a CommandLineState initializes its own ConsoleBuilder, remove redundant code which does it externally 2013-07-25 16:09:00 +02:00
Dmitry Jemerov
5cf9f7e412 since checkConfiguration() is never called through RunProfile interface, push it down to RunConfiguration 2013-07-25 16:08:57 +02:00
Dmitry Jemerov
689f2a1686 another place where getRunExecutorInstance() should be used 2013-07-25 09:33:52 +02:00
Dmitry Jemerov
3d57891052 use getInstance() methods to locate Executor and Runner instances 2013-07-25 09:28:12 +02:00
Dmitry Jemerov
54ffbdc3c7 Project in ExecutionEnvironment is @NotNull; remove some redundant usages of Executor 2013-07-24 19:03:03 +02:00
Dmitry Jemerov
83ed95fb57 store Executor instance in ExecutionEnvironment; don't pass it to ProgramRunner.execute() separately 2013-07-24 19:03:02 +02:00
Dmitry Jemerov
402f7b2466 delete some unused implementations of getRunnerSettings() and getConfigurationSettings() 2013-07-24 19:03:01 +02:00
Dmitry Jemerov
486f610720 remove some obsolete usages of runner ID 2013-07-24 19:03:00 +02:00
anna
92db8e1587 junit: do not accept @DataPoint as test method (IDEA-101851) 2013-07-23 18:38:43 +02:00
Dmitry Jemerov
8e8b2f6ca7 since the createActions() method is only used by DefaultJavaProgramRunner, remove it from the base ProgramRunner interface 2013-07-22 19:04:53 +02:00
Dmitry Jemerov
ee98588c49 flatten RunnerSettings class; remove intermediate JDOMExternalizable 2013-07-22 18:13:26 +02:00
Dmitry Jemerov
2bc5606407 pass RunProfile explicitly in run configuration patching methods 2013-07-22 18:13:26 +02:00
Dmitry Jemerov
420d37f2c9 dead code deleted 2013-07-22 18:13:24 +02:00
Dmitry Jemerov
13a827c47b RunProfileState.getRunnerSettings() doesn't need to be in the interface; enough to have implementations in subclasses which need it 2013-07-22 18:13:23 +02:00
Dmitry Jemerov
fa18d853f3 store runner ID directly in ExecutionEnvironment, remove it from ConfigurationPerRunnerSettings 2013-07-22 10:05:52 +02:00
irengrig
36f326590f default java runner: thread dump action to show results in ThreadDumpPanel, with navigation to code and parsed into separate threads
VERY much needed when running JUnit tests again and again and things are complicated, to check for deadlocks etc

 ! now is turned on only when -Didea.java.run.wise.thread.dump=true
2013-07-13 20:01:29 +04:00
Dmitry Jemerov
8b5e2bd064 javadocs; deprecate RunnableState interface and remove it from inheritance hierarchy 2013-07-05 11:06:22 +02:00
Anna Kozlova
3c39734cab include non started tests into rerun failed (IDEA-108509) 2013-06-13 20:12:27 +04:00
Max Medvedev
df83960685 some magic annotations 2013-06-06 20:18:53 +04:00
Max Medvedev
7ff1ddcac3 EA-46567 - NPE: JUnitUtil.getTestCaseClassOrNull 2013-06-04 16:24:27 +04:00
Anna Kozlova
9ef8ed2d03 provide scope to detect location more precisely (IDEA-107895) 2013-06-03 14:20:59 +04:00
Denis.Zhdanov
082028adf6 IDEA-106937 Run configuration: Make it possible to provide custom jres to use 2013-05-09 22:37:05 +04:00
peter
1dca788017 IDEA-34816 Navigation from stacktrace should consider run configuration classpath 2013-03-04 19:17:41 +01:00
anna
b2ab3ee6af run method in inheritor: sort elements before show (IDEA-102388) 2013-03-04 16:03:06 +01:00
nik
872772ddbc take search scope obtained from run configuration into account to navigate to correct class when user clicks on stacktrace printed in console or log (IDEA-63362) 2013-03-01 17:19:52 +04:00
anna
1d9c2c6e09 junit/testng: setup module for pattern based config (IDEA-102098) 2013-02-28 15:04:46 +01:00
anna
ce882aa8cc junit: check termination after everything from queue was processed (IDEA-102067) 2013-02-28 15:04:45 +01:00
Dmitry Jemerov
08659b3554 allow updateJavaParameters() to throw ExecutionException 2013-02-08 19:42:39 +01:00
peter
8da8ca06ca EA-43312 - NPE: ClassUtil.getJVMClassName 2013-01-31 18:26:48 +01:00
anna
c5d85067d0 junit protocol consistency (IDEA-97858) 2012-12-19 21:00:41 +01:00
Vassiliy Kudryashov
08af965929 Tests fix 2012-12-14 09:28:31 +04:00
Vassiliy Kudryashov
7ddad9681b IDEA-61945 Run and Debug commands should ignore compile errors not related to the main being run. 2012-12-13 15:46:31 +04:00
Vassiliy Kudryashov
ce7dfa84c1 IDEA-61945 Run and Debug commands should ignore compile errors not related to the main being run. 2012-12-10 16:02:14 +04:00
Roman Shevchenko
91c10b815e line separators normalized 2012-12-08 20:01:21 +01:00
Evgeny Zakrevsky
49117c4e47 FixedSizeButton size 2012-12-07 17:09:49 +04:00
Gregory.Shrago
d686879b02 try-catch filter fix + test 2012-11-26 20:11:11 +04:00
Fedor Korotkov
5de69ce6d7 Haxe: IDEA-93276 Update HaXe compiler to use new make schema 2012-11-06 11:38:51 +04:00
Anna Kozlova
af2ae07dd9 run configuration: allow to start junit/testng on module root when all package prefixes in module agree (IDEA-62296) 2012-11-04 17:20:36 +01:00
Alexey Kudravtsev
57218bb079 psi file leak 2012-10-26 13:10:20 +04:00
Andrey Vokin
a1ad4e8234 Run All Features filtration for Cucumber Java 2012-10-25 11:40:01 +04:00
anna
7198085cd4 disable all cucumber features producer when no cucumber in classpath 2012-10-24 17:09:38 +02:00
Vassiliy Kudryashov
60853069cf Merge remote-tracking branch 'origin/master' 2012-10-12 16:27:59 +04:00