Evgeny Gerashchenko
ec5331057a
Removed unnecessary final on local variables.
2013-03-13 14:12:50 +04:00
Alexander Udalov
620143ae5b
Add test on bytecode text
...
Test data should be a Kotlin source file with zero or more comments e.g. of
the form: '// 1 INVOKEVIRTUAL'. The test then checks that the generated
bytecode for this file contains exactly one occurrence of the string
'INVOKEVIRTUAL'
2013-02-11 02:01:43 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Alexander Udalov
86938f57b1
Remove codegen tests with Java, move testData to boxWithJava/
...
There'll be a single generated test class like
BlackBoxCodegenTestGenerated
2013-01-28 18:20:37 +04:00
Alexander Udalov
41a416da60
Move blackBoxFile() testData to box/ directory
...
Delete all test methods (and empty test classes), since they'll be
auto-generated
2013-01-28 18:20:17 +04:00
Alexander Udalov
0df71bd696
Refactor codegen tests
...
- initialize environment only once in setUp()
- add comments on why some tests are disabled
- modify and rename some tests
- re-enable now working tests
- extract some tests into files with box()
- remove useless 'throws' declarations and commented code
2013-01-24 21:12:27 +04:00
Alexander Udalov
99827d10a8
Rename *.jet -> *.kt in codegen tests
2013-01-24 21:12:27 +04:00
Alexander Udalov
ab730b7dd5
Fix CompareTo intrinsic behavior in no-dot syntax
2013-01-22 19:49:10 +04:00
Evgeny Gerashchenko
e03eaf6dde
Removed @author javadocs from code.
2012-12-28 17:44:31 +04:00
Natalia.Ukhorskaya
a739964c74
Back-end: write correct visibility flags for private inner classes
2012-12-06 17:25:13 +04:00
Natalia.Ukhorskaya
17fa105116
Generate INVOKESPECIAL instruction for private method with default argument
2012-12-06 15:20:43 +04:00
Peter Brachwitz
81de3cd46a
Fix compilation of infix calls (KT-2929)
...
#KT-2929 Fixed
2012-10-29 22:01:56 +01:00
Alex Tkachman
ee784eb2fe
some debug print commented
2012-09-23 18:04:14 +02:00
Alex Tkachman
79c04038fb
accessor for private constructors #KT-2716 fixed
...
also on the way done small refactoring of JetTypeMapper
- few code duplicates replace by methods
- mapToCallableMethod(ConstructorDescriptor) introduced
2012-09-12 10:31:48 +03:00
Andrey Breslav
b46187a560
KT-2739 Error type inferred for hashSet(Pair, Pair, Pair)
...
#KT-2739 Fixed
2012-09-07 18:24:22 +04:00
Alex Tkachman
10a47ea86f
big codegen rewrite
2012-08-27 17:43:03 +03:00
Natalia.Ukhorskaya
6740a712d8
Move blackBoxWithJavaFile from FunctionGenTest to CodegenTestCase
2012-08-22 14:32:00 +04:00
Svetlana Isakova
d2e33c8900
tests for obsolete/fixed issues
...
#KT-1038 fixed
#KT-1127 fixed
#KT-1145 fixed
#KT-1410 fixed
#KT-1718 fixed
#KT-2286 fixed
#KT-1431 fixed
#KT-2394 fixed
2012-08-16 18:39:24 +04:00
Svetlana Isakova
96d99d19f3
generates remove method
...
throwing exception
in Kotlin class extending Iterator
2012-08-16 18:39:24 +04:00
Alex Tkachman
17a9772fee
test for obsolete KT-1649
2012-08-16 15:48:45 +03:00
Alexander Udalov
04b2477784
KT-2270 VerifyError when default value of constructor parameter is previous parameter
...
#KT-2270 Fixed
2012-08-06 16:32:36 +04:00
Alex Tkachman
2d63f6f970
KT-2271 fix: default param value refering another param
2012-08-06 08:28:38 +03:00
Alex Tkachman
9819095451
KT-1739: test for obsolete issue
2012-08-04 22:58:33 +03:00
Alexander Udalov
dcd5cad427
KT-2280 Recursive function declared in function results in VerifyError
...
#KT-2280 Fixed
A closure's constructor should not take an instance of itself as an
argument, because it would require caller to pass yet uninitialized
value. Instead it should initialize a corresponding field with 'this'
2012-07-31 19:38:14 +04:00
Alex Tkachman
0b327d29bc
fix KT-2481: no bridge for supercall
2012-07-28 14:17:42 +03:00
Evgeny Gerashchenko
7f12dcbc24
Got rid of post-init adding classpath in all tests.
2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko
c74ccec0bf
Renamed CompilerSpecialMode to ConfigurationKind, gave enum constants more clear names.
2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko
2c58989a47
Moved CompilerSpecialMode enum to compiler-tests, since it is now used only for creating test compiler configurations.
2012-07-07 23:07:19 +04:00
Evgeny Gerashchenko
ea36cf9fb0
Reverted all changes related to renaming jdkHeaders to altHeaders.
2012-05-23 17:05:09 +04:00
Evgeny Gerashchenko
15f6e7403e
Renamed jdkHeaders to altHeaders in all places where it makes sense.
2012-05-15 15:19:55 +04:00
Stepan Koltsov
9908791094
KT-1829 NoClassDefFoundError when using java inner classes
...
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Stepan Koltsov
f4527b8167
better method name
2012-05-03 18:30:47 +04:00
Alex Tkachman
e18e35c40c
KT-785 test
2012-05-03 16:20:28 +03:00
Stepan Koltsov
5e77ca553c
make most codegen tests are indenendent from jdk-headers/stdlib now
2012-05-01 23:49:22 +04:00
Stepan Koltsov
c23feab6d1
JetLiteFixture: assign to myEnvironment only once
2012-05-01 22:32:08 +04:00
Stepan Koltsov
d71723131d
Revert "enhance tests (mostly codegen)" temporarily
...
This reverts commit 95f9bcbacb .
2012-05-01 21:21:46 +04:00
Stepan Koltsov
95f9bcbacb
enhance tests (mostly codegen)
...
* drop dependency on stdlib/alt-headers in the most tests
* assign to myEnvironment at most once in JetLiteFixture
* more tests do not compile runtime
2012-05-01 19:11:48 +04:00
Svetlana Isakova
9c0eb285e2
back end test for 'variable as function' call case
2012-04-30 15:44:23 +04:00
Alex Tkachman
80e728b6f6
KT-413 proper visibility of this$0
2012-02-24 08:26:50 +02:00
Maxim Shafirov
a03922d467
Copyrights set to Apache, reflecting it's now open source
2012-02-14 19:25:06 +04:00
Alex Tkachman
8d9434548f
KT-1199 - test and fix for erased case
2012-02-11 11:09:02 +02:00
Stepan Koltsov
5c8fb3febf
split FunctionGenTest.defaultArgs
2012-02-09 22:25:19 +04:00
Alex Tkachman
c62bbdc5df
local functions
2012-01-29 16:20:05 +03:00
Alex Tkachman
3fd825d1a0
KT-873 fixing wrong register calculations
2012-01-04 14:29:21 +02:00
Alex Tkachman
a25416e5cf
KT-894 wrong string concatenation
2012-01-02 09:27:32 +02:00
Alex Tkachman
92d8d2de72
functional list benchmark and part of rewrite of type info codegen for performance reasons
2011-12-12 10:40:42 +02:00
Alex Tkachman
a145fc0afc
some debug output off
2011-12-03 20:58:49 +02:00
Alex Tkachman
dce0746bd9
some debug print commented out
2011-11-25 10:50:33 +02:00
Alex Tkachman
cfc41361ac
expressions as functions
2011-11-08 22:45:48 +01:00
Alex Tkachman
df87493e4d
initial super.property
2011-11-04 13:11:41 +01:00