Commit Graph
759 Commits
Author SHA1 Message Date
Irina.Chernushina bde87d913a correct test info - sometimes static methods of LightQuickFixTestCase are called from other tests, so static project instance from LightQuickFixTestCase should not be used 2017-05-16 13:47:51 +02:00
Vladimir Krivosheev 4ddc817883 remove ModifiableModel, migrate to use setToolEnabled 2017-05-16 10:25:13 +02:00
Roman Shevchenko 9a65777129 [java] common methods for JRE/JDK check 2017-05-12 15:12:50 +02:00
Alexey Kudravtsev 920d5b4fba removed default file header, because it adds no information but subtracts attention and space 2017-05-11 13:39:07 +03:00
peter 8920a8effe introduce PsiManager#dropPsiCaches which clear resolve cache, increments PSI mod counts, leads to highlighting restart and whatnot 2017-05-09 10:39:41 +02:00
Tagir Valeev 5b94cf43cf LightQuickFixTestCase: Improved failure reporting when action is not found 2017-05-05 10:40:41 +07:00
Tagir Valeev c3dd106963 LightCodeInsightTestCase: now test name can force the language level. 2017-04-28 15:14:27 +07:00
Anna.Kozlova e018f574e4 anonymous -> lambda 2017-04-28 10:04:05 +02:00
Anna.Kozlova e5391ed771 unused declaration inspection: ensure correct presentation is used 2017-04-13 15:06:33 +02:00
Vladimir Krivosheev 2892785658 fix RunConfigurableTest (we must sort folder names)
Why did it work prevously? Because prevously it was sideeffect of sorting in the loadState of workspace RC. Now we don't perform such sort (and should not).
2017-04-12 12:18:08 +02:00
Vladimir Krivosheev 7fad69fc05 prefer to use allSettings where we actually need to use settings or don't need configuration at all
add hasSettings (later we can optimize it to avoid linear search)
no need in the myUnloadedElements since for unknown element UnknownRunConfiguration will be created
2017-04-11 18:41:05 +02:00
Vladimir Krivosheev 5d6162e78a beforeRunTaks
(cherry picked from commit f9fc313746720cd09ec122982907baf90eb1cdd8)
2017-04-10 18:19:55 +02:00
Vladimir Krivosheev 1e0a4f29fa cleanup — default implementation of createRunnerSettings and getRunnerSettingsEditor
(cherry picked from commit c5d91b396f4c0b288966bae7c4047bba2ce48956)
2017-04-10 18:19:51 +02:00
Alexey Kudravtsev 6cc18ca243 made public for kotlin 2017-04-05 15:07:24 +03:00
Alexey Kudravtsev c776e56470 made quickfix no longer visible when applied to fix IDEA-170081 Inspection "Collapse 'if' statement" generates wrong code when quickly fixing the code 2017-04-03 12:24:57 +03:00
Alexey Kudravtsev 5558b7d5b4 cleanup 2017-03-30 18:44:16 +03:00
Anna Kozlova 62bf50b8d1 junit 5 inspection to warn about @RunWith(JUnitPlatform.class) without test methods (IDEA-160253) 2017-03-29 20:24:33 +02:00
Egor.Ushakov 1ea6f7ada7 IDEA-147795 Unclear when arrays null filtering is on 2017-03-27 20:07:52 +03:00
Dmitry Jemerov bc40528680 Clear runnables list on teardown 2017-03-24 14:33:56 +01:00
Roman Shevchenko 05b15f593e Cleanup (unneeded language level restore) 2017-03-24 13:19:00 +01:00
Roman Shevchenko 1abffecba5 Cleanup (warnings, formatting) 2017-03-24 13:18:59 +01:00
Alexey Kudravtsev 18fcf30423 debugger tests thread leak 2017-03-22 18:13:10 +03:00
Sergey Ignatov c69f14fabc don't wait 2sec for every test in ProjectWizardTestCase.java because of JBCardLayout
JBCardLayout doesn't run any animation in unit test mode anymore
2017-03-20 15:40:24 +03:00
Egor.Ushakov 57486388c0 disabled workaround for JVMTI_ERROR_WRONG_PHASE issue after a new fix for JRE-253 2017-03-16 11:48:48 +03:00
Anna.Kozlova e7edc56bc6 welcome mock jdk 9 (IDEA-168823) 2017-03-07 14:57:35 +01:00
peter 72603d3931 DaemonAnalyzerTestCase.findAndInvokeIntentionAction: lazily calculate error message
to workaround invalid unrelated PSI access in JSIntentionPerformanceTest
2017-03-04 13:11:04 +01:00
Egor.Ushakov c1817f94f3 print context line in human understandable format (1-based) 2017-03-03 19:06:27 +03:00
Alexey Kudravtsev 0f23908574 cleanup 2017-03-01 17:28:20 +03:00
Alexey Kudravtsev de11db7a3c project leaks in tests 2017-03-01 13:37:11 +03:00
Alexey Kudravtsev 7e434c6521 prevent UI-designer-specific inspections to run on every java file and use more specific language for UI-form file inspections 2017-02-27 15:14:38 +03:00
Andrey Starovoyt ef24287859 typescript: support quick fixes for ts2.2 2017-02-26 18:29:50 +03:00
Egor.Ushakov 299bd6fcdf extracted doWhenXSessionPausedThenResume 2017-02-22 19:41:27 +03:00
Egor.Ushakov 5146844364 automatically revert enabled/disabled renderers in tearDown 2017-02-22 12:56:33 +03:00
Egor.Ushakov 8e4de4c726 workaround for blinking tests because of JVMTI_ERROR_WRONG_PHASE(112) 2017-02-21 11:57:11 +03:00
Dmitry Avdeev 774a1addaf fixing memory leak 2017-02-07 15:22:45 +03:00
Anna.Kozlova b45cf8967a check for case sensitive fs 2017-02-07 09:49:38 +01:00
peter 4aab22325a import project in a write-safe context in ProjectWizardTestCase (IDEA-167601) 2017-02-03 17:23:28 +01:00
peter 4e71366f3b prefer local variables over static method references in completion 2017-02-01 17:53:15 +01:00
Vladimir Krivosheev e9d4f71b49 save using store.save to avoid global flag manipulation
cleanup (overrides)
2017-01-31 15:17:33 +01:00
Vladimir Krivosheev 4aff4a430e Merge branch 'develar/m'
# Conflicts:
#	platform/configuration-store-impl/src/ModuleStoreImpl.kt
#	platform/configuration-store-impl/src/StateStorageManagerImpl.kt
2017-01-31 11:23:14 +01:00
peter a055c5ed69 assert that finishLookup is called outside write action, because it can display "clear read-only status" dialog 2017-01-27 18:13:35 +01:00
Vladimir Krivosheev ec31fa83fc notnull 2017-01-27 15:17:36 +01:00
Alexey Kudravtsev 1f766a13b0 IDEA-166240 Unordered line numbers in the "Find" panel 2017-01-27 13:59:37 +03:00
Alexey Kudravtsev 75fc3802fc clear fields after test run to avoid leaks when the test class instance stuck in queues 2017-01-24 13:51:32 +03:00
Alexey Kudravtsev 15ebd28685 separate stress tests (which can be run in "Community tests") from performance tests (which can be fast, but must be run in "Performance Tests") 2017-01-20 17:14:38 +03:00
peter 0333faaf61 make sure postfix template filtering works with current module's language level 2017-01-20 13:46:50 +01:00
Maxim Kropotov 66683205aa IDEA-CR-17007 2016-12-23 14:46:26 +03:00
Maxim Kropotov 59cc480a8d IDEA-CR-17007 2016-12-23 14:12:33 +03:00
Maxim Kropotov aa3aa924a4 log useful info in case of junit.framework.ComparisonFailure 2016-12-22 18:14:25 +03:00
Vladimir Krivosheev e6de9b8cb1 ComponentStoreImpl — support ModificationTracker 2016-12-20 13:13:27 +01:00