Commit Graph

757 Commits

Author SHA1 Message Date
Alexander Udalov dda44a61a1 Rewrite integration tests to JUnit3, make Ant JVM task tests generated 2015-06-05 16:19:17 +03:00
Zalim Bashorov dc1b91eacd JS: prepare tests for secondary constructors 2015-05-28 10:24:48 +03:00
Alexander Udalov d14e5b8a72 Restore and deprecate Function{n}/ExtensionFunction{n} classes for easier migration
Users' Java code will not break in common cases (when passing functions to
Kotlin), and deprecation warnings will be reported.

Provide an inspection with a quick fix which allows to replace deprecated
function class usages to the new classes. Include this fix to the "code
cleanup" action
2015-05-28 01:20:05 +03:00
Valentin Kipyatkov ec5256a0f0 DeprecatedCallableAddReplaceWithIntention 2015-05-27 16:15:50 +03:00
Ilya Gorbunov 84ca26719d Deprecate meaningless or vague-defined operations with Char operands.
Change expected test output.
2015-05-27 00:58:35 +03:00
Ilya Gorbunov c6abf75856 Do not generate primitive type definition for Char, place it in a file beside. 2015-05-27 00:58:24 +03:00
Alexander Udalov 79ee91c048 Download and build intellij-markdown when ABI version changes 2015-05-26 15:05:02 +03:00
Alexander Udalov 6a0a703539 Delete numbered ExtensionFunction classes and generation logic 2015-05-26 15:04:57 +03:00
Alexander Udalov 4141e0a8df Introduce fictitious numbered Function class descriptors 2015-05-26 15:04:54 +03:00
Alexander Udalov b574c1d205 Move 23 function classes to package kotlin.jvm.functions, drop KFunction* 2015-05-26 14:27:41 +03:00
Alexander Udalov f6178ad7dd Introduce Function, KFunction interfaces and 'extension' annotation 2015-05-26 14:27:40 +03:00
Michael Nedzelsky 1f744272f2 JS: add decompiled text generated tests 2015-05-26 05:04:52 +03:00
Michael Nedzelsky 79b81d846e fix and improve check for TARGET_BACKEND for generated tests 2015-05-26 05:04:41 +03:00
Michael Nedzelsky d4f348edd5 VirtualFileFinder: regenerate injectors 2015-05-26 05:03:54 +03:00
Alexey Tsvetkov fc1a1f742b JS test: added multi-module inline tests 2015-05-25 20:20:25 +03:00
Natalia Ukhorskaya 2538ebe407 Tests: add ability to write custom stepping tests 2015-05-25 16:19:02 +03:00
Natalia Ukhorskaya 5d9daf3890 Refactor stepping tests 2015-05-25 16:19:00 +03:00
Alexey Sedunov b2201026d1 Java Resolver: Substitute original element when resolving PsiMethod to FunctionDescriptor
#KT-7353 Fixed
2015-05-22 20:51:25 +03:00
Natalia Ukhorskaya 95b9c05138 Tests for step out command 2015-05-21 19:17:32 +03:00
Yan Zhulanow d9289df29e Basic annotation collector tests 2015-05-21 15:48:07 +03:00
Pavel V. Talanov cfdb1f4ec3 Refactor creation of ModuleDescriptor
Add storageManager to ModuleDescriptorImpl (to be used later)
Extract ModuleParameters to hold default imports and platform class map
Introduce MutableModuleContext to simplify module creation code
2015-05-20 19:45:50 +03:00
Denis Zharkov e078eaf15b Resolve annotations on lambda's descriptor
Also add test checking functional expression
2015-05-20 09:24:57 +03:00
Andrey Breslav a2b1a86ef5 Rename packages in kotlin-reflect.jar so that they do not duplicate compiler classes 2015-05-19 17:15:02 +03:00
Mikhail Glukhikh fdf0ea5546 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries 2015-05-18 16:08:16 +03:00
Pavel V. Talanov 01efbb1502 Introduce ModuleContext, ProjectContext and use it some of the APIs 2015-05-17 18:24:49 +03:00
Ilya Gorbunov f18b9caa8d JS: Provide MIN_VALUE and MAX_VALUE member constants for Int, Long, Short and Byte companion objects.
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Int, Long, Short and Byte companion objects.
2015-05-17 17:26:25 +03:00
Alexey Tsvetkov 8cdff2439b JS: added reified is-check test cases 2015-05-13 12:15:29 +03:00
Dmitry Jemerov 2a99f757c4 replace 'trait' keyword with 'interface' in library code 2015-05-12 17:07:46 +02:00
Valentin Kipyatkov 837e46a9b8 Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes 2015-05-08 22:29:42 +03:00
Alexey Sedunov f13eb038e1 Introduce Parameter: Java -> Kotlin Interoperability 2015-05-08 11:43:00 +03:00
Alexey Sedunov fe96a8563a Inspections: Implement multi-file test class 2015-05-01 17:17:00 +03:00
Alexey Sedunov 6c28380be0 Intentions: Implement multi-file test class 2015-05-01 17:16:59 +03:00
Zalim Bashorov 9b49221c74 Fix test case generator: escape modifiers when they used for declaration enum entry 2015-04-29 16:50:21 +02:00
Dmitry Jemerov 9701a8fc7e regenerate keyword strings; add testcase for 'interface' keyword 2015-04-29 16:50:20 +02:00
Denis Zharkov 44a55e5bf6 Adjust testData to new labels syntax 2015-04-29 14:03:11 +03:00
Pavel V. Talanov 1a5efacbf3 Refactor frontend components
Make dependencies more explicit
Move components out of ExpressionTypingServices
Make ExpressionTypingUtils a true utility class, refactor stuff out
Extract new components: FakeCallResolver, MultiDeclarationResolver, ValueParameterResolver
2015-04-27 15:56:59 +03:00
Pavel V. Talanov 1e5108a2ab Drop unused InjectorForLazyTopDownAnalyzerBasic 2015-04-27 15:56:36 +03:00
Ilya Gorbunov 5ee17c0c26 Remove deprecated split usages in build-protobuf-lite script. 2015-04-24 20:50:29 +03:00
Michael Bogdanov 39fabda611 New diagnostic for Java default method call via super in trait 2015-04-24 18:54:09 +03:00
Alexey Tsvetkov fd09d4d837 Minor in JS: moved test for additional vars during inline to separate directory 2015-04-24 18:19:33 +03:00
Ilya Ryzhenkov bcb0b499f4 Workaround to allow QualifiedExpressionResolver to be created without an Injector. Should be fixed by code owner. 2015-04-24 15:44:44 +03:00
Ilya Ryzhenkov c2b3bcc95f SymbolUsageValidator infrastructure 2015-04-24 15:44:28 +03:00
Alexander Udalov 3014238189 Drop unused MutablePackageFragmentProvider 2015-04-24 02:08:36 +03:00
Alexey Sedunov 298dfa545f Introduce Parameter: Implement "Introduce lambda parameter" 2015-04-22 23:56:47 +03:00
Zalim Bashorov 1ef9b9db1f JS backend: add the support function expression
#KT-7242 Fixed
2015-04-22 12:48:22 +03:00
Natalia Ukhorskaya f936689db3 Add test for KotlinBytecodeToolWindow 2015-04-22 10:35:19 +03:00
Michael Bogdanov 7e3403f602 Add java8 test module and run configuration with initial test 2015-04-18 14:45:15 +03:00
Alexey Tsvetkov f900cb36c5 JS: added inline evaluation order tests generation 2015-04-16 21:17:10 +03:00
Dmitry Jemerov 7f5b1d489e KDoc typed handler: autoinsert pair brackets and parentheses
#KT-7347 fixed
2015-04-15 19:53:14 +02:00
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00