Commit Graph

57112 Commits

Author SHA1 Message Date
Simon Ogorodnik b78ba71224 [FIR] Set mem-limit 8g 2019-08-27 17:24:56 +03:00
Simon Ogorodnik 6a9fb46985 [FIR] Make fir modularized test depends on dist 2019-08-27 17:24:45 +03:00
Simon Ogorodnik 5ef4a01a45 [FIR] Fix module qualified names 2019-08-27 17:24:35 +03:00
Simon Ogorodnik 9338a3c086 [FIR] Filter out common modules 2019-08-27 17:23:40 +03:00
Simon Ogorodnik b99d9e0e0b [FIR] Disambiguate module names 2019-08-27 17:23:03 +03:00
Simon Ogorodnik 9530389583 [FIR] Group multiple pass logs into one 2019-08-27 17:23:01 +03:00
Simon Ogorodnik 4c246faddb [FIR] Fix redeclaration 2019-08-27 17:23:00 +03:00
Simon Ogorodnik 8c31a0be07 [FIR] Add filter param 2019-08-27 17:22:59 +03:00
Simon Ogorodnik 2ca1e5c8c7 [FIR] Pass properties to test 2019-08-27 17:22:58 +03:00
Simon Ogorodnik 96627fc1ae [FIR] Add parameters to modularized tests 2019-08-27 17:22:57 +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 02fd137cec SimpleTestClassModel: add deep field 2019-08-27 17:26:08 +07:00
Dmitry Gridin 65ce4aed1a TestGenerationDSL: cleanup code 2019-08-27 17:26:07 +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 4a049b9b01 GenerateTests: cleanup code 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