Alexander Udalov
d2ed73eb78
Enable all Java 9 tests
2018-04-05 12:38:48 +02:00
Mikhael Bogdanov
23e8adb793
Add custom diagnostic checker for @JvmDefault annotation
2018-04-03 19:18:17 +02:00
Nikolay Krasko
6a71f5bd2c
Restore JUnit3RunnerWithInners version for JPS and delegate pill to it
2018-03-29 14:14:34 +03:00
Nikolay Krasko
8d4fa8f3e8
Stop running tests from inner classes in JUnit3RunnerWithInners (KT-23234)
...
Running tests as part of parent class produced test names on
TeamCity that were different from test names obtained when inner classes
were executed first. And it looks like test order execution in Gradle
depends on file walker and file system.
#KT-23234 Fixed
2018-03-29 14:14:34 +03:00
Zalim Bashorov
4d742c5266
Add more tests to JS IR whitelist and regenerate tests
2018-03-28 20:33:23 +03:00
Alexander Udalov
6660873e18
Add annotations to dependencies of tests-common
...
To prevent warnings "unknown enum constant Capitalization.Title" during
the build
2018-03-26 17:21:08 +02:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Nikolay Krasko
982b768c69
Refactoring: collect callbacks for collecting module info in one place
2018-03-23 18:04:08 +03:00
Nikolay Krasko
586860e03a
Refactoring: store correspondent module info in module content
2018-03-23 18:04:01 +03:00
Nikolay Krasko
3e313509e1
Refactoring: restrict callback in ResolverForProjectImpl
2018-03-23 18:03:59 +03:00
Zalim Bashorov
68457a55a8
[JS IR BE] support more constructions:
...
* generate declaration for top level properties
* basic support for calls
* break
* continue
* throw
* generate declaration for local vals and vars
2018-03-20 22:44:29 +03:00
Zalim Bashorov
87ee373205
Few improvements in test infrastructure:
...
* add the way to specify another compatible target for target backend.
It's used to generate a test for X_IR backend even when in a test data
is explicitly written a target: "// TARGET_BACKEND: X".
* Add the ability to run tests "ignored" with the "IGNORE_BACKEND" directive
as regular tests, i.e. w/o catching exceptions.
* Print stack trace of caught exception inside tests "ignored"
with the "IGNORE_BACKEND" directive.
2018-03-20 22:44:28 +03:00
Zalim Bashorov
e0a070ff35
[JS IR BE] basic compiler
2018-03-20 22:44:27 +03:00
Zalim Bashorov
4404c6dd2c
Run JS box tests for JS IR BE
2018-03-20 22:44:26 +03:00
Zalim Bashorov
44d5d0da7e
Rid of most of the usage of JsConfig in TopDownAnalyzerFacadeForJS
2018-03-20 22:44:25 +03:00
Nikolay Krasko
9145470f79
Minor: remove "JVM" constant usages in multi target platform
2018-03-16 16:40:38 +03:00
Nikolay Krasko
481a5bc28d
Update JUnit3RunnerWithInners.java for Gradle 4.6 (KT-23292)
...
Update after "Executer -> Executor" rename
https://github.com/gradle/gradle/commit/3f1487e8006d0c606e3be25267a238427468917a
#KT-23292 Fixed
2018-03-16 16:40:37 +03:00
Simon Ogorodnik
c0b0f6d1ca
Extract PSI to separate module
2018-03-16 13:32:14 +03:00
Denis Zharkov
21932b5824
Use mockJDK as a bootClasspath for AbstractCompileKotlinAgainstJavaTest
...
Otherwise JAVA_HOME is being used that lead to test result depending
on minor JDK version used on a computer
#KT-21047 Fixed
2018-03-15 19:00:31 +03:00
Denis Zharkov
1766812bf3
Minor. Reformat AbstractCompileKotlinAgainstJavaTest
2018-03-15 19:00:31 +03:00
Zalim Bashorov
055b900d8a
Add generating tests using "whitelist" of target backend; add new target backends: JS_IR and JVM_IR
2018-03-14 15:06:31 +03:00
Zalim Bashorov
82f41a1125
J2K TargetBackend
2018-03-14 15:06:31 +03:00
Alexander Udalov
e31f286444
Make NameResolver.getClassId extension instead of member
...
To get rid of dependency of NameResolver on ClassId
2018-03-14 12:25:11 +01:00
Alexander Udalov
27ad4f7d5d
Move ProtoBuf classes to package org.jetbrains.kotlin.metadata
2018-03-14 12:25:10 +01:00
Pavel V. Talanov
32516a3f33
Refactor: split *LightClassGenerationSupport into separate files
...
Move cli binding trace implementation to top level
2018-03-12 12:05:05 +01:00
Pavel V. Talanov
f421181e16
Split LightClassGenerationSupport into separate entities
...
LightClassGenerationSupport:
Includes utilities related to generating light classes
Primary client of this service are KtLight* implementation classes
KotlinAsJavaSupport:
Provides APIs to transform kotlin code into Psi* entities
Primary client of this service is JavaElementFinder
2018-03-12 12:04:59 +01:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Dmitry Petrov
b206bf199f
Add type operand symbol for type operator expression
2018-02-28 10:35:13 +03:00
Dmitry Petrov
9570b64953
Add 'parent' to IrDeclaration, initialize it with a hack (for migration)
2018-02-28 10:35:13 +03:00
Ilya Gorbunov
5c0cc5f799
Move deprecated kotlin-runtime and reduced runtime for tests into stdlib
...
Rename mock-runtime-for-test project to kotlin-stdlib:jvm-minimal-for-test
2018-02-26 17:11:11 +03:00
Dmitry Savvinov
0929673576
Refactor DataFlowValueFactory into proper component
2018-02-20 13:11:33 +03:00
Mikhail Glukhikh
427d7fd1cc
Fix compilation
2018-02-15 18:16:58 +03:00
Dmitry Petrov
8bfbbe456f
Use NoScopeRecordCliBindingTrace for codegen tests
2018-02-15 16:40:26 +03:00
Dmitry Petrov
10916b2046
Minor: reformat code
2018-02-15 16:40:13 +03:00
Alexander Udalov
4a370e9dba
Don't break the "API <= LV" rule in compiler tests
...
Stability of the language version is used for example to determine
whether the PRE_RELEASE_CLASS diagnostic should be reported. Now that
there are pre-release classes in the standard library (Experimental et
al.), we'd like to avoid this error on their usages in diagnostic tests
which are using the "!API_VERSION: 1.3" directive
2018-02-15 13:14:37 +01:00
Alexander Udalov
21e2a3c0b4
Load module annotations in IDE
...
#KT-22759 Fixed
2018-02-08 17:08:33 +01:00
Alexander Udalov
890374a42a
Load module annotations for JVM and JS modules in compiler
...
#KT-22759 In Progress
2018-02-08 17:08:33 +01:00
Alexander Udalov
5e78adb501
Support -Xexperimental/-Xuse-experimental in ExperimentalUsageChecker
...
#KT-22759 In Progress
2018-02-08 17:07:22 +01:00
Alexey Sedunov
d51da8bafd
Misc: Fix Android SDK path in Gradle import tests
2018-02-06 14:23:19 +03:00
Alexander Udalov
7eb66f2579
Minor, support 'expect'-only files in codegen tests
2018-02-05 13:38:04 +01:00
Mikhail Zarechenskiy
4b4525ec17
Support !LANGUAGE directive in signature tests
2018-02-05 12:07:39 +03:00
Vyacheslav Gerasimov
5b0d908d85
Add log4j & jdom to tests-common testCompile
...
Fixes NCDFEs in IrBlackBoxCodegenTestGenerated
2018-02-02 19:54:27 +03:00
Ilya Gorbunov
c06204d0d4
Remove obsolete test classpath helpers
2018-02-02 17:59:29 +03:00
Vyacheslav Gerasimov
89a07ded1c
Extract versions and remove unnecessary '.jar' extensions
2018-01-30 17:06:18 +03:00
Ilya Chernikov
058ef31d7a
Fixes after review
2018-01-30 17:06:16 +03:00
Ilya Chernikov
05f0978865
Fix after review
2018-01-30 17:06:14 +03:00
Ilya Chernikov
a418a3ac49
Renaming for easier conversion, some more manual conversion
2018-01-30 17:06:13 +03:00
Ilya Chernikov
6f21c36d68
Switch first project to the new custom dependencies schema
2018-01-30 17:06:13 +03:00
Ilya Chernikov
47507ad694
Switch all usages of dx.jar to the new mechanism, cleanup and refactoring
2018-01-30 17:06:13 +03:00
Ilya Chernikov
eabbebd458
Prepare intellij sdk deps in buildSrc
2018-01-30 17:06:13 +03:00