Commit Graph

58 Commits

Author SHA1 Message Date
Andrey Breslav 38d4ca5469 Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed
  #KT-5255 Fixed
2014-06-24 15:54:11 +04:00
Alexey Sedunov 6bc3772d29 Override/Implement: Add test to cover import optimization in the case of multiple import insertion (see #KT-4732) 2014-06-23 19:32:29 +04:00
Alexander Udalov a78b7fb31f Don't add initializer to extension property on override/implement 2014-05-29 21:24:06 +04:00
Alexander Udalov 3dcd85bdb4 Add toString() to Any, fix all tests
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00
Alexander Udalov b8ec50f38c Handle fake overrides of members of Any in BuiltInsReferenceResolver 2014-03-02 19:54:48 +04:00
Nikolay Krasko 7e4bb1d467 Test that lazy resolve is able to do propagation in Kotlin-Java-Kotlin hierarchy
Patch by Evgeny Gerashchenko
2014-02-20 16:31:25 +04:00
Nikolay Krasko 9a8a8364dd KT-4344 "Overridden method parameters are not annotated" warnings from Java
#KT-4344 Fixed
2014-02-18 14:49:34 +04:00
Natalia Ukhorskaya a71e062504 Insert proper default value when overriding property of type float, double, char 2014-01-28 18:21:37 +04:00
Nikolay Krasko 372106b914 KT-1043 'Implement Methods' throws a ClassCastException
#KT-1043 Obsolete
2013-12-16 19:39:42 +04:00
Alexander Udalov a2c74d4324 Refactor OverrideImplementWithLibTest
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00
Alexander Udalov fdc631d595 Increase ABI version after changes to package fragment names 2013-10-02 17:05:47 +04:00
Alexander Udalov a97bb80216 Serialize FQ names of Kotlin classes
This helps to avoid a nasty hack with loading inner Kotlin classes in JDR,
which makes it a bit easier to 'lazify' JDR, since now the container of a
Kotlin class is no longer required to be resolved eagerly before resolution of
the class itself
2013-09-30 22:43:18 +04:00
Alexander Udalov a814f6a897 Advertise CompileBinaryTestData.kt in tests with binaries 2013-09-25 16:04:17 +04:00
Alexander Udalov da1325f5cc Add a script to regenerate binary test data (jars) 2013-09-24 20:33:00 +04:00
Alexander Udalov 1de637c143 Regenerate compiled testData
Add sources and instructions to tests which had compiled jars in the testData.
PLEASE ALWAYS ADD SOURCES for tests with jars.

Delete runtime, stdlib and their sources from these jars -- PLEASE DO NOT PUT
kotlin-runtime.jar INTO TEST DATA JARS: every such jar is around 1Mb, it spoils
the repository
2013-09-24 20:32:07 +04:00
Pavel V. Talanov a1b397ee2d Test for invoking "Override methods" for fake override from library 2013-09-10 13:19:07 +04:00
Andrey Breslav fa2ea75c09 Do not add explicit visibility modifiers in Override/Implement 2013-09-05 21:59:41 +04:00
Evgeny Gerashchenko 1f2676becd Ignoring SAM adapters when checking for unimplemented methods or methods to override. 2013-06-25 20:17:45 +04:00
Zalim Bashorov 1e0f926d39 Fixed the expected test result for OverrideImplementTest#testFunctionWithTypeParameters. 2013-06-11 15:50:16 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Andrey Breslav c422e4194d Reverting pull request 240 2013-04-12 15:25:52 +04:00
Michał Sapalski d875bf80cb Fixed regression in rendering generic types upper bounds. 2013-04-12 12:49:00 +04:00
Michał Sapalski 97796f9b0f Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-12 12:49:00 +04:00
Evgeny Gerashchenko 53f775e98d Test for KT-488 Implement members breaks in generic classes
#KT-488 obsolete
2013-03-14 20:49:42 +04:00
Natalia.Ukhorskaya b55b3f95f4 Fix tests: wrong test data (internal visibility shouldn't be displayed after overriding a function) 2013-02-07 13:33:06 +04:00
Natalia.Ukhorskaya 74f05bf659 Write protected keyword overriding java package protected function 2013-02-06 21:54:20 +04:00
Natalia.Ukhorskaya 7f28540e62 Add internal keyword overriding package(java) visibility 2013-02-06 21:54:16 +04:00
Andrey Breslav 947ab99f53 Tests fixed after default nullability for type arguments changed to NotNull 2012-12-14 15:28:22 +04:00
Evgeny Gerashchenko a773b8426e Removed copyrights from Java test data. 2012-11-28 15:23:55 +04:00
Vladimir Rudev 2dd47d6339 KT-1985 Add test case and fix minor bug
Reference compacting must be done before adding body to class.
2012-11-08 23:23:49 +04:00
Evgeny Gerashchenko 08fc54d969 Fixed test data after IDEA update. 2012-09-13 19:07:58 +04:00
Svetlana Isakova ed68ac2244 test fix 2012-09-05 18:55:18 +04:00
Svetlana Isakova 7d37df5f38 tests changes after collections mapping 2012-09-05 18:55:16 +04:00
Alexander Udalov a85f46816e KT-937 When loading array types from Java project them so that they are covariant
#KT-937 Fixed
2012-08-01 21:27:57 +04:00
Nikolay Krasko 4a0b13d11e KT-2254 Incorrect indentation after = in val:
#KT-2254 fixed
2012-06-27 21:01:55 +04:00
Nikolay Krasko ccb8c08684 Fix test and add special option for spacing around colon in type definitions 2012-05-23 18:44:23 +04:00
Alexander.Podkhalyuzin b5b9f7ba98 Fixed broken testdata. 2012-05-23 15:58:12 +04:00
Nikolay Krasko 652b9e78c3 Tests for KT-1888
#KT-1888 fixed
2012-05-04 14:24:34 +04:00
Evgeny Gerashchenko 33f9a391a5 Added test for case when type from overridden method has same short name as something already present.
#KT-1602 fixed
2012-05-02 19:54:31 +04:00
Evgeny Gerashchenko cde38382c0 Fixed processing function type parameters in override/implement members.
#KT-1603 fixed
2012-04-23 16:48:12 +04:00
Svetlana Isakova cd1221b1b2 fix in 'protected' visibility check 2012-04-06 20:42:51 +04:00
Nikolay Krasko 68312a71e3 fix tests 2012-04-04 20:18:45 +04:00
Sergey Lukjanov d4cce32008 Override/Implement actions are now inherits visibility. 2012-04-04 19:15:25 +04:00
Sergey Lukjanov 23e368cba4 Some tests for override action has been added. 2012-04-04 11:53:48 +04:00
Nikolay Krasko 77652a9df8 KT-1254 "Implement members" gives strange result when implementing a method returning function type
#KT-1254 fixed
2012-03-28 21:34:22 +04:00
Nikolay Krasko 6964147e44 KT-1648 Function0<Tuple0> appears in the result of the Implement abstract members quick fix
#KT-1648 fixed
2012-03-27 22:11:07 +04:00
Nikolay Krasko 4e4f4c3c24 KT-1379 Override Methods does not respect caret position - fix anchor behaviour in previous commit 2012-03-27 20:04:16 +04:00
Nikolay Krasko 80b251983c KT-1379 Override Methods does not respect caret position
#KT-1379 fixed
2012-03-27 19:46:12 +04:00
olegkunov 96d7203370 KT-1378 Code formatting: spaces around ':'
Changed test data to match actual behavior of the "override methods" feature.
2012-03-01 21:18:37 +04:00
Evgeny Gerashchenko 8575da228d Fixed 'Implement members implement functions with no curly braces - not convenient'
#KT-1317 fixed
2012-02-23 23:00:03 +04:00