Vyacheslav Gerasimov
cf39803074
Pass cacheRedirectorEnabled flag to performance test gradle import
...
#KT-33582
2019-08-28 16:14:05 +03:00
Dmitry Gridin
b04fbbd43b
Fix testUnusedSymbol_class_inspectionData_Inspections_test test
2019-08-28 19:11:42 +07:00
Igor Yakovlev
1e72116a9c
Fix test data for intention tests
...
The ExtractDeclarationFromCurrentFileIntention applicability range was changed by commit 3b35c2d24 so the test data of several test comes invalid
2019-08-28 13:07:33 +03:00
Dmitry Gridin
55f4610926
Tests: fix invalidBundleOrProperty test for 183
...
#KT-32860 Fixed
2019-08-28 17:03:13 +07:00
Toshiaki Kameyama
d4e4a4c3e7
To ordinary string literal: remove 'trimIndent()' if string is single line
...
#KT-32616 Fixed
2019-08-27 22:21:49 +03:00
Dmitry Gridin
e9b2e74b15
escapeXML: fix bunch for 183
2019-08-27 18:06:06 +07:00
Dmitry Gridin
ea02d0c632
ExpectActualUtils: repairSuperTypeList should consider type parameters
2019-08-27 17:26:11 +07:00
Dmitry Gridin
03141be11e
ExpectActualUtils: update repairAnnotationEntries for more cases with annotations
2019-08-27 17:26:11 +07:00
Dmitry Gridin
ba0ba3422d
CreateExpectedFix: rename isCorrectAndHaveNonPrivate to isCorrectAndHaveNonPrivateModifier
2019-08-27 17:26:10 +07:00
Dmitry Gridin
3c6da0bfe6
TypeAccessibilityChecker: rename existingFqNames to existingTypeNames and add comments
2019-08-27 17:26:10 +07:00
Dmitry Gridin
531f695404
CreateExpectedFix: remove recursive call from findAndApplyExistingClasses
2019-08-27 17:26:10 +07:00
Dmitry Gridin
35d64f85f8
TypeAccessibilityCheckerImpl: explicitParameters change return type to Sequence
2019-08-27 17:26:10 +07:00
Dmitry Gridin
aa135bc505
TypeAccessibilityCheckerImpl: move visibility check for KtNamedDeclaration to outside
2019-08-27 17:26:10 +07:00
Dmitry Gridin
eaa28fd4ed
CreateExpect: fix build for a33
2019-08-27 17:26:10 +07:00
Dmitry Gridin
27d7ee8518
TypeAccessibilityChecker: move to idea-analysis module
2019-08-27 17:26:10 +07:00
Dmitry Gridin
56a7445660
CreateExpect: should prefer type aliases
...
#KT-32571 Fixed
2019-08-27 17:26:10 +07:00
Dmitry Gridin
5928a36fa2
CreateExpect: should save receiver annotations
...
#KT-32694 Fixed
2019-08-27 17:26:09 +07:00
Dmitry Gridin
42ef9d634a
ExpectActualUtils: merge generateFunction with generateProperty to generateCallable & remove old checker
2019-08-27 17:26:09 +07:00
Dmitry Gridin
90b82c96eb
TypeAccessibilityChecker: fix incorrectTypes for descriptor
2019-08-27 17:26:09 +07:00
Dmitry Gridin
1c98cb763e
addRemoveModifier: shouldn't add extra new line
...
#KT-26635 Fixed
2019-08-27 17:26:09 +07:00
Dmitry Gridin
0458a22f78
TypeAccessibilityChecker: fix case with unresolved type params
2019-08-27 17:26:09 +07:00
Dmitry Gridin
4ed56908af
CreateExpect: add actual modifier to original class if needed
2019-08-27 17:26:09 +07:00
Dmitry Gridin
73ae993d81
TypeAccessibilityChecker: add more tests
2019-08-27 17:26:09 +07:00
Dmitry Gridin
84d167b7bd
TypeAccessibilityChecker: add logs for tests
2019-08-27 17:26:08 +07:00
Dmitry Gridin
7c850e44d2
CreateExpectedFix: add escaping for error text
2019-08-27 17:26:08 +07:00
Dmitry Gridin
3617f3d247
TypeAccessibilityChecker: fix callable with upper bound
2019-08-27 17:26:08 +07:00
Dmitry Gridin
46fefde09c
ExpectActualUtils: introduce TypeAccessibilityChecker
...
#KT-28537 Fixed
#KT-28538 Fixed
#KT-28549 Fixed
#KT-28620 Fixed
#KT-31433 Fixed
#KT-31475 Fixed
#KT-32642 Fixed
#KT-32768 Fixed
#KT-33150 Fixed
2019-08-27 17:26:08 +07:00
Dmitry Gridin
d1b33485a4
ExpectActualUtils: rename checkTypeInSequence to incorrectTypesInSequence & change return type
2019-08-27 17:26:08 +07:00
Dmitry Gridin
18f0bbe8f1
QuickFixMultiModule: change tests structure
2019-08-27 17:26:08 +07:00
Dmitry Gridin
bddf768d59
CreateExpect: fix case with parameters in constructor without var/val
2019-08-27 17:26:07 +07:00
Dmitry Gridin
1b718761b2
AbstractQuickFixMultiModuleTest: support multiline errors SHOULD_FAIL_WITH
2019-08-27 17:26:07 +07:00
Dmitry Gridin
3f7c983f04
CreateExpectFix: fix selection for primary constructor
2019-08-27 17:26:07 +07:00
Dmitry Gridin
1748906d9a
ExpectActualUtils: should add annotations
2019-08-27 17:22:16 +07:00
Dmitry Gridin
5e60ea2272
ExpectActualUtils: should remove override
2019-08-27 17:22:16 +07:00
Dmitry Gridin
7561905676
ExpectActualUtils: add type accessibility check for supertypes
2019-08-27 17:22:15 +07:00
Dmitry Gridin
8e9952e203
multiplatformUtil: implement Module.toDescriptor()
2019-08-27 17:22:15 +07:00
Dmitry Gridin
755f7e8739
elementRenderingUtils: override visitor for KtTypeReference, KtParameterList, KtParameter
2019-08-27 17:22:15 +07:00
Dmitry Gridin
c17e19b004
elementRenderingUtils: cleanup code
2019-08-27 17:22:15 +07:00
Dmitry Gridin
2b32c9d2f9
ExpectActualUtils: add type arguments accessibility check for constructors
2019-08-27 17:22:15 +07:00
Dmitry Gridin
e59571c482
ExpectActualUtils: add type arguments accessibility check for top level classes
2019-08-27 17:22:15 +07:00
Dmitry Gridin
bad9459978
ExpectActualUtils: add type arguments accessibility check
2019-08-27 17:22:15 +07:00
Dmitry Gridin
5884c65857
ExpectActualUtils: add type accessibility check
2019-08-27 17:22:15 +07:00
Dmitry Gridin
dffb44c11c
Create actual/expect quick fix should render super type correctly
2019-08-27 17:22:15 +07:00
Dmitry Gridin
a21375508d
ExpectActualUtils: drop missedDeclarations parameter from generateClassOrObject function
2019-08-27 17:22:14 +07:00
Toshiaki Kameyama
a3c3ab08fd
Override/Implement members: place members in the same order as super class members
2019-08-26 13:18:31 +07:00
Roman Golyshev
a38651c1ec
KT-32366: Add missing 182 bunch file for the foldingTestUtils.kt
2019-08-23 22:59:45 +03:00
Igor Yakovlev
5a511dd635
Refactor and fix of the run/apply/let/also intention converter
...
1) Optimize and refactored code
2) Added support for correct renaming of target identifier to this/it
3) Added support of cases with difficult application targets (like: var x = 1 + 2)
4) Show error hint when refactoring failed for some reason
5) Improved intention applicability checking to eliminate false-positive cases
6) Fixed EA-209577
2019-08-23 19:37:00 +03:00
Roman Golyshev
37e3c41b57
KT-32366: Add sync scroll for source and preview editor
...
- ^KT-32366 Fixed
2019-08-23 18:22:27 +03:00
Roman Golyshev
e488e920d8
KT-32366: Add tests for right preview window
...
- also, fix missing test generation in `GenerateTests` bunch files (which was introduced in e54b43ba )
2019-08-23 18:22:26 +03:00
Roman Golyshev
bddf87337c
KT-32366: Add printing scratch output to preview window
...
- printing is done with `PreviewEditorScratchOutputHandler`
- `KtsScratchFileEditorWithPreview` redirects output depending on the layout selection
2019-08-23 18:22:26 +03:00