Dmitry Gridin
50506658c0
fix some tests for as36
2020-05-08 19:13:28 +07:00
Dmitry Gridin
11a3482970
tests: apply official code style
...
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00
Mikhail Bogdanov
3f87899014
Switch converter test to new directive scheme
2020-03-19 16:45:10 +01:00
Dmitry Gridin
c34b417d0c
Fix tests after disabling trailing comma
...
#KT-34744
2020-02-04 21:34:53 +07:00
Dmitry Gridin
d06787886a
Fix tests after implementing trailing comma in formatter
...
#KT-34744
2020-01-17 21:02:54 +07:00
Ilya Kirillov
41f7519244
Fix old j2k test data to actual one
2019-09-24 16:22:24 +03:00
Ilya Kirillov
b411e8e18e
New J2K: Split old j2k and new j2k tests
2019-04-03 11:24:19 +03:00
Ilya Kirillov
ea2081c2f0
New J2K: Fix existing test data
2019-04-03 11:23:33 +03:00
Ilya Kirillov
f752796408
New J2K: Fix existing test data
2019-04-03 11:21:19 +03:00
Natalia Selezneva
f364717da2
J2K: convert annotations properly
2018-10-31 11:01:12 +03:00
Mikhail Glukhikh
294dcf36e8
Fix J2K 'testAnnotationInterface3' (annotation diagnostic changed)
2018-01-31 11:24:40 +03:00
Mikhail Glukhikh
460688526d
Fix testAnnotationInterface3 in J2K (error message)
2018-01-30 15:23:41 +03:00
Dmitry Jemerov
43ef113b7a
Correctly apply annotation wrap before modifier keyword
...
#KT-20314 Fixed
2017-12-22 10:35:22 +01:00
Toshiaki Kameyama
be664e26f7
KT-18232: Kotlin code converter misses annotations
...
#KT-18232 Fixed
2017-08-17 02:30:06 +03:00
Mikhail Glukhikh
1cb6128f2f
Minor: J2K test fix
2017-07-21 12:21:04 +03:00
Dmitry Jemerov
fbcc519098
Fix tests affected by annotation wrapping changes
2017-07-20 12:32:48 +02:00
Dimach
a59021a25e
KT-18786: J2K should move all properties to top of class
...
#KT-18786 fixed
2017-07-20 01:15:15 +03:00
Dmitry Jemerov
5f9a33564a
Implement option for wrapping method annotations
2017-07-07 16:48:31 +02:00
Simon Ogorodnik
b7a5ff456f
Reformatted testData
2017-01-10 16:20:58 +03:00
Simon Ogorodnik
73ea0e8460
Fix for KT-15027 J2K: Annotations are set on functions, but not on property accessors
...
#KT-15027 fixed
2017-01-10 16:20:58 +03:00
Nikolay Krasko
2841931ffa
Do not force new line in body for empty functions and function expressions (KT-10828)
...
#KT-10828 Fixed
2016-12-14 13:35:31 +03:00
Simon Ogorodnik
155cfcb1f8
Fix for KT-6424
...
Remove "SuppressWarnings" and "//noinspection" on java to kotlin conversion
2016-10-13 18:51:48 +03:00
Simon Ogorodnik
e84f56348c
Fix KT-13750, J2K const val serialVersionUID
2016-10-12 11:56:54 +03:00
Simon Ogorodnik
115d63a2f3
#KT-13750 fix ( #951 )
2016-09-13 18:12:22 +03:00
Natalia Ukhorskaya
405b0b1df6
J2K: convert annotations in annotations parameters correctly
...
#KT-11126 Fixed
2016-03-11 12:08:10 +03:00
Valentin Kipyatkov
0cc2158ec1
J2K: do not produce redundant "internal" words for members in an internal class
2015-09-18 15:44:19 +03:00
Valentin Kipyatkov
7caccd7578
J2K: all annotations should be with "@"
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
6f12db9cde
J2K: no explicit type required for public declarations
2015-09-18 15:44:18 +03:00
Valentin Kipyatkov
c3ddd5d32b
J2K: adapted for default visibility modifier 'public'
2015-09-18 15:44:18 +03:00
Mikhail Glukhikh
8f7b29f80a
Annotation rename: target --> @Target
2015-09-07 13:42:26 +03:00
Denis Zharkov
31244edec9
Deprecate deprecated in favor of Deprecated
2015-09-04 18:19:31 +03:00
Mikhail Glukhikh
4bd48c4796
Regular modifier checker implemented (initial version). A set of tests fixed accordingly.
...
Most of modifier diagnostic is expressed by REDUNDANT_MODIFIER, INCOMPATIBLE_MODIFIERS, REPEATED_MODIFIER, WRONG_MODIFIER_TARGET, WRONG_MODIFIER_PARENT.
A set of modifier diagnostics is not in use now (but not deleted yet).
2015-08-03 19:41:50 +03:00
Mikhail Glukhikh
cf26310042
Java to Kotlin annotation target mapping: relevant fix for J2K
2015-07-21 15:20:34 +03:00
Valentin Kipyatkov
767e21db76
J2K - no '@' required for primary constructor annnotations
2015-07-06 16:48:51 +03:00
Valentin Kipyatkov
fdff2c7153
J2K: preserving line breaks between enum members from original code
2015-07-06 16:48:49 +03:00
Valentin Kipyatkov
ce40ed1385
J2K: use arrayOf instead of array and similar
2015-05-28 00:17:04 +03:00
Valentin Kipyatkov
ce9a986524
J2K: updated to use of Kotlin's KClass instead of Java's class in annotation declarations and usages
2015-05-28 00:17:04 +03:00
Valentin Kipyatkov
bb0b3fcd0c
J2K: updating generated enums to modern syntax
2015-05-28 00:17:03 +03:00
Valentin Kipyatkov
87cb36e8e9
Updating java to kotlin convert to new language syntax
2015-05-28 00:17:03 +03:00
Dmitry Jemerov
25959fefdc
J2K: generate 'interface' keyword instead of 'trait'
2015-05-12 11:49:37 +02:00
Denis Zharkov
f85e92a247
j2k: Adjust annotation converter to last changes
...
Only parameter named `value` can be marked vararg
2015-04-07 19:31:30 +03:00
Valentin Kipyatkov
1465418c2b
KT-7151 Convert 'System.out.println()' to just 'println()'
...
#KT-7151 Fixed
2015-03-31 16:10:23 +03:00
Valentin Kipyatkov
108a1f872c
J2K: use of new syntax for class intialization blocks
2015-03-31 16:10:21 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Alexander Udalov
3c859caf2b
j2k: flatten test cases and testData directory structure
...
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
2015-01-03 00:52:59 +03:00