Ilmir Usmanov
2ecea55cb1
Ignore coroutines and assertion tests in android tests generator
...
for now.
2018-08-17 16:17:19 +03:00
Alexander Udalov
14b8f4b52b
Minor, change package of outputUtils.kt
2018-08-07 13:38:30 +02:00
Yan Zhulanow
ab5614eaac
Minor: Replace a number of trivial Guava usages with constructor calls and kotlin-stdlib function calls
2018-06-08 19:37:47 +03:00
Vyacheslav Gerasimov
4299455dc1
as32: Update to AS 3.2 C10
2018-04-13 21:33:03 +03:00
Yan Zhulanow
72e66f6175
as31: Disable Maven and JPS modules which is not available in AS
2018-04-11 16:28:13 +03:00
Dmitry Petrov
7cf6c70fbf
Use NoScopeRecordCliBindingTrace as default trace in GenerationUtils
...
NB we use 'Intrinsics.areEqual(Double, Double)' and
'Intrinsics.areEqual(Float, Float)', because right now we take
nullability from the inferred type of the expression (which is 'Any?' in
the test cases).
We should probably reconsider this in case of more exact information
available from the data flow analysis, e.g., in case of
fun test(x: Any?) =
x is Serializable && x is Double? && x == 0.0
We statically know that 'x' is not null in 'x == 0.0' (although it's
neither nullability of it's numeric type 'Double?' nor the nullability
of the inferred type 'Any?').
There might be some edge effects in the performance related to byte code
size and preventive unboxing and so on.
2018-04-11 10:49:02 +03:00
Dmitry Petrov
665d6c82ad
Fix Android tests for IEEE 754
2018-04-11 10:49:02 +03:00
Nikolay Krasko
70d236cb8d
Always configure "idea.home.path" system variable
...
When TestLoggerFactory is initialized in tests it checks that variable
and it it's not present uses classpath to search for logger configuration.
If this search is unsuccessful a lot of exceptions are written to log:
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:96)
at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:67)
2018-03-29 19:49:00 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Mikhael Bogdanov
cc4ab832b7
Properly calculate outermost parent class for sam wrapper
...
#KT-22906 Fixed
2018-02-19 13:29:56 +01:00
Mikhael Bogdanov
cc7bd80099
Enable multidex in android box tests
2018-02-16 14:22:04 +01:00
Mikhael Bogdanov
d7e5eb24ee
Update android test dependencies
2018-02-09 09:45:14 +01:00
Mikhael Bogdanov
b666a2da5f
Increase android test timeout
2018-02-09 09:45:13 +01:00
Mikhael Bogdanov
0954d1ab1b
Don't generate hash in sam wrapper class name
...
#KT-17091 Fixed
2018-02-08 10:11:48 +01:00
Mikhael Bogdanov
5d6d1bf182
Explicitly specify 'idea.home.path' in android tests
2018-02-07 15:33:54 +01:00
Vyacheslav Gerasimov
89a07ded1c
Extract versions and remove unnecessary '.jar' extensions
2018-01-30 17:06:18 +03:00
Vyacheslav Gerasimov
07b191f460
Update dependency versions after migration to 173
2018-01-30 17:06:17 +03:00
Ilya Chernikov
4eb557724c
Convert compiler projects to the new intellij deps
2018-01-30 17:06:13 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00
Ilya Chernikov
74411d9b9c
Convert all compiler modules to intellij plugin
2018-01-30 17:06:06 +03:00
Ilya Chernikov
6614695616
Convert more projects
2018-01-30 17:06:06 +03:00
Mikhael Bogdanov
4c1eb21805
Minor. Add assertion message
2018-01-19 10:42:02 +01:00
Mikhael Bogdanov
7f1cc81d39
Support test directives in android tests
2018-01-18 10:08:58 +01:00
Mikhael Bogdanov
ef1a3ec32d
Convert CodegenTestsOnAndroidGenerator to Kotlin
2018-01-18 10:08:58 +01:00
Mikhael Bogdanov
7e6542b8c8
Renema CodegenTestsOnAndroidGenerator.java to CodegenTestsOnAndroidGenerator.kt
2018-01-18 10:08:57 +01:00
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