Ilmir Usmanov
8a01da6ec6
Support val initialization in non-inline function with EXACTLY_ONCE effect
...
by generating a box for the value.
#KT-26126 Fixed
2018-12-28 15:09:11 +03:00
Mikhael Bogdanov
d1efac617d
Get rid of reduntant jvm parts in tests
2018-12-21 16:09:12 +01:00
Mikhael Bogdanov
f59b6a350f
Specify JVM target backend for other java related tests
2018-12-21 16:09:11 +01:00
Mikhael Bogdanov
f4e532e449
Specify JVM target backend for test with '@JvmXXX' annotations
2018-12-21 16:09:07 +01:00
Mikhael Bogdanov
3ef06c1e44
Specify JVM target backend for test with 'import java...'
2018-12-21 16:09:06 +01:00
Mikhael Bogdanov
f36519d4f5
Specify JVM target backend for test with '.javaClass' usage
2018-12-21 16:09:05 +01:00
Mikhael Bogdanov
1217d3591b
Specify JVM target backend for test with '::class.java' usage
2018-12-21 16:09:04 +01:00
Alexander Udalov
77c87fa6c9
Remove API_VERSION 1.3 from compiler tests
...
So that these tests will now check behavior on the latest API version
2018-12-20 12:53:23 +01:00
Alexander Udalov
ec2dd58165
Remove LANGUAGE_VERSION from codegen tests on coroutines
...
Use `// !LANGUAGE: -ReleaseCoroutines` instead in tests which require
old (1.2) coroutines, and nothing in tests which require new coroutines
because master is already 1.3. Also remove superfluous API_VERSION and
other directives which have no effect anymore. Do not include runtime
automatically with `WITH_COROUTINES`/`COMMON_COROUTINES_TEST` in box
tests; require `WITH_RUNTIME` for that (majority of tests already had it
anyway), but remove it from bytecode text tests where runtime is always
added automatically. Fix the coroutine package selection code in
KotlinTestUtils and update the bunch files correspondingly.
Disable tests in `box/coroutines/noStdLib` on JVM: despite the name,
these tests were launched with stdlib because of the code in
CodegenTestCase, and they do not work without it because at least
CoroutineUtil.kt requires stdlib to compile correctly
2018-12-20 12:53:23 +01:00
Alexander Udalov
9b6a52ccba
Remove LANGUAGE_VERSION from boxInline tests
2018-12-20 12:53:22 +01:00
Ilmir Usmanov
5483ce0933
Do not map this when remapping parameters of static function inside
...
inline lambda.
#KT-23543 Fixed
2018-12-06 15:46:22 +03:00
Mikhael Bogdanov
623f31a178
Remove redundant tests
2018-11-29 12:02:05 +01:00
Roman Artemev
b010d9eef8
Add Contract tests for JS
2018-11-08 17:35:06 +03:00
Svyatoslav Kuzmich
5ea7673950
[JS IR BE] Mute inline class tests
2018-11-08 15:00:32 +03:00
Anton Bannykh
59009430e5
JS: report inline suspend functions to IC
...
* Also inline suspend lambda'a
* Also use correct JsName's in exported suspend inline fun's
* Also use less unused imports
2018-11-07 12:11:01 +03:00
Roman Artemev
fb499def59
Update tests
2018-10-25 15:49:21 +03:00
Roman Artemev
7cb202934c
Update tests
2018-10-25 15:48:42 +03:00
Mikhael Bogdanov
612ca87aa3
Support coroutines in Android box tests
2018-10-25 13:34:29 +02:00
Roman Artemev
1338d6d66f
Update tests
2018-10-19 14:07:20 +03:00
Svyatoslav Kuzmich
4c38d55f21
[JS IR BE] Unmute tests
2018-10-15 00:03:45 +03:00
Zalim Bashorov
6d592ae66b
Unmute tests
2018-10-13 01:51:59 +03:00
Svyatoslav Kuzmich
7074909230
[JS IR BE] Support enumValues<T>() and enumValueOf<T>(name)
2018-10-10 19:35:17 +03:00
romanart
d77a0f109b
Update tests
2018-10-09 15:33:04 +03:00
Georgy Bronnikov
ade640eadb
JVM_IR. Support compile time constants
2018-10-01 12:25:55 +03:00
Georgy Bronnikov
487f500f85
Revert "JVM_IR. Support compile time constants"
...
This reverts commit 055215c54f .
2018-09-25 05:24:48 +03:00
Georgy Bronnikov
055215c54f
JVM_IR. Support compile time constants
2018-09-25 01:38:51 +03:00
Roman Artemev
a807397f65
[JS_IR] Add inlineBox tests
2018-09-21 14:02:53 +03:00
Ilmir Usmanov
7b1c564b87
Replace ALOAD 0 with fake continuation if suspension point is default
...
method
#KT-25922 Fixed
#KT-26608 Fixed
#KT-26658 Fixed
2018-09-19 22:14:29 +03:00
Mikhael Bogdanov
a789fd92fe
Properly parse smap information
...
#KT-23369 Fixed
2018-09-19 12:14:07 +02:00
Roman Artemev
89bec8ec59
Update tests
2018-09-18 15:30:17 +03:00
Anton Bannykh
0660e4d616
[JS IR BE] support multimodule tests
2018-09-18 14:36:20 +03:00
Anton Bannykh
2e709a81fa
[JS IR BE] Arrays, varargs
2018-09-18 14:36:20 +03:00
Roman Elizarov
e2713501ce
Rename SuccessOrFailure to Result and hide Failure from ABI
...
* The members of Result are isSuccess, isFailure, exceptionOrNull, getOrNull
* The rest of API is implemented via inline-only extensions
* There are two internal functions to hide detailed mechanics of an internal
Result.Failure class: createFailure and throwOnFailure
* Result.toString is explicit: either Success(v) or Failure(x)
See KT-26538
2018-09-09 11:34:31 +03:00
Mikhael Bogdanov
da93ff1a30
Properly cast right-hand side value for inline property setter
...
#KT-22649 Fixed
2018-09-06 18:04:45 +02:00
Dmitry Petrov
3080b65f7d
Inline (wrapper) class IC extends erased inline class IC$Erased
2018-09-05 12:20:57 +03:00
Svyatoslav Kuzmich
ad58fdd158
[JS IR BE] Unmute tests after adding stdlib
2018-09-04 20:19:04 +03:00
Roman Artemev
8a871b3f0c
Update tests
2018-08-31 15:34:18 +03:00
Dmitry Savvinov
b064c48f83
Fix testdata after advancing LATEST_STABLE to 1.3
...
This commit contains minor changes in testdata, where test and behavior
change are not related
2018-08-30 16:24:31 +03:00
Dmitry Savvinov
ee8702d21e
Load of testdata change due to contracts publishing
...
See changes in e2606b72bdbec2fea567d4127197707869eb801e
2018-08-30 16:19:55 +03:00
Denis Zharkov
c6eaaac877
Adjust coroutines test data to changing the default LV to 1.3
2018-08-30 14:58:43 +03:00
Denis Vnukov
ddf92ef187
Creating IrLineNumberTestGenerated, adding line numbers for few common expressions
...
This PR enables LineNumberTestGenerated test on IR backend. The testing of
hardcoded sequence of line numbers is replaced with mere checks for set-like
checks for expected line numbers.
2018-08-29 12:52:20 +02:00
Pavel Punegov
9eb78fc490
Disable tests that fail in NATIVE
2018-08-28 13:48:44 +03:00
Pavel Punegov
2ff6047845
Update ignore tag for Native backend
2018-08-28 13:48:43 +03:00
Svyatoslav Kuzmich
f5a80a30f7
Mute and unmute tests
2018-08-15 18:20:07 +03:00
Ilmir Usmanov
1c098bf5cf
Minor. Fix test
2018-08-15 14:23:33 +03:00
Ilmir Usmanov
b4189d9e85
Minor. Use more granular assertion levels in assertion tests
2018-08-15 14:23:30 +03:00
Mikhael Bogdanov
494828f4cf
Unmute jvm ir-tests
2018-08-15 10:26:28 +03:00
Mikhael Bogdanov
cb31962b38
Generate old style lambda classes in jvm ir backend
2018-08-13 15:10:20 +03:00
Mikhael Bogdanov
a7d706f693
Unmute jvm ir-tests
2018-08-09 16:30:32 +03:00
Mikhael Bogdanov
357359b1dd
Unmute ir-tests after CR support
2018-08-09 14:22:50 +03:00