Denis Zharkov
676ca86ea4
Deprecate escaped modifiers and unescaped annotations
2015-09-08 12:11:30 +03:00
Michael Bogdanov
25cd9de71a
Support default module name in ant task
2015-09-08 11:34:40 +03:00
Michael Bogdanov
912111d237
Fix for KT-8948: CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'foo' into
...
#KT-8948 Fixed
2015-09-08 11:34:40 +03:00
Mikhail Glukhikh
24252b64d0
Test and fix for NPE in CFA #KT-9078 Fixed #EA-71535 Fixed
2015-09-08 11:31:15 +03:00
Dmitry Jemerov
f708871254
use correct scope for ReferencesSearch used for 'find usages' (KT-8904)
2015-09-08 10:10:49 +02:00
Natalia Ukhorskaya
dc7d30c6dc
Implement hasBlockBodyCorrectly for constructors
...
#EA-72355 - TCE: EvaluatePackage$extractFunctionForDebuggerUtil$e.addDebugExpressionBeforeContextElement
2015-09-08 11:00:53 +03:00
Natalia Ukhorskaya
b86e251990
JDIEval: do not throw an exception in case of throw Exception()
2015-09-08 11:00:52 +03:00
Natalia Ukhorskaya
9d7695c337
JDIEval: set vmexec instead of home argument when launching tests
2015-09-08 11:00:51 +03:00
Natalia Ukhorskaya
cee3cf53d9
JDIEval: coerce byte to int correctly
2015-09-08 11:00:51 +03:00
Natalia Ukhorskaya
519c2784ff
Debugger: allow evaluate expression in constructors
2015-09-08 11:00:50 +03:00
Natalia Ukhorskaya
e423e99253
Debugger for inline functions: make sure that context is suspended
2015-09-08 11:00:49 +03:00
Natalia Ukhorskaya
ff8b7b4276
Fix NPE in DebuggerUtils
...
#EA-69703 - assert: DebuggerUtils.analyzeElementWithInline
2015-09-08 11:00:48 +03:00
Natalia Ukhorskaya
3aa7528c8f
Show declared type for delegated properties correctly in debugger
...
#EA-72136 - assert: ValueDescriptorImpl.getValue
2015-09-08 11:00:47 +03:00
Natalia Ukhorskaya
c73e613dc3
Debugger: Fix exception while computing inline lambda context when debug info is unavailable
...
#EA-72494 - AIE: StackFrameProxyImpl.visibleVariables
2015-09-08 11:00:46 +03:00
Natalia Ukhorskaya
1d5110f424
Debugger: Fix NPE in inline lambda context evaluator
...
-EA-72501 - KNPE: KotlinCodeFragmentFactory$createCodeFragment$.invoke
2015-09-08 11:00:45 +03:00
Ilya Gorbunov
a63341b901
Some tests for assertion messages.
2015-09-08 10:28:15 +03:00
Ilya Gorbunov
f7c2f034b3
Remove usages of deprecated failsWith
2015-09-08 10:28:03 +03:00
Ilya Gorbunov
c14f376d21
Deprecate precondition checks with non-lazy message.
...
Make precondition checks with lazy message inline.
Use require with lazy message in stdlib.
#KT-8253 Fixed
2015-09-08 10:27:46 +03:00
Ilya Gorbunov
a59962c620
Change test data to reproduce the same error as was before adding an overload of assert.
2015-09-08 10:27:33 +03:00
Ilya Gorbunov
e9901e7351
Deprecate assert with non-lazy message.
...
#KT-8253
2015-09-08 10:27:20 +03:00
Ilya Gorbunov
470fcc977c
Drop test DSL experiments.
2015-09-08 10:27:08 +03:00
Ilya Gorbunov
4f9e2c24d1
Exclude common file asserts.kt from tests using StdLib, as its methods conflict with kotlin.test.* methods.
2015-09-08 10:26:54 +03:00
Ilya Gorbunov
e61d202d71
Dropped test that tested nothing: there were no files to compile, except common asserts.kt
2015-09-08 10:26:39 +03:00
Ilya Gorbunov
ea896bd217
JsTestsAsserter implement Asserter.
2015-09-08 10:26:24 +03:00
Ilya Gorbunov
44f7b6d699
Unit testing API: better mapping on JUnit, proper formatting assertion details when message is not specified
...
#KT-8929 Fixed
Sensible default message for assertion methods.
#KT-8314 Fixed
Provide assertFailsWith also with KClass and reified type argument.
2015-09-08 10:26:07 +03:00
Ilya Gorbunov
e20c86c5dc
Add missing equals() to primitive-keyed JS map specialization.
2015-09-08 10:24:25 +03:00
Ilya Gorbunov
c82c914c5d
Before comparing types of data class objects in dataClass.equals ensure that the other comparand is an object too, otherwise it may fail on Rhino.
2015-09-08 10:24:13 +03:00
Ilya Gorbunov
f6c9d63c46
Simplify asserter implementations.
...
Do not use inline functions in unit tests API.
2015-09-08 10:23:59 +03:00
Ilya Gorbunov
267aad3926
Simplify asserter acquisition.
2015-09-08 10:23:46 +03:00
Denis Zharkov
708ceb4aff
Use FQ name for java.lang.Deprecated and cleanup
2015-09-08 08:53:35 +03:00
Denis Zharkov
d7baef3f8d
Revert bf38f56261
2015-09-08 08:53:35 +03:00
Denis Zharkov
fc447e2d2f
Parse some builtin annotations as modifiers
...
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway
Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00
Denis Zharkov
c9a8609a67
Drop InlineStrategy and corresponding inline parameter
2015-09-08 08:53:35 +03:00
Michael Nedzelsky
9f5bbf94d3
introduce quickfix for change visiblity from private to internal for private top-level declarations
2015-09-08 07:30:27 +03:00
Alexey Tsvetkov
93776b711e
Add file without usage to classInlineFunctionChanged test case
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov
12181d274b
Remove InlineRegistering interface
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov
a22e15449d
Fix incremental compilation for delegated property with inline accessor
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov
196e59247f
Update build logs in incremental tests
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov
b07ae87e25
Update after rebase to new package parts
2015-09-08 05:49:35 +03:00
Alexey Tsvetkov
7e515e3820
Use simple data class TargetId instead of Module to get incremental cache
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
45dae5e1a4
Change one package part, then another at different steps
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
d9e9f11028
Remove duplicating simple test case
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
5d305a7286
Add test for inline function lines changed only
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
8d1480e877
Add incremental compilation inline call site tests
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
61423a19f0
Fix incremental compilation of inline call assigned to val
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
a660562743
Pass keyDescriptor to BasicMap using constructor
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
af144883dc
Minor: make BasicStringMap properties parameters
2015-09-08 05:49:34 +03:00
Alexey Tsvetkov
06774423e0
Minor: remove unnecessary 'open' modifiers
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov
ed5dcf2182
Simplify getting class file path for functions from current module
2015-09-08 05:49:33 +03:00
Alexey Tsvetkov
08a11b627c
Update INCREMENTAL_CACHE_OWN_VERSION
2015-09-08 05:49:33 +03:00