Nikolay Krasko
287443cab9
Add not-null annotation to avoid warnings on getProjectDescriptor()
2017-05-23 18:26:21 +03:00
Alexey Sedunov
e1503d80f2
Test Framework: Move common members to KotlinMultiFileTestCase
2017-04-17 23:00:16 +03:00
Alexey Sedunov
b65e082425
Test Framework: Fix module creation in multi-module tests
2017-04-17 23:00:12 +03:00
Zalim Bashorov
05c3e7e81d
Don't export kotlin-reflect form util module and add it explicitly where it's required.
...
Also, remove kotlin-reflect form container module.
Main goal is get rid of kotlin-reflect.jar from modules what required for minimal compiler.jar which can compile Kotlin only to JS to make it smaller.
2017-04-17 18:18:31 +03:00
Mikhail Glukhikh
ba04dac4b7
Cleanup: when possible, do analyzeFullyAndGetResult -> analyzeFully
...
Also, when possible, do analyzeAndGetResult -> analyze
2017-04-07 15:36:00 +03:00
Dmitry Jemerov
f9495aa0d7
Introduce and use KotlinPaths.getStdlibPath()
...
Also support renaming .jar file when updating an existing library
2017-04-04 11:21:06 +02:00
Alexey Sedunov
2eb912a30c
Move: Convert AbstractMoveTest to light fixture test case
...
Extract multi-module move test to a separate class
2017-03-31 18:24:16 +03:00
Dmitry Jemerov
6febe1e8a2
Convert RenameTest to light fixture test case
...
Extract multi-module rename test to a separate class.
2017-03-28 15:48:38 +02:00
Dmitry Jemerov
265e765ec9
Allow to exclude specific qualified names from import in tests
...
In tests, ImportFix imports the first available candidate. This can
lead to non-deterministic tests when multiple candidates are available.
With this fix, unwanted candidates can be excluded.
2017-03-27 19:48:59 +02:00
Dmitry Jemerov
e2f75463d7
Rewrite AbstractQuickFixTest based on light fixture test case
...
Don't reconfigure runtime before every test. For consistency,
mark tests that require the runtime with directives instead of relying
on test file names.
2017-03-27 19:48:43 +02:00
Dmitry Jemerov
9d74657f11
Mark KotlinCodeInsightTestCase as deprecated
2017-03-27 19:45:50 +02:00
Dmitry Jemerov
b24ce04dea
Convert IntentionTestGenerated to light fixture test case
2017-03-23 15:48:33 +01:00
Dmitry Jemerov
5af423f1b4
Allow configuring kotlin.test in KotlinLightCodeInsightFixtureTestCase
2017-03-23 15:48:33 +01:00
Dmitry Jemerov
036b87a001
KotlinJdkAndLibraryProjectDescriptor: J2K
2017-03-23 15:48:33 +01:00
Dmitry Jemerov
1435f11a9f
KotlinJdkAndLibraryProjectDescriptor: rename to .kt
2017-03-23 15:48:33 +01:00
Dmitry Jemerov
199ce6706b
Convert AbstractConcatenatedStringGeneratorTest to light test case
...
Remove explicit library configuration; rely on
getProjectDescriptorFromFileDirective() instead.
2017-03-23 15:48:33 +01:00
Alexey Sedunov
a21f19d613
Move: Use Kotlin declaration mover to handle KtFile
...
IDEA-provided file mover does not process conflicts
#KT-13911 Fixed
2017-03-22 13:36:08 +03:00
Alexey Sedunov
b65460c12f
Move: Fix tests in IDEA 2017.1
...
Do not prevent usages search if target directory is not known yet.
Force content root configuration for multi-module tests
2017-03-20 18:46:02 +01:00
Dmitry Jemerov
ab5067a0d3
remove write action around closeAndDeleteProject()
2017-03-20 18:45:23 +01:00
Mikhail Glukhikh
b121bf8802
Cleanup: fix some compiler warnings (mostly deprecations, javaClass)
2017-03-15 17:35:31 +03:00
Alexey Sedunov
641a9a7153
Kotlin Facet: Get rid of duplicating data in facet configuration
2017-03-09 23:06:12 +03:00
Dmitry Jemerov
4261880340
Add test for enabling coroutines/bumping language level, fix several breakages
2017-03-09 13:41:57 +01:00
Dmitry Jemerov
720da176db
Exclude keywords from completion if the corresponding feature is unsupported by the language level selected for the module
2017-01-30 12:32:41 +01:00
Nikolay Krasko
c1538aea43
Get annotation for injection from reference descriptor (KT-15548)
...
#KT-15548 Fixed
2017-01-12 14:21:47 +03:00
Nikolay Krasko
b816c182f0
Try to avoid loading ast for decompiled files (KT-14804)
...
#KT-14804 Fixed
2016-11-28 14:38:34 +03:00
Ilya Gorbunov
8f3e6f38ed
Select runtime with directive in test data file instead of test name in PsiChecker tests
2016-11-16 18:47:42 +03:00
Alexey Sedunov
c76c834009
Rename: When renaming Kotlin file outside of source root do not rename its namesake in a source root
...
#KT-14096 Fixed
2016-10-05 11:32:37 +03:00
Nikolay Krasko
63943c60d3
Patch ThreadTracker during Kotlin plugin init
2016-09-22 15:19:18 +03:00
Nikolay Krasko
4adfb18990
Solve thread leaking problem in intellij idea ultimate with obfuscated fileds
2016-09-20 19:31:10 +03:00
Nikolay Krasko
ea1aac07ec
Problem: workaround thread leaking problem
2016-09-20 15:27:08 +03:00
Alexey Sedunov
188531017a
Rename: Implement automatic renamer for test classes
...
#KT-8512 Fixed
2016-06-06 21:29:11 +03:00
Denis Zharkov
193dd06f50
Use different names for mockJDK and fullJDK
...
It's needed because they both used in one project in some tests,
while IDEA model relies on assumption that JDK's names are unique
2016-04-25 17:41:08 +03:00
Denis Zharkov
5bc5722051
Load additional JDK functions into built-ins member scope
...
#KT-5990 Fixed
#KT-7127 Fixed
#KT-10370 Fixed
2016-04-25 17:41:08 +03:00
Alexey Sedunov
5203f62655
Minor: Remove /*rename*/ marker in Rename tests
2016-04-09 21:13:16 +03:00
Alexey Sedunov
e4a64e7980
[RESTORED] Spring Support: Test framework
2016-04-08 21:09:28 +03:00
Nikolay Krasko
47c7181f2a
Extract tests-common module without any actual tests
...
The main reasoning for the module is to avoid running any compiler tests while executing run configuration that searches tests across module dependencies.
2016-04-08 17:40:38 +03:00
Nikolay Krasko
00d06fccb6
Fix tests by using relative paths
...
LightTempDirTestFixtureImpl.findOrCreateChildDir can work only with relative paths
2016-04-05 00:39:46 +03:00
Nikolay Krasko
ef13e8f5bb
Prepare building plugins modules against 1.8 JDK
2016-04-05 00:39:46 +03:00
Alexey Sedunov
9070aa882d
[REVERTED] 161d11d Alexey Sedunov on 3/18/2016 at 14:00 (committed on 3/24/2016 at 18:42)
...
Spring Support: Test framework
2016-03-29 19:17:10 +03:00
Alexey Sedunov
161d11d9ec
Spring Support: Test framework
2016-03-24 17:42:06 +03:00
Dmitry Jemerov
b60621c428
tests fixed
2016-01-19 10:53:53 +01:00
Dmitry Jemerov
d5903c5374
workaround for KT-10590: ensure that the inherited getProject() method is public, not protected
2016-01-08 16:01:20 +01:00
Dmitry Jemerov
43a6e13f4b
idea: cleanup 'public', property access syntax
2016-01-07 18:12:36 +01:00
Ilya Gorbunov
145722b20d
Cleanup in idea plugin modules, misc
2015-12-29 18:04:23 +03:00
Nikolay Krasko
e562b73eff
Refactoring: extract method for check test is AllFilesPresent test
2015-12-19 14:32:33 +03:00
Sergey Mashkov
790524e391
Add library kotlin-test to IDEA project
2015-12-18 22:17:47 +03:00
Sergey Mashkov
b57d2ff702
Add kotlin.test library to build distribution and provide for tests
2015-12-18 22:16:04 +03:00
Pavel V. Talanov
a667aa2f71
Tests: add runtime (and runtime sources) to some tests that rely on being able to resolve references to built ins
2015-12-15 20:22:09 +03:00
Pavel V. Talanov
ef134ffb1b
ProjectDescriptorWithStdlibSources includes source files for builtIns
2015-12-15 20:22:07 +03:00
Pavel V. Talanov
0099c10e4e
Drop BuiltInsReferenceResolver
2015-12-15 20:22:07 +03:00