Commit Graph
112 Commits
Author SHA1 Message Date
Anna.Kozlova 95406b5024 don't fork if there is only one module, pass encoding to forked vm (IDEA-181751) 2017-11-15 15:32:32 +01:00
Tagir Valeev 2a2b09e1f8 Unnecessary 'continue' removed; other warnings fixed 2017-10-31 15:44:07 +01:00
Roman Shevchenko 3426479a3e Cleanup (warnings; minor optimization; formatting) 2017-08-08 20:47:14 +02:00
Eldar Abusalimov db3924e58d AppMain: Return from "Monitor Ctrl-Break" thread once hitting EOF
Otherwise it keeps looping in a busy wait forever, burning out 100%
of CPU.
2017-06-28 18:01:23 +03:00
Anna Kozlova 1c941a1150 ensure absolute paths to load expected/actual data 2017-05-02 22:29:34 +03:00
Eldar Abusalimov 4223b2331f Merge branch 'eldar/windows-command-line'
# Conflicts:
#	platform/platform-tests/testSrc/com/intellij/execution/GeneralCommandLineTest.java
2017-03-31 17:35:05 +03:00
Roman Shevchenko 8552aaee0d [java] makes source code compatible with outdated IDEA builds 2017-03-23 10:21:12 +01:00
Roman Shevchenko 0a3dd3579a [java] makes AppMain compatible with Java <= 5 (IDEA-170021) 2017-03-22 14:13:22 +01:00
Eldar Abusalimov 761004161b execution: Rewrite command line preparation on Windows
Fixes:
  - IDEA-40962 Can't pass single "*" character as command line argument in run configuration
  - IDEA-149344 Program arguments in application run configuration are expanded
