Dmitry Jemerov
de3f5d0e2d
avoid coercing 'this' to a supertype; cleaner handling of stackvalues for 'this' and 'super' (KT-2395)
2012-07-11 16:59:01 +02:00
Andrey Breslav
739a1f8245
Diagnostics tests prepared for the Lazy version
2012-07-11 17:10:30 +04:00
Andrey Breslav
09802271a8
Debug string fixed
2012-07-11 16:57:33 +04:00
Andrey Breslav
7ec49eafb9
Using standard utilities for files loading
2012-07-11 16:47:54 +04:00
Andrey Breslav
dbca884b85
Cleanup
2012-07-11 16:47:54 +04:00
Andrey Breslav
be6464d068
Merge pull request #98 from udalov/kt2376-fixup
...
fix java.lang.Number type mapping to jet.Number (KT-2376)
2012-07-11 05:47:27 -07:00
Evgeny Gerashchenko
1de2e80c32
Increased tolerated time difference for codegen tests relying on current time.
2012-07-11 16:43:08 +04:00
Alexander Udalov
2d6b8abbe1
fix java.lang.Number type mapping to jet.Number (KT-2376)
2012-07-11 16:37:48 +04:00
Andrey Breslav
2315412c45
One test suite per source file
...
This removes annoying yellow nodes from IDEA test tree
2012-07-11 16:26:10 +04:00
Evgeny Gerashchenko
9d9eba2a49
Regenerated InjectorForJvmCodegen (it contained unused imports).
2012-07-11 15:55:54 +04:00
Evgeny Gerashchenko
ea85748bf0
Made AbstractLazyResolveDiagnosticsTest actually abstract.
2012-07-11 15:45:51 +04:00
Evgeny Gerashchenko
3bf8321e3c
Fixed evil bug in processing command-line args: classpath was added as annotations path.
2012-07-11 15:44:43 +04:00
Natalia.Ukhorskaya
0ef0f023b7
Android module: update excluded files
2012-07-11 15:18:06 +04:00
Alex Tkachman
a7ca3fcf52
Merge pull request #97 from udalov/kt2376
...
KT-2376 java.lang.Number should be visible in Kotlin as jet.Number
2012-07-11 04:04:52 -07:00
Alexander Udalov
5cc043314d
KT-2376 java.lang.Number should be visible in Kotlin as jet.Number
...
#KT-2376 Fixed
2012-07-11 14:31:10 +04:00
Alex Tkachman
8012725d38
KT-2060 fix
2012-07-11 13:10:54 +03:00
Andrey Breslav
207c75b956
Environment creation unified everywhere.
...
JDK Kind turned into enum for clarity
2012-07-11 13:40:50 +04:00
Andrey Breslav
fe6fa5dfaa
JetLiteFixture migrated to use KotlinTestWithEnvironment
2012-07-11 13:21:39 +04:00
Andrey Breslav
8d6fd3a18b
Base classes for tests put into order:
...
* KotlinTestWithEnvironmentManagement — methods for creating envirnoments tied up to test root disposable (automatically disposed on teadDown())
* KotlinTestWithEnvironment — a test with one environment (created by an abstract method)
Also, utilities for laz yresolve tests moved to LazyResolveTestUtil
2012-07-11 12:51:58 +04:00
Andrey Breslav
4f5aa9d0fe
Generators sit in the abstract test classes
2012-07-11 11:37:38 +04:00
Dmitry Jemerov
1fe9c291f1
ugly and incomplete solution for using correct bytecode instruction when accessing properties inherited from traits (KT-2391)
2012-07-10 21:21:16 +02:00
Andrey Breslav
e4f45fc514
Make test independent of the particular stdlib code
...
In the previous version test would fail every time stdlib changes
2012-07-10 22:59:58 +04:00
Andrey Breslav
d0e40abc09
Lazy resolve: Full standard library is properly loaded
2012-07-10 22:49:18 +04:00
Andrey Breslav
58a23afe9d
Support for full JDK
2012-07-10 22:48:49 +04:00
Andrey Breslav
a6a81a06a8
Debug output removed
2012-07-10 22:48:49 +04:00
Andrey Breslav
acd0d5eb56
Lazy resolve: Anonymous initializers do not declare anything relevant
2012-07-10 22:48:49 +04:00
Andrey Breslav
3266c2bdde
Lazy resolve: Proper scope when inferring types of member properties
2012-07-10 22:48:49 +04:00
Andrey Breslav
20860cb40b
New resolveLazily(): accounts for Java interop
2012-07-10 22:48:49 +04:00
Andrey Breslav
33dfd5bb6b
Lazy resolve: Package-level objects are handled properly
2012-07-10 22:48:49 +04:00
Andrey Breslav
853dc31510
toString() for debugging
2012-07-10 22:48:49 +04:00
Andrey Breslav
0461b3c8ba
New base classes for lazy resolve tests + generators in main methods
2012-07-10 22:48:49 +04:00
Dmitry Jemerov
57c1b05684
generate correct cast for arguments of bridge methods (KT-2390)
2012-07-10 19:59:33 +02:00
Dmitry Jemerov
f49232cdf3
explain why tests fail for new checkout
2012-07-10 19:41:11 +02:00
Evgeny Gerashchenko
4ece44728d
Added workaround for 'SAXParserFactory not found' error.
2012-07-10 19:59:42 +04:00
Svetlana Isakova
ab9d1c935f
KT-2379 Compilation error after running "ant dist" from terminal on Debian system with openjdk
...
#KT-2379 fixed
2012-07-10 19:53:29 +04:00
Andrey Breslav
d94dad19dc
Proper test fixture
2012-07-10 18:42:20 +04:00
Natalia.Ukhorskaya
2f33b99fca
TestGen: Escape paths
2012-07-10 16:06:10 +04:00
Andrey Breslav
a34d790a42
Move Lazy Resolve tests to JUnit 3
2012-07-10 15:40:13 +04:00
Andrey Breslav
55298197ee
Order test methods alphabetically
...
File order may differ on different systems
2012-07-10 15:37:50 +04:00
Andrey Breslav
61dcb7603d
TestGen: JUnit 3 only + static check for the superclass
2012-07-10 15:34:15 +04:00
Andrey Breslav
cb82b6e477
TestGen: Pass generator class instead of its name
2012-07-10 15:27:20 +04:00
Andrey Breslav
3305694979
Unneeded imports removed from generated code
2012-07-10 15:23:26 +04:00
Andrey Breslav
ebc8ed1fdd
TestGen: Base class passed instead of its name
2012-07-10 15:21:12 +04:00
Andrey Breslav
b5e82adb5c
Generator is @Linked in the comments of the generated file
2012-07-10 15:15:05 +04:00
Andrey Breslav
758104eba0
Heap space increased for tests
2012-07-10 15:00:27 +04:00
Andrey Breslav
ebf19b733f
ReadJavaBinaryClassTest updated
...
- new generator used
- generator code moved to the abstract class
2012-07-10 14:48:11 +04:00
Andrey Breslav
3d8d92c7d3
JetDiagnosticsTest migrated to TestGenerator
...
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00
Andrey Breslav
6c23c093ef
Generate proper suite methods
...
- test classes now nest as directories
- TestGenerator doesn't hold file extensions
- TestClassModel tells whether it is empty
2012-07-10 14:48:10 +04:00
Andrey Breslav
f64d78c18f
File names stored in the metadata
...
This is used for better checking of whether a file is present in the test suite
2012-07-10 14:48:10 +04:00
Andrey Breslav
e69715723b
Generate inner test classes
2012-07-10 14:48:10 +04:00