Commit Graph

95869 Commits

Author SHA1 Message Date
Alexander Likhachev 71b431db15 [Gradle] Update the Kapt3AndroidExternalIT.testRealm test project
Now it uses the latest version of realm-gradle-plugin
#KT-45748 Fixed
2022-11-04 15:22:03 +00:00
Alexander Likhachev ff6442a1cb [Gradle] Split AGP depending on mpp lib test
#KT-45748 In Progress
2022-11-04 15:22:03 +00:00
Alexander Likhachev bdedc36ed3 [Gradle] Disable Android lint tests on Windows
Lint leaves some file descriptors opened leading to test failure on Windows. See https://android.googlesource.com/platform/tools/base/+/be16b7622a15073725ef1c1555d78cce9fa8a795 for the fix.
#KT-45748 In Progress
2022-11-04 15:22:03 +00:00
Alexander Likhachev 3fee07207e [Gradle] Move the OtherGradlePluginTests tag from Kapt3BaseIT to Kapt3IT
Tags on classes are being combined leading to Kapt3AndroidIT and other Kapt3 Android tests being marked as both ``@OtherGradlePluginTests` and `AndroidGradlePluginTests`
#KT-45748 In Progress
2022-11-04 15:22:02 +00:00
Alexander Likhachev 8508ce27c4 [Gradle] Cleanup imports in Kapt3AndroidIT
#KT-45748 In Progress
2022-11-04 15:22:02 +00:00
Alexander Likhachev db63614ae1 [Gradle] Move AndroidAndJavaConsumeMppLibIT to mpp subpackage
#KT-45748 In Progress
2022-11-04 15:22:02 +00:00
Alexander Likhachev 026288155c [Gradle] Fix KotlinAndroidMppIT.testLintInAndroidProjectsDependingOnMppWithoutAndroid
#KT-45748 In Progress
2022-11-04 15:22:01 +00:00
Alexander Likhachev d980f94fff [Gradle] Move external dependencies tests out from Kapt3AndroidIT
#KT-45748 In Progress
2022-11-04 15:22:01 +00:00
Alexander Likhachev 90b0c867ed [Gradle] Move incremental build tests out from Kapt3AndroidIT
#KT-45748 In Progress
2022-11-04 15:22:00 +00:00
Alexander Likhachev 378ac8daca [Gradle] Move ConfigurationCacheForAndroidIT to android subpackage
#KT-45748 In Progress
2022-11-04 15:22:00 +00:00
Alexander Likhachev aac1e3a63f [Gradle] Move MultiplatformAndroidSourceSetLayoutV2IT to android subpackage
#KT-45748 In Progress
2022-11-04 15:22:00 +00:00
Alexander Likhachev fc088bb84a [Gradle] Split & migrate AbstractKotlinAndroidGradleTests to the new dsl
#KT-45748 In Progress
2022-11-04 15:21:59 +00:00
Alexander Likhachev 8bbf98f24c [Gradle] Migrate Kapt3AndroidIT to the new test DSL
#KT-44350 Fixed
#KT-45748 In Progress
2022-11-04 15:21:59 +00:00
Sebastian Sellmair 8581c8a546 [Gradle] Agp7AddKotlinSourcesToAndroidSourceSetConfigurator: Workaround KTIJ-22631
^KTIJ-22631 Verification Pending
2022-11-04 15:50:52 +01:00
Alexander Korepanov d5e9e87538 [JS BE] Drop JS scripting support
JS scripting uses the old IR to JS transformer.
 The new IR to JS transformer can not be used for
 JS scripting out of the box. Patching the new transformer for
 JS scripting is potentially dangerous and requires a lot of effort.
 Dropping JS scripting and the old IR to JS transformer allows to
 refactor and simplify JS BE codebase.
2022-11-04 14:15:15 +00:00
Alexander Likhachev d75bbc49e7 [Gradle, MPP] Mark KotlinTest.ignoreRunFailures as @Internal
This change is also done in order to preserve up-to-date state of successfully executed tests. This property is similar to Gradle's `AbstractTestTask.ignoreFailures` which is also `@Internal`
#KT-54787 Fixed
2022-11-04 13:15:03 +00:00
Alexander Likhachev f3becdcbd9 [Gradle, MPP] Do not disable individual test task reporting
Do not disable individual test task reporting in order to preserve up-to-date state of successfully executed tests
#KT-54787 In Progress
2022-11-04 13:15:03 +00:00
Alexander Likhachev ebb9ea4caa [Gradle, MPP] Add test for KT-54787 2022-11-04 13:15:02 +00:00
Alexander Likhachev e784e18f48 [Gradle, MPP] Rerun test tasks whose failures were suppressed
#KT-54506 Fixed
2022-11-04 13:15:02 +00:00
Alexander Likhachev 766acd998f [Gradle, MPP] Add test for KT-54506 2022-11-04 13:15:01 +00:00
Alexander Likhachev cc9a611c13 [Gradle] Handle kotlin.tests.individualTaskReports as boolean property 2022-11-04 13:15:01 +00:00
Dmitriy Dolovov 9cefa346bd [K/N][build] Fix trove4j dependency for K/N tests 2022-11-04 10:10:52 +00:00
mvicsokolova 95506ff56e Fix initialization args for AbstractNativeKlibBinaryCompatibilityTest 2022-11-04 10:10:51 +00:00
mvicsokolova e7f2e2cccb [Native][tests] Optionally, run tests with the dependency on K/N platform libs 2022-11-04 10:10:51 +00:00
Dmitriy Dolovov fbfb564b41 [Native][tests] Don't compile given KLIB libraries 2022-11-04 10:10:51 +00:00
Dmitriy Dolovov a8b0f8a145 [Native][tests] Minor: Add check to ensure all custom KLIBs are valid 2022-11-04 10:10:50 +00:00
Dmitriy Dolovov 09c6746d64 [Native][tests] Use lazy properties for K/N test infra to avoid premature resolve of Gradle configurations 2022-11-04 10:10:50 +00:00
mvicsokolova 775db55539 [Native][tests] Support passing custom (external) KLIBs as -l dependencies to Kotlin/Native compiler invocation 2022-11-04 10:10:50 +00:00
Dmitriy Dolovov f98a5020cd [Native][tests] Don't patch FQNs inside of kotlinx.* package 2022-11-04 10:10:49 +00:00
Dmitriy Dolovov 753ad9f29c [Native][tests] Minor: Mark TestProperty as private, it should not be used outside of the file 2022-11-04 10:10:49 +00:00
mvicsokolova 2f85b4928e Moved nativeTest constructor to buildSrc 2022-11-04 10:10:48 +00:00
Dmitriy Novozhilov 5c277cf95d [Build] Roll back bootstrap for JPS build to 1.8.20-dev-1438
This is a workaround for KT-54791
2022-11-04 11:50:03 +02:00
Jinseong Jeon 4497be0b68 AA: do not parse signature with NO_NAME_PROVIDED
^KTIJ-23503 Fixed
2022-11-04 10:42:19 +01:00
Sebastian Sellmair 6cadad5a6b [Gradle][MPP] KotlinCompilationAssociator: Fix KotlinJvmCompilationAssociator (main and test confusion)
^KT-54783 Verification Pending
2022-11-04 08:42:28 +00:00
Sebastian Sellmair 9632c6d796 [Gradle][MPP] KotlinWithJavaCompilationFactory: Support recursive call from .javaSourceSets.all
^KT-54783 Verification Pending
2022-11-04 08:42:27 +00:00
Anna Kozlova f18d1e9067 [Analysis API FIR] support call expression resolve in class literal
KTIJ-23272
2022-11-04 08:10:09 +01:00
Vladimir Dolzhenko 5dc2442872 Safe reporting PSI elements in KEWA 2022-11-03 17:27:11 +00:00
pyos 20871dd555 FIR DFA: update assignment indices when joining flows 2022-11-03 13:33:11 +00:00
pyos 8e40566520 Minor: make a function that intersects N maps shorter 2022-11-03 13:33:10 +00:00
pyos 639a454d6c FIR DFA: when joining flows, clear reassigned vars with no statements
For example:

    val c = C("...")
    val x = c.x // alias to variable for c.x, which depends on c
    if (x == null) return
    // now c.x has type Any
    c = C(null)
    // c has been reassigned => info for c.x is no longer valid;
    // c itself has never had any statements made about it, but
    // we must still call removeAllAboutVariable to clear the
    // dependents
2022-11-03 13:33:10 +00:00
pyos 0781cd12d4 FIR DFA: copy logic statements to aliases before removing variables
^KT-54744 Fixed
2022-11-03 13:33:09 +00:00
pyos 31eaa211b7 Add test for KT-54744 2022-11-03 13:33:09 +00:00
Nikita Bobko a926edd845 Disable ReferencesToSyntheticJavaProperties until the KEEP document is approved
KEEP document: https://github.com/Kotlin/KEEP/pull/329
2022-11-03 12:02:59 +00:00
Pavel Punegov 762f014c5f [K/N][test] Don't mark objects with ThreadLocal annotation for new MM
Merge-request: KT-MR-7569
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2022-11-03 11:23:36 +00:00
Vladimir Sukharev 44f638e952 Drop K/N dependency to JCenter 2022-11-03 10:51:56 +00:00
Dmitriy Novozhilov 2fd8bf9153 [FIR] Don't analyze lambda twice inside delegate inference
This is a workaround for ^KT-54767
2022-11-03 08:30:09 +00:00
Dmitriy Novozhilov 7af43176ce [FIR] Add optin on API of updating type of receiver values. KT-54708 2022-11-03 08:30:09 +00:00
Dmitriy Novozhilov e6ce008415 [FIR] Ignore leaked internal types because of KT-54568 2022-11-03 08:30:09 +00:00
Dmitriy Novozhilov 089d907fd4 [FIR] Ignore leaked internal types because of KT-54517 2022-11-03 08:30:08 +00:00
Dmitriy Novozhilov 097a86deb5 [Test] Check that FIR tree does not contain stub types and type variable types after resolution 2022-11-03 08:30:08 +00:00