Mikhael Bogdanov
60b812e3dd
Increase android emulator startup await
2017-12-06 10:57:08 +01:00
Alexander Udalov
02981038f3
Split core into descriptors, descriptors.jvm, deserialization, descriptors.runtime
2017-11-10 18:58:31 +01:00
Mikhael Bogdanov
5250d947e7
Update android emulator images
2017-11-10 13:42:40 +01:00
Mikhael Bogdanov
af784dcd47
Update android test dependencies
2017-11-09 11:38:10 +01:00
Alexander Udalov
33549362cb
Move compiler/tests-common/{src -> tests}, adjust dependencies
2017-10-31 07:36:45 +01:00
Alexander Udalov
c2276e2ccb
Rename module ':compiler.tests-common' -> ':compiler:tests-common'
2017-10-31 07:36:45 +01:00
Ilya Gorbunov
f878fa69c1
Android codegen tests: fix android SDK path in local.properties
...
The path should have slashes instead of backslashes even on Windows.
2017-10-30 16:48:39 +03:00
Mikhael Bogdanov
54d1a85430
Disable 'apiVersionAtLeast1.kt' test on Android
2017-10-25 13:43:48 +02:00
Mikhael Bogdanov
33c0e16b83
Disable some test on Android
2017-10-25 12:26:41 +02:00
Mikhael Bogdanov
be6474593d
Additionally run android tests with enabled D8
2017-10-24 15:26:21 +02:00
Mikhael Bogdanov
dd24ba6978
Convert CodegenTestsOnAndroidRunner to Kotlin
2017-10-24 15:26:21 +02:00
Mikhael Bogdanov
37300f7486
Rename CodegenTestsOnAndroidRunner.java to CodegenTestsOnAndroidRunner.kt
2017-10-24 15:26:20 +02:00
Mikhael Bogdanov
6f5d459e09
Reorganize build logic in AndroidTestGenerator.kt
2017-10-24 15:26:20 +02:00
Mikhael Bogdanov
e151b8f641
Update Android tests
2017-10-24 15:26:19 +02:00
Alexander Podkhalyuzin
3f8170d369
Clean idea files generated on the gradle import, add them to .gitignore
2017-09-19 23:58:27 +02:00
Ilya Chernikov
27968c8e13
Set proper jvmTarget for projects
2017-09-19 21:37:27 +02:00
Ilya Chernikov
deda50dbbb
Continue switching projects to improved dsl: sourceSets and test running
2017-09-19 21:37:26 +02:00
Ilya Chernikov
61dfb75e0e
Implement Gradle Kotlin DSL build
2017-09-19 21:37:06 +02:00
Mikhael Bogdanov
160ba0c7c0
Destroy state and environment in android test
2017-09-06 08:20:33 +02:00
Mikhael Bogdanov
71663afbfe
Update android test configuration
2017-09-06 08:20:33 +02:00
Mikhail Zarechenskiy
4e38ff3b72
Exclude several tests about inner generic signature on Android
...
There is no information about inner generic class in the middle of signature
on android.
For example, on JVM we can get signature:
`FirstInner$SecondInner<A>.ThirdInnner;`
But on Android it would be
`FirstInner$SecondInner$ThirdInnner;`
2017-05-25 16:46:07 +03:00
Mikhael Bogdanov
9d021ee1ac
Add infrastructure to run codegen test on jdk 6
...
Perform actual codegen test execution in separate process.
One server process is used to run all codegen tests
through socket connection.
2017-04-25 09:31:17 +02:00
Mikhael Bogdanov
a35ad64454
Disable reflection tests on android
2017-04-14 10:33:13 +02:00
Mikhael Bogdanov
a4fef1371f
Split resulting test jar into small ones (1000 files per jar)
...
Dex on teamcity has memory problems with large jar
2017-04-11 20:28:25 +02:00
Alexander Udalov
d440f07111
Use Java 7+ diamond operator in compiler modules
2017-04-03 14:51:15 +03:00
Alexander Udalov
5ebee6ceca
Use Java 8 lambdas instead of anonymous classes in compiler modules
2017-04-03 14:49:23 +03:00
Alexander Udalov
6aa0f7bb65
Use multi-catch when possible
2017-04-03 14:26:53 +03:00
Alexander Udalov
34f0576135
Invoke "remove unnecessary final" intention in compiler modules
2017-04-03 14:26:52 +03:00
Alexander Udalov
463bbbd386
Use try-with-resources instead of manual try/finally
2017-04-03 14:26:51 +03:00
Alexey Tsvetkov
40574d31ac
JPS tests: avoid using deprecated API
2017-03-20 18:46:00 +01:00
Mikhael Bogdanov
818773b7e2
Updated android test configuration
2017-01-20 13:16:58 +01:00
Mikhael Bogdanov
9b1c258cdf
Android test fix
2017-01-18 10:23:40 +01:00
Alexander Udalov
6ffa56b640
Move name sanitization utilities to module 'descriptors'
2017-01-12 11:24:23 +03:00
Denis Zharkov
8387d04425
Revert "Add special tests for interceptRun support"
...
This reverts commit 01c21e218a .
2016-12-15 23:57:59 +03:00
Alexander Udalov
751f546a70
Fix compilation of module android-tests
2016-12-07 21:11:14 +03:00
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
Anton Bannykh
2bec54924f
Android tests: use directives from tests-common to determine if the test is supposed to pass on JVM (adds support for IGNORE_BACKEND and IGNORE_BACKEND_WItHOUT_CHECK" directives).
2016-11-21 14:06:29 +03:00
Alexey Tsvetkov
ea93ec3eec
Ensure jps caches are always cleared in tests
2016-11-18 23:17:30 +03:00
Alexey Andreev
6d230aad35
Suppress tests marked by TARGET_BACKEND directive when running Android codegen tests
2016-10-20 12:15:40 +03:00
Alexander Udalov
33d33ab144
Exclude additional tests from Android codegen test runner
2016-09-24 11:31:59 +03:00
Alexander Udalov
b3803d6fe7
Exclude some codegen tests on Android
...
These tests rely on the fact that sources are located in the default package,
whereas Android tests alter the package name of each test
2016-09-22 13:03:26 +03:00
Ilya Gorbunov
5dc31d2614
Mock-runtime isn't available when this configurations is run on teamcity.
2016-09-01 15:07:23 +03:00
Alexander Udalov
9dc7e90e12
Disable some reflection tests on Android
2016-08-15 19:41:47 +03:00
Alexander Udalov
4e8f88d580
Refactor comments in SpecialFiles
2016-08-15 19:41:47 +03:00
Michael Bogdanov
67808ef7fc
Disable kt13133 test on android
2016-08-05 14:11:00 +03:00
Denis Zharkov
9fd78ac1ff
Temporary disable reflection test on Android
2016-07-12 12:52:03 +03:00
Michael Bogdanov
476c1ec264
Compile android tests against jdk 6
2016-06-29 12:14:01 +03:00
Michael Bogdanov
a8af654a20
Exclude 'immutableRemove.kt' test from Android tests
2016-06-29 09:33:42 +03:00
Michael Bogdanov
249be0a142
Small changes in tests to support them on Android
2016-06-28 10:12:15 +03:00
Mikhael Bogdanov
e7f9d3417f
Disabled several tests on android
2016-06-02 16:01:04 +03:00