Commit Graph

27452 Commits

Author SHA1 Message Date
Natalia Ukhorskaya eac6fdbaa0 Fix linenumbers in tests 2015-10-28 14:23:51 +03:00
Natalia Ukhorskaya a8008dfa26 Do not use resove in catPutAt for breakpoints 2015-10-28 14:23:50 +03:00
Natalia Ukhorskaya 67e66f74bc Minor: fix warnings 2015-10-28 14:23:49 +03:00
Natalia Ukhorskaya e534636f03 Support multiple breakpoints at one line (especially for lambdas) 2015-10-28 14:23:49 +03:00
Natalia Ukhorskaya c071bf5c63 Fix lines for FieldBreakpoints in tests 2015-10-28 14:23:48 +03:00
Natalia Ukhorskaya 17a564495d Stepping for inline function: filter out inline function body lines from step over
#KT-9665 Fixed
2015-10-28 14:23:47 +03:00
Natalia Ukhorskaya b8e649e843 Minor: rename test 2015-10-28 14:23:46 +03:00
Natalia Ukhorskaya 66a5351cd0 Do not show fake local variables for inline function/argument in Variables View for Debugger 2015-10-28 14:23:45 +03:00
Natalia Ukhorskaya cdcafb8199 Fix stepping for inline function inside while statement 2015-10-28 14:23:45 +03:00
Natalia Ukhorskaya 258790cc2f Minor: refactor tests 2015-10-28 14:23:44 +03:00
Natalia Ukhorskaya e2411f8e46 Debugger tests: catch exceptions correctly 2015-10-28 14:23:43 +03:00
Natalia Ukhorskaya 4f1af224d1 Rewrite CheckLocalVariableTableTest using assertEqualsToFile 2015-10-28 14:23:43 +03:00
Natalia Ukhorskaya dd30462fd1 Support smart step into for inline function arguments 2015-10-28 14:23:42 +03:00
Natalia Ukhorskaya c98ebffbcf Debugger: evaluate Ref$element to element value 2015-10-28 14:23:41 +03:00
Natalia Ukhorskaya 77f1a3a7f3 Minor: change test directives 2015-10-28 14:23:40 +03:00
Natalia Ukhorskaya e68700190d Use fake local variable for inline argument in debugger 2015-10-28 14:23:39 +03:00
Natalia Ukhorskaya dfbafc7173 Extract isInlineArgument for debugger 2015-10-28 14:23:39 +03:00
Michael Bogdanov 7c7cff3d6e Updated diagnostic message for INVISIBLE_MEMBER_FROM_INLINE
#KT-7323 Fixed
2015-10-28 14:10:27 +03:00
Nikolay Krasko 0fcb51f0a2 KT-1478 Quick fix for using nullable collection in "for in" expression
#KT-1478 Fixed
2015-10-28 13:39:49 +03:00
Nikolay Krasko 911432c99c Use default render to check are all errors mentioned in tests. It's far more easier to read. 2015-10-28 13:39:46 +03:00
Nikolay Krasko b8c72ec4e9 Suggest to add !! as a quick-fix for type mistmach 2015-10-28 13:39:44 +03:00
Michael Bogdanov f3e6fab68e Fix for KT-4250: IllegalAccessError when using protected java member from lambda function
#KT-4250 Fixed
2015-10-28 11:57:21 +03:00
Michael Bogdanov 0a70c80af3 Substitute superClassExpression with superCallClass in synthetic accessors 2015-10-28 11:57:20 +03:00
Dmitry Petrov 21d927b7a4 Test for KT-9712 (fixed along with KT-9717)
#KT-9712 Fixed
2015-10-28 10:39:03 +03:00
Michael Nedzelsky 190bab099c fix KT-9441 Unable to Access Internal Classes from Test Code within Same Module
#KT-9441 Fixed
2015-10-28 01:58:54 +03:00
Alexander Udalov 395c0f12b1 Fix confusing behavior in test when assertion fails 2015-10-27 23:31:29 +03:00
Ilya Gorbunov e2c9267305 Fix compiler tests with incompatible types in assertEquals arguments. 2015-10-27 21:48:29 +03:00
Ilya Gorbunov 579ce8091c Cleanup tests, specify type where it's ambiguous. 2015-10-27 21:48:27 +03:00
Ilya Gorbunov 0b74698c16 @OnlyInputTypes for assertEquals and expect 2015-10-27 21:48:24 +03:00
Ilya Gorbunov 551e0181dc Require explicit type parameter specification for filterIsInstance. 2015-10-27 21:47:50 +03:00
Zalim Bashorov a5708c9c0d Track lookups in JavaSyntheticPropertiesScope 2015-10-27 19:38:32 +03:00
Zalim Bashorov 412e078a6b Allow to fail on initial build in incremental tests if testdata contains "init-build.log" file 2015-10-27 19:37:10 +03:00
Zalim Bashorov cc3c76ae67 Add the support checking lookups after modifications 2015-10-27 19:37:09 +03:00
Zalim Bashorov 2d859d6191 Minor: print "<root>" for root package instead empty string in Lookup tests.
Additionally fixed warnings.
2015-10-27 19:37:09 +03:00
Pavel V. Talanov 289b1a5883 LibraryModificationTracker: check whether project is already disposed 2015-10-27 18:51:50 +03:00
Mikhail Glukhikh 55c1addb93 Workaround for a part of KT-9700: top-level Java classes with private visibility are considered package private 2015-10-27 18:27:41 +03:00
Valentin Kipyatkov 78f0de3de5 Removed hack for Repl 2015-10-27 18:24:56 +03:00
Valentin Kipyatkov 91ff27f78c Rename 2015-10-27 18:24:56 +03:00
Valentin Kipyatkov 79825fc1e6 More efficient LexicalScope.addImportScopes 2015-10-27 18:24:56 +03:00
Valentin Kipyatkov 55c2b71829 Removed asLexicalScope from ScopeUtils.kt 2015-10-27 18:24:55 +03:00
Valentin Kipyatkov 74d14d30b0 No use of "by ..Scope.Empty" 2015-10-27 18:24:55 +03:00
Valentin Kipyatkov 3aa2a60dc1 Repl injects scope via own FileScopeProvider implementation instead of AdditionalScopes 2015-10-27 18:24:55 +03:00
Valentin Kipyatkov 47f938d7fc Minor 2015-10-27 18:24:55 +03:00
Valentin Kipyatkov 67a0cc3c49 Dropped searching synthetic extensions in imports 2015-10-27 18:24:55 +03:00
Valentin Kipyatkov 59fa639ab4 Refactored ReferenceVariantsHelper to not require KtSimpleNameExpression 2015-10-27 18:24:55 +03:00
Pavel V. Talanov dc791941d7 JvmAnalyzerFacade: Do not fail when java resolve api behaves in an unexpected way
Fixes a problem when java type from a library can be resolved to a class in source root
2015-10-27 18:07:17 +03:00
Pavel V. Talanov 4c70700943 Introduce api to get nullable ResolverForModule by ModuleInfo 2015-10-27 18:07:16 +03:00
Stanislav Erokhin ff00bde607 Removed dispatch receiver parameter for SyntheticFieldDescriptor 2015-10-27 15:36:38 +03:00
Stanislav Erokhin 553834fa9e KT-9371 Callable reference resolve should not prefer one of the overloads by some magic reasons
#KT-9371 Fixed
2015-10-27 15:36:37 +03:00
Valentin Kipyatkov 891e033d5b KT-9664 Add quickfix to convert a piece of code to pretty look SAM-style
#KT-9664 Fixed
2015-10-27 15:07:59 +03:00