Alexander Udalov
daab3db062
Add WITH_RUNTIME and WITH_REFLECT directives to box tests
...
Currently all tests in boxWithStdlib/ run with both runtime and reflection
included; eventually they'll be merged into box/ using these directives
2016-03-03 16:11:21 +03:00
Alexander Udalov
f47cc5ce2f
Fix runtime dependency in codegen/box tests, delete old doTestWithStdlib logic
...
Codegen tests in "compiler/testData/codegen/box" started to run with
ConfigurationKind.ALL accidentally in 933be1e . This commit fixes it
2016-03-03 16:08:18 +03:00
Alexander Udalov
5488972b53
Minor, don't create empty tmpdir in codegen tests w/o Java
2016-03-03 16:08:18 +03:00
Alexander Udalov
d011fa8dc6
Add FULL_JDK to tests in codegen/boxWithStdlib/fullJdk/
...
Drop the old scheme which relied on the directory name
2016-03-03 16:08:18 +03:00
Alexander Udalov
f1bb31d0a9
Minor, inline one overload of CodegenTestUtil.compileJava
2016-03-02 15:47:40 +03:00
Alexander Udalov
933be1e035
Drop single-file mode of black box codegen tests
...
Add regression test for #KT-5190
2016-03-02 15:47:39 +03:00
Alexander Udalov
2de7f38427
Migrate boxWithJava tests to multi-file framework
2016-03-02 15:47:38 +03:00
Alexander Udalov
e7371d2c1a
Minor, move boxAgainstJava logic to a separate test class
2016-03-02 15:47:37 +03:00
Alexander Udalov
280ad195ee
Migrate boxAgainstJava tests to multi-file framework
2016-03-02 15:47:36 +03:00
Alexander Udalov
26de87d792
Minor, make CodegenTestUtil.compileJava take absolute paths of files
2016-03-02 15:47:36 +03:00
Alexander Udalov
0b26e749f6
Improve multi-file test framework in CodegenTestCase
...
Instead of inheriting from KotlinMultiFileTestWithJava, invoke
KotlinTestUtils.createTestFiles directly. This helps to avoid constructing
unnecessary environment (createEnvironment() was called in setUp, but codegen
tests ignored the created environment because it's not possible to do
generically in codegen tests; the environment kind depends on the source file
usually)
2016-03-02 15:44:28 +03:00
Alexander Udalov
647e188a08
Migrate bytecode text tests to multi-file framework
...
Get rid of BytecodeTextMultifileTestGenerated
2016-03-02 15:44:28 +03:00
Alexander Udalov
c4b4a23cb1
Minor, move abstract codegen tests out of 'generated'
...
Delete unused AbstractBlackBoxCodegenJava8Test
2016-02-27 16:22:25 +03:00