2017-03-21 05:35:46 +03:00
Roman Shevchenko 0c840ce22b [java] renames AppMain class to avoid clashes with an older version on the class path
IDEA 2017.1 may run AppMain as a Java agent. This fails with 'NSME: premain' when idea_rt.jar from an older version is on a class path.
2017-01-31 17:55:24 +01:00
Roman Shevchenko 0f5ed0c733 Cleanup (IDEA-CR-17100) 2017-01-09 12:32:22 +01:00
Anna.Kozlova 7a4324874d fix 1.4 compatibility 2016-12-30 17:06:07 +01:00
Anna.Kozlova 695ce5b995 comparison diff: create temp files when content would be truncated by OOM threshold on IDE side (IDEA-163388) 2016-12-29 15:57:25 +01:00
Roman Shevchenko b8f9d2f14b [platform] adds dynamic VM parameters support in classpath file mode 2016-12-28 15:04:47 +01:00
Roman Shevchenko 2e383d0bf5 Cleanup (CommandLineWrapper refactoring and minor optimization) 2016-12-28 11:35:52 +01:00
Roman Shevchenko 8040e19364 [platform] restores dynamic VM options support in classpath file mode (IDEA-165940) 2016-12-27 19:50:55 +01:00
Roman Shevchenko 2d45424f6d Cleanup (warnings; formatting) 2016-12-27 15:10:36 +01:00
Anna.Kozlova 9f33f669a2 junit 5: exclude long message with expected/actual text inlined 2016-12-22 11:44:15 +01:00
Anna.Kozlova 30db1d1ec8 java tests: ensure for possibly long test messages details to be included in the visible part (IDEA-165187) 2016-12-08 11:44:07 +01:00
Anna.Kozlova ba117e7328 comparison failure: don't pass expected/actual if files are available - less memory usage 2016-12-01 16:52:02 +01:00
Eugene Zhuravlev de9b93c4fb Merge branch 'IDEA-162949' of https://github.com/zdary/intellij-community 2016-11-02 16:14:26 +01:00
Eugene Zhuravlev 5d5b96a147 IDEA-141243 Support ant-contrib try/catch-task (by Martin Zdarsky https://github.com/zdary) 2016-10-31 22:10:58 +01:00
Roman Shevchenko 099fd7ec63 Cleanup (duplicated properties) 2016-10-28 16:45:12 +02:00
Roman Shevchenko 8792384ef6 [java] AppMain improvements: ability to operate as a Java agent 2016-10-27 16:25:45 +02:00
Martin Zdarsky 5f919dabd9 IDEA-162949 myTaskPriority needs to be set to verbose in order to be able to turn it off by AntBuildFileImpl.VERBOSE.set(editPropertyContainer, false);
Signed-off-by: Martin Zdarsky-Jones zdary@zdary.cz
2016-10-28 00:05:59 +11:00
Martin Zdarsky 7d69c0d255 IDEA-141243 added support for ant-contrib try/catch-task
when exception is thrown in try block it'll get logged as verbosive message

Signed-off-by: Martin Zdarsky-Jones zdary@zdary.cz
2016-10-28 00:00:58 +11:00
Roman Shevchenko fae03c518d [java] replaces libbreakgen with external signal 2016-10-27 14:51:14 +02:00
Roman Shevchenko 723dcd42fe [java] AppMain improvements: avoids non-existing library loading 2016-10-27 12:33:45 +02:00
Roman Shevchenko 0305035b5a [java] AppMain improvements: reversed socket direction to avoid port probing 2016-10-27 12:30:38 +02:00
Roman Shevchenko 730a130403 [java] AppMain improvements: better diagnostics; independent exit/dump actions 2016-10-27 11:17:49 +02:00
Anna.Kozlova 1f2535b376 forked mode: support until failure/until stopped (IDEA-158808) 2016-10-05 10:31:37 +02:00
Anna.Kozlova 2a8258c721 forking tests: make the output available immediately (IDEA-142977) 2016-10-04 11:07:24 +02:00
Anna Kozlova ab94e6a89f junit 5 multiple failure: compose multiple expected/actual and the initial exception separately 2016-09-08 12:42:24 +03:00
Anna.Kozlova 6bd2df48e2 remove old test protocols 2016-08-08 17:08:03 +02:00
nik ed6660ce68 grails: pass program arguments to trait injector via classpath JAR to avoid problems with too long command line (IDEA-158581) 2016-07-26 09:49:55 +03:00
nik 1482bcdfe0 command line wrapper: don't copy program arguments twice 2016-07-25 14:05:23 +03:00
Alexey Kudravtsev 98df80b4b3 notnull 2016-07-18 12:57:21 +03:00
Anna Kozlova 130abb0e05 NPE 2016-06-03 19:06:10 +03:00
Anna Kozlova 39d8047865 junit fork: allow to fork per repeat (IDEA-156701) 2016-05-31 18:38:26 +03:00
Anna.Kozlova 708771b880 pass repeat count to fork vms 2016-05-24 17:18:36 +02:00
Alexey Kudravtsev 433591b116 renamed package-local to package-private 2016-03-14 14:45:59 +03:00
Roman Shevchenko 44b436c9f0 Cleanup (formatting; typos; dead code) 2016-02-16 17:09:46 +01:00
nik 1a6f701e36 preparing to migrate to Java 8: explicitly set 'IDEA jdk' as 'Module SDK' for modules which will remain on Java 6 and older 2015-12-22 14:26:33 +03:00
Eugene Zhuravlev 8246250014 correct check for void type 2015-10-08 18:12:48 +02:00
Eugene Zhuravlev af5a657a8e do not allow to run non-void main methods (IDEA-145801) 2015-10-08 15:00:14 +02:00
Anna Kozlova fb7d3b8147 include testDiscovery in coverage.jar; remove duplicated asm-all 2015-09-15 15:00:18 +03:00
Anna Kozlova 75eb6dd892 junit: restore exception prefix if trace contains failure message (IDEA-143564); try to avoid truncation of failure message if it contains 'expected' substring 2015-08-14 19:37:37 +02:00
Dmitry Batrak 528108ddd4 allow to view images diff by clicking on hyperlink in test execution console output 2015-08-12 12:22:01 +03:00
Anna Kozlova 8b00faf5fc avoid CommandLineWrapper as mediator when no vm properties were written in the classpath jar 2015-07-24 23:17:12 +02:00
Anna Kozlova 2733e06033 fix compatibility of IDEA 15 with sources from previous versions 2015-07-24 18:14:28 +02:00