Alexey Tsvetkov
bafa9dca48
Test: pass android-build-tools version using project property
...
The reason is to test the same project with different android-build-tools versions
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
157c5009f0
Test: download android sdk using sdk-manager-plugin
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
c686c7fb91
Minor: print subprocess output immediately in tests
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
da3897536a
Minor: format android gradle test
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
5d89f1fb0a
Minor: remove assertion from test
...
Asserted task does not exist
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
ae53183d72
Fix java build when kotlin is changed
...
See SimpleKotlinGradleIT#testSimpleCompile
#KT-11350 fixed
2016-03-30 03:40:52 +03:00
Alexey Tsvetkov
4e64d46105
Add kotlin.incremental project property to gradle
...
Allows turning on incremental compilation by passing
'-Pkotlin.incremental=true' in command line
or specifying it in a 'local.properties' file
2016-03-30 03:40:51 +03:00
Alexey Tsvetkov
274b7bb0b0
Test: turn off thread leaks assertion for android gradle tests
...
ThreadTracker compares active threads before and after compilation.
In test mode if those sets are different, it was throwing an exception.
By some reason that is not obviously linked with kotlin,
the exception was thrown for every android test.
As a temporary solution I added a property 'kotlin.gradle.test.assertThreadLeaks'
that controls this assertion and turned it off for android tests only.
2016-03-30 03:39:44 +03:00
Ilya Gorbunov
cbf8dca28d
Add deprecated extension MutableList.remove.
...
#KT-11648 Fixed
2016-03-29 19:56:03 +03:00
Ilya Gorbunov
ce09612804
Write ReadMe about what constitutes the public API and what is an incompatible change
2016-03-29 13:50:08 +03:00
Ilya Gorbunov
8888537137
Reference dump of kotlin-runtime and kotlin-stdlib of 1.0.2-dev
...
New public implementation methods 'renderLambdaToString' which are called only from the same module.
2016-03-29 13:50:06 +03:00
Ilya Gorbunov
26e905e90e
Reference dump of kotlin-runtime and kotlin-stdlib of 1.0.0 and 1.0.1
2016-03-29 13:50:04 +03:00
Ilya Gorbunov
4c113ad882
Prettify dump output format: indent members and enclose them in { }, space before : in supertypes.
2016-03-29 13:50:02 +03:00
Ilya Gorbunov
ff0a24a750
Move test output files closer to test data.
...
Move reference dump out of test directory.
2016-03-29 13:50:01 +03:00
Ilya Gorbunov
2e87a08c8d
Ignore kotlin visibilities for classes in effectively public package kotlin.jvm.internal
2016-03-29 13:49:59 +03:00
Ilya Gorbunov
ce4b161df4
Find single jar file with binaries in target folders without knowning its version in advance.
2016-03-29 13:49:57 +03:00
Ilya Gorbunov
a75093650c
Add JvmField and const tests for exposed fields visibility
2016-03-29 13:49:55 +03:00
Ilya Gorbunov
0d12d60e8a
Infer lateinit-exposed field effective visibility from its setter visibility.
2016-03-29 13:49:53 +03:00
Ilya Gorbunov
f2cb5edf1a
Do not consider protected members in final class as public API
2016-03-29 13:49:51 +03:00
Ilya Gorbunov
4e250e4dd1
Refactor data structures
2016-03-29 13:49:49 +03:00
Ilya Gorbunov
10792de4c1
Treat inline-exposed internal API as effectively public.
...
Comment out unsupported cases.
2016-03-29 13:49:48 +03:00
Ilya Gorbunov
0aaf0ba60f
Take into account field kotlin visibility
2016-03-29 13:49:46 +03:00
Ilya Gorbunov
bd8c83bee2
Merge public static API of non-public base supertypes into public subtype
2016-03-29 13:49:44 +03:00
Ilya Gorbunov
472b386101
Tests for public API dump tool.
2016-03-29 13:49:43 +03:00
Ilya Gorbunov
da032e371a
Minor: refactoring
2016-03-29 13:49:41 +03:00
Ilya Gorbunov
88a038a0df
Filter out nested classes in non-public outer classes.
2016-03-29 13:49:39 +03:00
Ilya Gorbunov
a9fd1de263
Tool to dump binary API signatures from compiled JAR.
...
Incorporate declaration mappings output from the compiler to take into account kotlin visibilities.
2016-03-29 13:49:38 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Yan Zhulanow
77b7b46542
Kapt: fix sequential build with kapt when Kotlin source file was modified
2016-03-25 19:32:18 +03:00
hansenji
100252b18b
Handle elements in two different classes with the same name annotated with the same annotation.
2016-03-25 19:32:18 +03:00
hansenji
b9dc92d7cf
Removed Test for deprecated annotation
2016-03-25 19:32:18 +03:00
Alexey Tsvetkov
f3ee255436
Normalize output for windows tests
2016-03-24 14:55:27 +03:00
Alexey Tsvetkov
61090d7027
Refactoring: optimize createDefaultSourceDirectorySet
2016-03-16 16:43:25 +03:00
Alexey Tsvetkov
d1abc87857
Fix NoSuchMethodError with Gradle 2.12
...
#KT-11351 fixed
2016-03-16 16:43:24 +03:00
Alexey Tsvetkov
d6c2f77125
Fix Process.waitFor freeze on windows when gradle daemon is stopped during tests
2016-03-16 16:43:24 +03:00
Natalia Ukhorskaya
7e6fa8ef17
Refactoring: rename android-compiler-plugin to android-extensions-compiler
2016-03-15 20:25:45 +03:00
Alexey Tsvetkov
d7cda17d2a
Minor: make it possible to run gradle incremental tests on CI
...
* Rename test so it won't be run by maven's integration-test phase
* Adjust allocated heap size
2016-03-10 23:00:11 +03:00
Ilya Gorbunov
92003f626b
kotlin.test: Make inline methods 'todo' and 'currentStackTrace' @InlineOnly not to loose stack trace.
...
Move related tests to separate file and verify the line numbers.
#KT-11348 Fixed
2016-03-10 04:28:24 +03:00
Ilya Gorbunov
9233d5a825
Minor: do not throw error immediately, return error message to 'require' who shall throw an IllegalArgumentException by itself.
2016-03-04 20:28:07 +03:00
Alexey Tsvetkov
4aa171c1b3
Minor: wait for gradle daemon to stop in tests
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
2140c270d7
Minor: replace warning with an assert
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
6ab868ae33
Print file paths relative to project root in gradle incremental compilation logs
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
8a0bd9446b
Minor: remove duplicated daemon stop in tests
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
6574f60730
Minor: ignore some incremental tests for gradle
...
KT-8487
2016-03-03 16:45:20 +03:00
Alexey Tsvetkov
eff972d613
Recompile files with errors next time
...
KT-8487
2016-03-03 16:45:19 +03:00
Alexey Tsvetkov
7dc35aa343
Always call after compile hook
...
KT-8487
2016-03-03 16:45:19 +03:00
Alexey Tsvetkov
be44db7bd3
Rebuild and compare output class files in gradle incremental tests
...
KT-8487
2016-03-03 16:45:19 +03:00
Ilya Chernikov
42cbd940c3
simple test on dependent module recompilation
...
KT-8487
2016-03-03 16:45:18 +03:00
Ilya Chernikov
1f83745862
Fixing destination dir handling to avoid warning from kotlin compiler
...
KT-8487
2016-03-03 16:45:18 +03:00
Alexey Tsvetkov
7e6c1c75f4
Remove classfile for modified files too
...
KT-8487
2016-03-03 16:45:18 +03:00