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
Andrey Breslav
b1ba3e1260
Using invokeFunction() instead of invokeFunctionWithNoParams() when generating in-expressions
2012-08-24 19:49:30 +04:00
Andrey Breslav
9ca49b50b8
Using invokeFunction() instead of invokeFunctionWithNoParams() when generating when() conditions
2012-08-24 19:49:30 +04:00
Alexander Udalov
2ac70ee35f
KT-2457 Verify error when comparing not null value with null in when
...
backend-side changes
2012-07-20 17:43:38 +04:00
Alexander Udalov
db008d5d38
KT-2466 "When" on boolean produces VerifyError
...
#KT-2466 Fixed
2012-07-19 21:39:41 +04:00
Dmitry Jemerov
f909745d1b
use correct nullability information when generating equality checks in pattern matching (KT-2148)
2012-06-02 17:59:19 +02:00
svtk
becd713111
KT-234 Force when() expressions to have an 'else' branch
...
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Andrey Breslav
6aad3b2662
GreatSyntacticShift: Codegen testdata fixed
2011-12-20 22:56:13 +04:00
Nikolay Krasko
0c758902ef
KT-621 Remove .foo() pattern matching from when (Some tests were rewritten)
2011-11-25 17:39:16 +04:00
Stepan Koltsov
7020d6e15c
more check for casts
...
KT-445 (Don't allow deep instanceof for erased parameters) and more
see new tests in compiler/testData/checkerWithErrorTypes/full/cast
2011-11-24 23:52:10 +04:00
Stepan Koltsov
a79202b7e7
Temporarily revert "more check for casts"
...
(because commit broke seveal tests)
This reverts commit 5d2dfcd48f .
2011-11-24 15:24:10 +04:00
Stepan Koltsov
5d2dfcd48f
more check for casts
...
KT-445 (Don't allow deep instanceof for erased parameters) and more
see new tests in compiler/testData/checkerWithErrorTypes/full/cast
2011-11-23 18:15:37 +04:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00