Denis Zharkov
01c21e218a
Add special tests for interceptRun support
...
Basically they're built upon basic coroutine tests, but for each of them
different interceptResume implementation are injected
(currently there are 12 of them).
It might be more simple just to generated additional testData, but I see this
more problematic in a sense of further maintenance
Note that all tests add idempotent 'interceptRun' operators,
which just execute given lambda in the current thread
#KT-14891 Fixed
2016-11-22 14:33:40 +03:00
Ilya Gorbunov
38840bb529
Do not reference java.util in tests that run on JS backend.
2016-11-21 18:20:33 +03:00
Ilya Gorbunov
6a70761783
Minor: normalize '@Test' annotation casing in all tests.
2016-11-21 18:20:33 +03:00
Vyacheslav Gerasimov
60bc35b787
Implemented suppress lint intention action for android lint (KT-12020)
...
#KT-12020 Fixed
2016-11-21 17:16:27 +03:00
Anton Bannykh
68b35aa0ac
JS inliner: Don't treat 'bar' as unused in the presence of 'bar.call' expressions
2016-11-18 20:55:07 +03:00
Anton Bannykh
0dc9121a91
JS property accessors inlining (KT-13456)
2016-11-17 15:25:29 +03:00
Vyacheslav Gerasimov
d90ec3e777
Fixed KotlinLintTestGenerated.testJavaPerformance + refactoring
...
Moved android lint tests from uast-kotlin to idea-android
2016-11-16 18:05:09 +03:00
Zalim Bashorov
8c3d2872c3
Generate right code to check that muted test is failed
2016-11-15 22:11:09 +03:00
Alexey Andreev
54925e7f83
JS: remove test for reserved words
2016-11-11 16:26:33 +03:00
Alexey Andreev
20396b0e5f
JS: fix inlining in a new flat JS generator
2016-11-11 16:26:32 +03:00
Zalim Bashorov
4c8f5e4540
Regenerate ultimate tests
2016-11-09 21:41:12 +03:00
Zalim Bashorov
af4ec9815b
Add ability to ignore test for backend w/o checks
...
It used for the tests from this commit becouse they was failing during setup.
2016-11-09 21:41:12 +03:00
Zalim Bashorov
1dedb38481
Regenerate tests
2016-11-09 21:41:12 +03:00
Zalim Bashorov
8e480e275b
Ignore files with incompatible target when check that all test are presented
2016-11-09 21:41:12 +03:00
Zalim Bashorov
0ecb13b150
Move TargetBackend to tests-common module
2016-11-09 21:41:12 +03:00
Zalim Bashorov
a1730f98ba
Don't generate test when target backend is not suitable
2016-11-09 21:41:12 +03:00
Zalim Bashorov
f382f938c7
Fail when ignored test success in generated tests
...
#KT-14618 Fixed
2016-11-09 21:41:12 +03:00
Zalim Bashorov
ee129bebb6
Automatically mute failed generated tests from compiler/testData/codegen/box/ranges
2016-11-09 21:41:12 +03:00
Zalim Bashorov
a35a1f6f5a
KJS: run all codegen/box tests
2016-11-09 21:41:12 +03:00
Vyacheslav Gerasimov
387d5ffd73
Added call to ImportFilter in import quickfix (KT-14439)
...
#KT-14439 Fixed
2016-11-03 17:20:57 +03:00
Vyacheslav Gerasimov
3ce1703ced
Extract string resource intention action for android (KT-11715)
...
#KT-11715 Fixed
2016-10-28 15:30:22 +03:00
Anton Bannykh
dc151c1d84
Implemented specifying specific ignored backend (e.g. '// IGNORE_BACKEND: JS' instead of '// TARGET_BACKEND: JVM')
2016-10-27 14:17:25 +03:00
Anton Bannykh
a3566174d6
Support destructuring in lambda parameters (KT-14422) and skipping some components in a destructuring declaration (KT-14507).
2016-10-26 18:29:13 +03:00
Ilya Gorbunov
98f7c61333
Reuse JVM box tests for binary operations in JS, excluding those that can't pass now.
2016-10-26 16:36:09 +03:00
Ilya Gorbunov
62fb47d137
Introduce bitwise operations and/or/xor/inv for Byte and Short. #KT-13554
...
Annotate new bitwise operations with SinceKotlin.
2016-10-26 16:35:46 +03:00
Alexander Udalov
035d6156a7
Drop Cloneable in JS, synthesize it at compile-time on JVM
...
Use the same approach that is used for creating function type classes
(Function{0,1,...}) + add Cloneable to supertypes of Array and primitive arrays
#KT-5537 Fixed
2016-10-25 15:42:33 +03:00
Mikhail Glukhikh
e7e56ab85c
KT-8442 related: destructuring declarations aren't taken into account during light classes generation, fixes EA-81204
2016-10-25 13:13:11 +03:00
Alexander Udalov
3f5d3e5dbc
Fix errors and indent in built-ins sources
2016-10-24 15:30:40 +03:00
Alexey Tsvetkov
0af7017836
Introduce common interface for common gradle options
...
This might be useful for future kotlin build scripts
2016-10-21 16:22:38 +03:00
Dmitry Petrov
b5d81d8e31
Preparations to push to master branch.
...
Introduce tests-ir-jvm module (for IR-based JVM BE tests).
2016-10-18 09:15:19 +03:00
Dmitry Petrov
7950235df3
Lowering for constructors & initializers.
2016-10-18 09:09:52 +03:00
Mikhail Glukhikh
eaf10a4675
IR to CFG test generator, sequential function tests
2016-10-18 09:09:47 +03:00
Michael Bogdanov
7ad69bbea1
Add IR black box tests
2016-10-18 09:09:35 +03:00
Dmitry Petrov
00093ac901
Move IR tests to module 'compiler-tests'
...
(due to dependencies on classes from 'compiler-tests').
Minor: remove unused imports.
2016-10-18 09:09:13 +03:00
Dmitry Petrov
3e96f7b015
Do not generate those 2300+ tests for now.
2016-10-18 09:09:06 +03:00
Dmitry Petrov
88e0fed5d3
Minor: AbstractPsi2IrBoxTestCase.kt
2016-10-18 09:09:05 +03:00
Dmitry Petrov
ec2cfd2389
AbstractClosureAnnotator for IR.
2016-10-18 09:09:02 +03:00
Dmitry Petrov
5cb7566975
Psi2IR acceptance test (failing).
2016-10-18 09:08:54 +03:00
Dmitry Petrov
ad405f26fd
IR: first smoke test
2016-10-18 09:06:54 +03:00
Alexey Tsvetkov
86cb7eea4a
Test that kotlin gradle options are up to date
...
#KT-14317 fixed
2016-10-14 15:55:41 +03:00
Valentin Kipyatkov
a62a37f6d8
Added tests for parameter names in function type from SAM-adapter + fixed KT-13861
...
#KT-13861 Fixed
2016-10-11 23:38:51 +03:00
Alexander Udalov
8d660c2f6e
Refactor gradle option generation mechanism
...
Ensure there's a statically checked dependency on LanguageVersion and
JvmTarget, so that this information is updated automatically once a new
language version or a JVM target is added
2016-10-11 17:30:15 +03:00
Ilya Gorbunov
3baf2f8942
Use fully-qualified references to exceptions in kotlin-runtime
2016-10-10 20:14:32 +03:00
Valentin Kipyatkov
b84260f39f
Fixed multiple bugs in optimize imports for JS-target
...
#KT-13689 Fixed
2016-10-10 14:48:16 +03:00
Yan Zhulanow
238340a143
Kapt: Simplify wrapper tests
...
(cherry picked from commit 1677984)
2016-10-07 16:28:25 +03:00
Alexey Tsvetkov
8cc384a6dd
Refactoring: specify internal visibility where possible
2016-10-05 22:50:46 +03:00
Alexey Tsvetkov
892fc63fd1
Generate gradle options from compiler arguments
...
#KT-13633 fixed
2016-10-05 22:50:46 +03:00
Alexey Sedunov
3f6e60fb51
Call Hierarchy: Show Kotlin usages of Java methods
...
#KT-12398 Fixed
2016-10-05 11:32:43 +03:00
Dmitry Jemerov
7b644e2c52
support "show expression type" in variable declaration position
...
#KT-10095 Fixed
2016-10-04 18:23:32 +02:00
Alexey Andreev
34bf3e6e56
JS: move more test to box tests
2016-09-29 12:00:43 +03:00