Commit Graph

3478 Commits

Author SHA1 Message Date
Michael Nedzelsky 2684b7abb0 fix tests in org.jetbrains.kotlin.idea.resolve 2015-09-08 02:04:59 +03:00
Michael Nedzelsky bc5c9065d2 fix tests in org.jetbrains.kotlin.checkers 2015-09-08 02:04:32 +03:00
Valentin Kipyatkov 97cf562dea Made convert to string template inspection less eager 2015-09-07 19:48:05 +03:00
Valentin Kipyatkov 527faec457 Moved test data 2015-09-07 19:34:32 +03:00
Nikolay Krasko df28d34f0f Ctrl-W works badly for selecting body of multi-line lambda starting with comment (KT-9014)
#KT-9014 Fixed
2015-09-07 18:45:43 +03:00
Dmitry Petrov 5ca8f7409a Fix debugger tests.
- Index binaries by facade class fqName
- Fix DebuggerUtils: should understand new facades
- Refactor IDELightClassGenerationSupport
- Add facadeSimpleName to KotlinFileStub
2015-09-07 16:29:02 +03:00
Dmitry Petrov f9901f6075 Fix decompiler tests.
For now, JVM and JS backends produce different metadata for package facades (and package parts),
and thus different output is expected for JVM and JS decompiler.
Split decompiler tests into common (decompiledText), JVM-specific (decompiledTextJvm),
and JS-specific (decompiledTextJs)
Join them back together if JS backend migrates to JVM-like package model.
2015-09-07 16:29:01 +03:00
Michael Bogdanov 0e5a5a2e25 ldifferentTypes test fix 2015-09-07 16:29:00 +03:00
Michael Bogdanov 47635c19a2 Generate calls through new minifacades 2015-09-07 16:28:59 +03:00
Dmitry Petrov 0289b8e290 Fix tests: ClsStubBuilderTestGenerated should honor new file part generation scheme. 2015-09-07 16:28:58 +03:00
Dmitry Petrov 8e6054f6c7 Fix tests:
- package parts are no longer built;
- test decompiled content for default file facades.
2015-09-07 16:28:58 +03:00
Dmitry Petrov b1b845d44d Proper light classes generation in presence of the new file facades. 2015-09-07 16:28:53 +03:00
Dmitry Petrov ab8b5d05ed Light class generation for new facades/parts.
1st working (naive) implementation.
2015-09-07 16:28:45 +03:00
Dmitry Petrov 7af88f6797 Update debug tests & incremental compilation tests depending on part class naming 2015-09-07 16:28:43 +03:00
Michael Bogdanov d524cdeef7 ~Redeclaration 2015-09-07 16:28:40 +03:00
Michael Bogdanov 905e74f870 TODO: restore tests: files with same names 2015-09-07 16:28:38 +03:00
Michael Bogdanov 48c5e3d218 Debug tests patched 2015-09-07 16:28:38 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Alexey Sedunov 14c657d448 Extract Function: Consider reference "broken" if corresponding diagnostics are changed after code fragment extraction
#KT-8633 Fixed
2015-09-06 18:04:39 +03:00
Alexey Sedunov e03067846f Extract Function: Ignore internal smartcasts
#KT-8458 Fixed
2015-09-06 18:04:37 +03:00
Dmitry Jemerov 55640ac885 assorted Find Usages fixes: add missing read actions, better cancellation, fix search of componentN() usages for data class primary constructor parameter, remove workaround for usage of IDEA API which is now public 2015-09-04 18:25:36 +02:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Denis Zharkov 31244edec9 Deprecate deprecated in favor of Deprecated 2015-09-04 18:19:31 +03:00
Denis Zharkov 952d45dc8b Deprecate JVM platform annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov 26f9bd7b63 Deprecate some of JVM flag annotations in favor of capitilized themselves 2015-09-04 18:19:31 +03:00
Denis Zharkov bbc192fda5 Deprecate suppress annotation in favor of Suppress 2015-09-04 17:23:25 +03:00
Denis Zharkov 11fed1674e Deprecate extension annotation in favor of Extension 2015-09-04 17:23:25 +03:00
Dmitry Jemerov fcb8b796c4 change expected testdata 2015-09-04 15:05:11 +02:00
Natalia Ukhorskaya 060b6e6b15 Debugger: support stepping out inline function 2015-09-04 11:40:22 +03:00
Natalia Ukhorskaya 73946050c1 Debugger: support stepping over inline function 2015-09-04 11:40:20 +03:00
Alexey Sedunov e4dd30599e Extraction Engine: Forbid extraction of non-singleton qualifiers
#KT-8297 Fixed
2015-09-03 22:06:20 +03:00
Alexey Sedunov 1db7195e94 Extract Function: Fix callee replacement in operation expressions
#KT-8294 Fixed
2015-09-03 22:06:18 +03:00
Alexey Sedunov 1ca3c5e3b8 PSI Unifier: Use convention-based call for array access expressions when comparing elements by resolved calls
#KT-8312 Fixed
2015-09-03 22:06:17 +03:00
Alexey Sedunov d7e79e7f28 Introduce Variable: Forbid inside of type references and 'super' references
#KT-8324 Fixed
2015-09-03 22:06:15 +03:00
Alexey Sedunov fa8fcb53c5 Introduce Variable: Forbid extraction from class initializer (aside of its
body)
 #KT-8329 Fixed
2015-09-03 22:06:13 +03:00
Alexey Sedunov c005fe613f Introduce Variable: Fix extraction of expression from when-entry condition
#KT-8444 Fixed
2015-09-03 22:06:12 +03:00
Alexey Sedunov 3038e2382b Introduce Variable: Forbid in the class body and at the top level
#KT-8735 Fixed
2015-09-03 22:06:11 +03:00
Alexey Sedunov 0f5dff483a Introduce Variable: Proper occurrence search in generated block expression
#KT-7836 Fixed
 #KT-8443 Fixed
 #EA-71411 Fixed
2015-09-03 22:06:09 +03:00
Alexey Sedunov b2eb53e4b2 Move/Change Package: Package name validation
#EA-70631 Fixed
2015-09-03 22:06:06 +03:00
Michael Nedzelsky 3a4dfc5241 remove requirements for explicit return type for public members 2015-09-03 18:23:04 +03:00
Valentin Kipyatkov 4085c1cf41 One more test 2015-09-03 15:56:00 +03:00
Valentin Kipyatkov 64e520b689 Moved test data 2015-09-03 15:56:00 +03:00
Valentin Kipyatkov c5891d255d Added test 2015-09-03 15:55:59 +03:00
Valentin Kipyatkov 6575fb8535 Annotations supported
#KT-8912 Fixed
2015-09-03 15:55:59 +03:00
Valentin Kipyatkov 366204da85 Constructor usages are replaced too 2015-09-03 15:55:59 +03:00
Valentin Kipyatkov de13e23a0a Initial support for class usages replacement with ReplaceWith 2015-09-03 15:55:59 +03:00
Valentin Kipyatkov 8dbe87a918 Moved classes 2015-09-03 15:55:58 +03:00
Valentin Kipyatkov 37ed77467f Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern 2015-09-03 15:55:57 +03:00
Valentin Kipyatkov 16650e8f5c Conflicting extension is recognized as redundant for setter with expression body 2015-09-03 15:55:57 +03:00
Valentin Kipyatkov 086d29a44a Added second quickfix on conflicting extension to mark it hidden and deprecated 2015-09-03 15:55:56 +03:00