Igor Yakovlev
71bf36b613
[JS] Fix test testdata for InlineMultiFile.testTrait test
2021-11-15 19:53:50 +03:00
Igor Yakovlev
a7f0f62f69
[WASM] Generate missing WASM tests and mute failing ones
2021-11-15 19:53:49 +03:00
Igor Yakovlev
ec9fcce1bc
[WASM] Add hashCode, equals and toString to KClass and KType implementations
2021-11-15 19:53:48 +03:00
Igor Yakovlev
ee7f4c7278
[WASM] Implementation typeOf support
2021-11-15 19:53:48 +03:00
Igor Yakovlev
39a389c49a
[WASM] Implementation qualifiedOrSimpleName
2021-11-15 19:53:47 +03:00
Igor Yakovlev
ce360bb10b
[WASM] Implementation of Class references
2021-11-15 19:53:46 +03:00
Igor Yakovlev
d9f2bd7963
Revert "[Wasm][Temporary] Stubs for typeOf and ::class constructs"
...
This reverts commit 8dc81b6c57 .
2021-11-15 19:53:45 +03:00
sebastian.sellmair
7d56ef1925
[Gradle, MPP] Implement kotlin.mpp.absentAndroidTarget.nowarn flag
...
^KT-41641 Verification Pending
2021-11-15 16:15:18 +00:00
sebastian.sellmair
c56c503426
[Gradle] Implement 'Project.kotlinPropertiesProvider' extension
...
This extension should increase discoverability over the previous
'PropertiesProvider(project)' API
2021-11-15 16:15:17 +00:00
sebastian.sellmair
373dcef45d
[Gradle, MPP] Mention multiplatform in absent android target warning
...
^KT-41641 Verification Pending
2021-11-15 16:15:17 +00:00
sebastian.sellmair
bf04f821d6
[Gradle, MPP] Print warning on absent 'android' targets
...
^KT-41641 Verification Pending
2021-11-15 16:15:16 +00:00
sebastian.sellmair
db21bfe13b
[Gradle, MPP] findAndroidTarget: Return null when missing
...
Prior to this change a 'Collection is empty.' error was reported
when the Android plugin was applied without an Android Kotlin target
being registered.
^KT-41641 Verification Pending
2021-11-15 16:15:16 +00:00
Igor Laevsky
c7cfa97748
[Wasm] Implement Any::hashCode()
2021-11-15 18:26:46 +03:00
Igor Laevsky
9e00a2c5b4
[Wasm] Implement platform random in stdlib
2021-11-15 18:26:45 +03:00
Igor Laevsky
1bdc9edb20
[Wasm] Implement Jasmine adapter for kotlin.test
2021-11-15 18:26:44 +03:00
Dmitriy Dolovov
7ed3941580
[Native][tests] Update generated tests
2021-11-15 18:24:58 +03:00
Dmitriy Dolovov
503f159f4d
[Native] External tests: Preserve original line offsets
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
cc667189ec
[Native] External tests: Don't clean up test directives
...
This does not make sense anymore since external test data files are patched during test execution on the fly.
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
61b8fb8fc2
[Native][tests] Allow overriding test properties via Gradle properties
2021-11-15 18:15:43 +03:00
Dmitriy Dolovov
a029b50755
[Native][tests] Enable codegen_box_callableReference/genericConstructorReference.kt
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
4900aa673b
[Native][tests] Fix formatting of error message about failed test
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
9c70d5088c
[Native][tests] Don't warn when committed TestFile is committed again
...
Actually, there is nothing wrong with calling commit() again: Some TestFiles are created as uncommitted and require calling commit(), while others are created as committed from the very beginning.
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
407e82adbb
[Native][tests] Minor. Make computePackageName() a bit more comprehensive
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
e30f33b18d
[Native][tests] Minor. Prefer to use raw string literals for better readability
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
e5bb16c750
[Native][tests] Minor. Comments formatted
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
24f00f8fda
[Native][tests] Warn when committed TestFile is committed again
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
c014daf1b2
[Native][tests] Minor. Simplify StandardTestCaseGroupProvider.runForFirstMeaningfulStatement()
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
0e1c60d5ab
[Native][tests] Split TestExecutable -> TestExecutable/TestRun (part 2)
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
55a2d5cb4a
[Native][tests] Minor. Rename internal functions
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
fb0dda5a24
[Native][tests] Use ThreadSafeCache instead of ConcurrentHashMap
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
c219e53634
[Native][tests] Minor. Prefer using JUnit assertions over Kotlin checks
2021-11-15 18:15:42 +03:00
Dmitriy Dolovov
e21c9fe3b2
[Native][tests] Drop useless generated test suite class
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
4bc48ea466
[Native][tests] Split TestExecutable into TestExecutable and TestRun
...
The latter keeps the list of run parameters now. It's assumed that the same TestExecutable instance can be run with different TestRuns.
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
6cef8c1f91
[Native][tests] Minor. Drop unused function
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
ce4d2093cc
[Native][tests] Use the single 'generateTests' task
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
54b09810f0
[Native] Rename :native:tests-blackbox.native to :native:native.tests
2021-11-15 18:15:41 +03:00
Dmitriy Dolovov
54fbadb9c7
[Native][tests] Use -Xbinary=runtimeAssertionsMode=panic in new test infra
2021-11-15 18:15:40 +03:00
Dmitriy Dolovov
8c598a25fd
[Native][tests] Reduce test generators verbosity to avoid failing Check Repository Test as TC
2021-11-15 18:15:40 +03:00
Dmitriy Dolovov
5f25b66eec
[Native] New test infrastructure for black box tests
2021-11-15 18:15:40 +03:00
Roman Golyshev
b40592fcf3
Rename some functions in FirAbstractAnnotationResolveTransformer
...
Also add a kdoc for them
2021-11-15 17:01:35 +03:00
Dmitriy Novozhilov
a7bea1ad2f
[Build] Add ability to set fixed numbers of JUnit 5 threads via local.properties
2021-11-15 16:50:08 +03:00
Nikolay Lunyak
2fb066e261
KT-47101: Fix companion supertypes
2021-11-15 13:22:38 +00:00
Roman Golyshev
4f52ab6ba1
Add kdoc for FirPredicateBasedProvider::fileHasPluginAnnotations
2021-11-15 16:02:55 +03:00
Elena Lepilkina
59d74b818e
[K/N] Replace safe points after EnterFrame to allow LLVM reemove repeated instructions
2021-11-15 12:29:54 +00:00
Roman Golyshev
13e27a3e06
[FIR IDE] Get rid of KtPossiblyMemberSymbol::dispatchType
2021-11-15 14:36:35 +03:00
Roman Golyshev
4e1e1570df
[FIR IDE] Add getDispatchReceiverType function and use
...
This function is under a heavy deprecation and should not be used,
since it will most probably be removed in the future
2021-11-15 14:36:31 +03:00
Roman Golyshev
3091269035
[FIR IDE] Create generated members for data classes more accurately in FIR Light Classes
...
`equals`/`hashCode`/`toString` don't necessarily come from `Any` - they
might be overridden in the abstract class like this:
```kt
abstract class Base {
// reinforces overriding in inheritors
abstract override equals(a: Any?): Boolean
// implementation will be replaced by the generated for data class
override hashCode(): Int = 0
// implementation is final, compiler will not replace it
final override toString(): String = ""
}
```
2021-11-15 14:36:26 +03:00
Pavel Punegov
524c7c4397
[K/N][build] Use JDK17 only during stdlib builds
...
JDK17 can't be applied for all subprojects because it will make our
bundle require JDK17 to be used by end users.
2021-11-15 09:04:52 +00:00
Pavel Punegov
76d9692c4d
[K/N][build] Fix for Class.newInstance is deprecated in Java
2021-11-15 09:04:52 +00:00
Pavel Punegov
56f6637279
[K/N][build] Use JDK17 on macOS arm64 to prevent odd failures
2021-11-15 09:04:51 +00:00