Nikolay Krasko
a642a15947
"Run Test" line markers now wrap the function names. Additional marker on abstract class.
2016-04-05 00:39:46 +03:00
Nikolay Krasko
ee9962ed70
Template for Junit4 framework doesn't have test prefix anymore
2016-04-05 00:39:46 +03:00
Alexey Sedunov
cbb6f7ed63
Generate equals()/hashCode(): Fix hashCode() implementation
...
#KT-11638 Fixed
2016-03-29 15:21:17 +03:00
Nikolay Krasko
85bc32a884
Adjust move code tests for KEEP_FIRST_COLUMN_COMMENT option
...
#KT-4175 In Progress
2016-03-16 12:38:21 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Alexander Udalov
f130755972
Use new built-in binary format (.kotlin_builtins files) in IDE
...
Instead of .kotlin_class and .kotlin_package files, .kotlin_builtins files are
now supported: they are decompiled to a long file consisting of all non-real
classes (those which do not also have .class files) and members in the
corresponding package.
Unlike the old files, .kotlin_builtins files have a binary version in the
beginning, which allows us to skip decompilation and stub building in case the
file has an unsupported version. This could previously lead to exceptions, see
KT-11077, EA-79339.
The change in DecompiledTextFactory is needed because without "defined in ..."
the keys for members in the long decompiled file are not unique, as there are
multiple members with exactly the same signatures in different classes (e.g.
arithmetic operations in primitive classes).
Remove testData files with the decompiled text and stubs of built-in symbols
because now that the whole package is decompiled to a single file, it would be
painful to update these files each time something in built-in sources changes
#KT-11077 Fixed
2016-02-26 11:29:10 +03:00
Dmitry Petrov
4afe98a0f6
Better diagnostics for conflicting overloads.
...
Skip declarations without sources in reporting, not when determining redeclaration groups:
this allows emitting informative diagnostics for incremental compilation.
Provide containing declaration with "kind", e.g., "package '<root>'", "class A", and so on.
2016-02-03 15:53:07 +03:00
Dmitry Petrov
65f754ffca
Fix KT-10764 IDEA doesn't show overload conflict between constructor and function...
...
When checking for overloads in package, consider functions and top-level class constructors as possibly conflicting between each other. NB OverloadUtil uses containing package scope from module descriptor.
Change diagnostic message for CONFLICTING_OVERLOAD: it's misleading in case of fun vs constructor conflict.
Add custom multifile test for diagnostics in IDE (probably not the best; should preprocess file content if it's required to check highlighting in multiple files, not only in the first file).
Add test for KT-10765 Incremental compilation misses overload conflict between constructor and function ...
2016-02-02 16:21:26 +03:00
Alexey Sedunov
fcbb18d876
Generate equals()/hashCode(): Forbid in interfaces
...
#KT-10815 Fixed
2016-02-01 13:18:38 +03:00
Alexey Sedunov
618f9f62f6
Code Insight: "Generate toString" action
...
#KT-10309 Fixed
2016-01-22 15:50:19 +03:00
Pavel V. Talanov
b34a91eeaa
Changes inside init blocks should be considered out of block modifications
2016-01-20 19:02:53 +03:00
Alexey Sedunov
5a108c5cde
Generate equals/hashCode Action: Use Arrays.equals/Arrays.hashCode for properties of array types
...
#KT-10514 Fixed
2016-01-14 13:55:02 +03:00
Pavel V. Talanov
1c4d4f3e36
Create class descriptors for local classes in illegal positions
...
Typecheck code in illegal selector position
Fixes exceptions on "val p = A.class" erroneous code
2015-12-29 15:56:44 +03:00
Pavel V. Talanov
ca38a50e1a
Test data: fix test data for LineMarkerTest
2015-12-15 20:22:12 +03:00
Ilya Gorbunov
4dde59368c
Fix tests not to duplicate array constructor definitions as they are available now in builtins.
2015-12-14 04:29:18 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Alexey Sedunov
89132b3f66
Generate Secondary Constructor: Forbid inside of class with explicit primary constructor
2015-11-02 15:15:28 +03:00
Alexander Udalov
a950f36fd7
Minor, fix test data
2015-10-31 13:52:04 +03:00
Nikolay Krasko
8bef335b71
Don't propose to generate Any methods in interface to avoid METHOD_OF_ANY_IMPLEMENTED_IN_INTERFACE error (KT-9796)
...
#KT-9796 Fixed
2015-10-29 14:37:14 +03:00
Alexey Sedunov
07259fa090
Generate Secondary Constructor: Fix test data loading. Add test with non-generic Java superclass
2015-10-24 19:50:47 +03:00
Michael Bogdanov
c63d221da3
Skip private members in facades
2015-10-18 17:53:26 +03:00
Alexey Sedunov
915236a6ba
Code Insight: "Generate equals/hashCode" action
2015-10-17 00:24:37 +03:00
Alexey Sedunov
30d697109c
Code Insight: "Generate secondary constructor" action
...
#KT-6970 Fixed
2015-10-13 20:56:52 +03:00
Yan Zhulanow
ed5c059cea
Rename unary plus() and minus() to unaryPlus() and unaryMinus()
2015-10-09 22:49:17 +03:00
Alexey Sedunov
730cc7b551
Code insight: "Generate..." actions for test framework support methods
...
#KT-9355 Fixed
2015-10-08 13:15:18 +03:00
Alexey Sedunov
5a325aeec0
Line Marking: Implement run markers for test classes/functions
2015-10-08 13:15:16 +03:00
Mikhail Glukhikh
cba6870f52
protected & internal are now forbidden in interfaces
2015-10-07 11:57:14 +03:00
Mikhail Glukhikh
4e91f2ffb7
'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed
2015-09-29 13:05:11 +03:00
Stanislav Erokhin
5fb6a15c81
Minor. fix testdata
2015-09-08 20:51:32 +03:00
Michael Nedzelsky
68c6c7790a
fix tests in org.jetbrains.kotlin.idea.codeInsight
2015-09-08 02:05:15 +03:00
Dmitry Jemerov
c7b26ed7ca
improve support for renaming overriding methods in enum entries
...
#KT-8891 Fixed
2015-08-28 15:49:07 +02:00
Valentin Kipyatkov
ab783e052f
No override for private to this
2015-08-27 23:21:22 +03:00
Valentin Kipyatkov
d62eeb1c25
Better test
2015-08-27 23:21:22 +03:00
Valentin Kipyatkov
dcfe9b98d7
Fixed bug with duplicated members in Override Members dialog
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
40638de67c
Override members does not generate qualified super when not needed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
9497856d8e
KT-8868 "Implement members" generates unqualified reference for member class/interface
...
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
9b4e3b15c4
KT-8822 Override Members: do not show private members from java classes
...
#KT-8822 Fixed
2015-08-19 17:26:44 +03:00
Mikhail Glukhikh
adf43519d6
Code mover fix: correct commas / semicolons after enum entries, relevant test fixes, extra tests
2015-08-11 10:38:20 +03:00
Michael Nedzelsky
c74577951e
minor fix in idea/testData: ImplementFunctionType.kt -> implementFunctionType.kt
2015-08-11 04:23:18 +03:00
Valentin Kipyatkov
377201bbcd
KT-8716 Exception on attempt to implement function
...
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Denis Zharkov
41d4af2cb9
Implement rendering of raw types
...
Also add some clarification in spec
2015-08-06 08:18:18 +03:00
Valentin Kipyatkov
63dc843c71
KT-8542 Override dialog: only one class from hierarchy is shown
...
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Valentin Kipyatkov
edcb330281
Corrected/removed tests related to on-the-fly import optimization
2015-07-22 21:16:13 +03:00
Denis Zharkov
f0833d626a
Fix intentions tests after types enhancement
...
Types became more accurate
2015-07-09 16:36:44 +03:00
Nikolay Krasko
3d8f04e4fe
Update test data: Idea can't parse description with "ctrl+ alt + b" promotion
2015-06-23 15:59:38 +03:00
Nikolay Krasko
d1e7e184b6
Do psi-only checks to avoid unnessasary resolve in creating recursion markers
2015-06-19 14:15:17 +03:00
Valentin Kipyatkov
ceb9b3d663
Fixed test data
2015-05-14 01:09:53 +03:00
Valentin Kipyatkov
734b502ad6
Fixed test data
2015-05-14 01:00:30 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Michael Bogdanov
49f063522c
Inline util functions renaming
2015-05-05 12:47:57 +03:00