Commit Graph

12371 Commits

Author SHA1 Message Date
Alexander Udalov 102ced153c Remove binary test data from completion tests
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00
Alexander Udalov 47ce2f7fe8 Remove binary test data for tests with broken jars 2013-10-10 20:28:22 +04:00
Alexander Udalov 475551f54a Remove binary test data for some tests
Launch CLICompiler instead to compile it
2013-10-10 20:28:22 +04:00
Alexander Udalov c936136341 Refactor CompileKotlinAgainstCustomBinariesTest
Each test now supplies its own classpath producer, which for now finds all jars
in the test data directory, but later will compile them using CLICompiler
2013-10-10 20:28:22 +04:00
Alexander Udalov 1d93ab41d2 Merge two tests with almost the same logic 2013-10-10 20:28:22 +04:00
Alexander Udalov 9e8a8e852c Refactor CompileKotlinAgainstBinariesCustomTest
Extract common logic, add NotNull annotations
2013-10-10 20:28:21 +04:00
Alexander Udalov f8201c6aa9 Refactor TopLevelMembersInvocationTest
Compile library dependencies in the test instead of storing them as jars in the
repository. Reuse MockLibraryUtil, move it from idea tests to compiler-tests
2013-10-10 20:28:21 +04:00
Alexander Udalov a2c74d4324 Refactor OverrideImplementWithLibTest
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00
Andrey Breslav 8424e7f5c7 Fix smoke test 2013-10-10 18:59:37 +04:00
Andrey Breslav 4bc0f8280f Rename variable 2013-10-10 17:49:17 +04:00
Andrey Breslav 68e2e9b4fc Ability to direct output of different modules to different directories 2013-10-10 17:49:17 +04:00
Andrey Breslav 2a8ebc7dbe Do not report the output twice 2013-10-10 17:49:17 +04:00
Andrey Breslav 9e0e67d19d Refactoring: common logic extracted and moved to a util class 2013-10-10 17:49:17 +04:00
Andrey Breslav d4a89d04d7 Each module carries its output directory 2013-10-10 17:49:17 +04:00
Andrey Breslav 4d482f2f14 Class file factory remembers sources for each class 2013-10-10 17:49:16 +04:00
Andrey Breslav f529e5d2aa ModuleChunks introduced 2013-10-10 17:49:16 +04:00
Mikhael Bogdanov 468e5f8945 Properly name packageFragments and packageFacade 2013-10-10 16:36:54 +04:00
Mikhael Bogdanov 8f8017981b StaticDelegationKind removed 2013-10-10 16:36:37 +04:00
Mikhael Bogdanov 89d99c6fc7 Do done on classBuilder 2013-10-10 16:35:10 +04:00
Mikhael Bogdanov bcc14effb5 NamespaceCodegen refactoring 2013-10-10 16:35:07 +04:00
Mikhael Bogdanov d4b84a8809 ScriptCodegen refactoring: unsingleton 2013-10-10 16:17:10 +04:00
Andrey Breslav 08a90ba7d4 Fixing EA-50643 - NPE: PropertyCodegen.generateBackingField
Do not return null as a method/field visitor
2013-10-10 14:06:20 +04:00
Natalia Ukhorskaya 31fa1383ba Check if gradle module has kotlin runtime classes in module classpath 2013-10-10 13:55:34 +04:00
Andrey Breslav a47d187c7a Useless method and parameter removed 2013-10-09 19:16:43 +04:00
Andrey Breslav 94ef5cb19b Rename: SIGNATURES -> LIGHT_CLASSES 2013-10-09 19:16:43 +04:00
Andrey Breslav 1819825e54 "builtins/stubs" mode removed from backend 2013-10-09 19:16:43 +04:00
Andrey Breslav 7123905e96 Support for "builtins/stubs" mode removed from cli 2013-10-09 19:16:43 +04:00
Natalia Ukhorskaya 04a5e905df Load Maven version from search.maven.org 2013-10-09 13:03:13 +04:00
Andrey Breslav 3071b58219 Use a built-in class to mitigate a naming problem in Android tests 2013-10-09 11:47:58 +04:00
Andrey Breslav 135034ea86 Use <withKotlin/> instead of a separate task 2013-10-08 21:52:09 +04:00
Andrey Breslav cfc07c300f Build Kotlin sources with the bootstrap compiler 2013-10-08 21:52:09 +04:00
Andrey Breslav 11ea5fe175 Download bootstrap compiler 2013-10-08 21:52:09 +04:00
Andrey Breslav 9391fa79c3 CLI help text changed 2013-10-08 21:52:08 +04:00
Andrey Breslav 36435188b9 Download sources for Ant 1.7 2013-10-08 21:52:08 +04:00
Andrey Breslav 7f46d7555e Do not write "? extends" and "? super" in immediate arguments of supertypes in Java generic signatures 2013-10-08 21:13:30 +04:00
Andrey Breslav 31c14c33e0 WriteSignatureTest is now generated 2013-10-08 21:13:29 +04:00
Andrey Breslav aaac4419d5 Support testing class signatures 2013-10-08 21:13:29 +04:00
Pavel V. Talanov 385870eeb8 Update to IDEA 132.556 EAP 2013-10-08 20:52:25 +04:00
Alexey Sedunov 8d1bddcdfb Remove annotations shared between JDK and Android SDK 2013-10-08 19:46:32 +04:00
Andrey Breslav 5aa8aa4550 Package names unified in test data 2013-10-08 19:21:02 +04:00
Andrey Breslav a985882baf CompilerAdapter for <javac> task + test for compiler attribute
No test for the typedef <withKotlin/> because Ant 1.7 doesn't seem to support typedef inside <javac>
2013-10-08 19:21:02 +04:00
Andrey Breslav bf49bc0220 <kotlinc> ant task now supports <src> element and multiple source directories 2013-10-08 19:21:02 +04:00
Alexey Sedunov ed006a66c5 Fix inconsistencies in Android annotations 2013-10-08 18:15:21 +04:00
Evgeny Gerashchenko 9c38716829 Generating annotations in correct order for methods with synthetic parameters.
#KT-4050 fixed
2013-10-08 16:44:16 +04:00
Evgeny Gerashchenko e401be7ee6 Minor. Clarified terms. 2013-10-08 16:44:16 +04:00
Evgeny Gerashchenko 8e39499a9f Green code. 2013-10-08 16:44:16 +04:00
Erokhin Stanislav d6a2c6d95a JS backend: fix init val in constructor 2013-10-08 14:37:25 +04:00
Erokhin Stanislav 94c93ef31b JS backend: fix override property 2013-10-08 14:37:24 +04:00
Erokhin Stanislav 53abc956cc JS backend: add simple test connected with frontend bug 'isStatement' for function body == 'hasBlockBody' 2013-10-08 14:37:24 +04:00
Erokhin Stanislav a70782aaf7 JS backend: add super call support 2013-10-08 14:37:24 +04:00