Commit Graph

21 Commits

Author SHA1 Message Date
Dmitriy Novozhilov 3199ce03a6 [Test] Merge box against java testdata into codegen black box testsdata 2021-02-02 17:54:49 +03: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
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 de37f73c8d Remove tests on RTTI
It was never implemented
2013-01-24 21:12:27 +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
Natalia.Ukhorskaya 17fa105116 Generate INVOKESPECIAL instruction for private method with default argument 2012-12-06 15:20:43 +04:00
Andrey Breslav 5eaa5b396b Removing usages of tuples from test data
(KT-2358 Drop tuples)
 #KT-2358 In progress
2012-09-18 20:27:09 +04:00
Svetlana Isakova 96d99d19f3 generates remove method
throwing exception
in Kotlin class extending Iterator
2012-08-16 18:39:24 +04: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
Svetlana Isakova f58d0193eb test for KT-1878 Support 'invoke' functions short way invocation 2012-05-23 12:50:19 +04:00
Stepan Koltsov 9908791094 KT-1829 NoClassDefFoundError when using java inner classes
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Svetlana Isakova 9c0eb285e2 back end test for 'variable as function' call case 2012-04-30 15:44:23 +04:00
Stepan Koltsov 5c8fb3febf split FunctionGenTest.defaultArgs 2012-02-09 22:25:19 +04:00
Alex Tkachman 92ef6aed77 local functions used inside closures 2012-01-30 16:05:08 +02:00
Alex Tkachman c62bbdc5df local functions 2012-01-29 16:20:05 +03:00
Andrey Breslav 6aad3b2662 GreatSyntacticShift: Codegen testdata fixed 2011-12-20 22:56:13 +04:00
Alex Tkachman cfc41361ac expressions as functions 2011-11-08 22:45:48 +01:00
svtk c7bb6a08d4 Existing tests for 'val reassignment' of function parameters fixed 2011-10-28 13:41:07 +04:00
Dmitry Jemerov ec6dec0d37 separate compiler and plugin tests 2011-10-20 16:21:18 +02:00