Commit Graph

1228 Commits

Author SHA1 Message Date
Alexander Udalov a2e453b759 Refactor CompileKotlinAgainstKotlinTest
CKAKTest is now abstract, the actual testcases are generated via GenerateTests
into CompileKotlinAgainstKotlinTestGenerated.

Also invokeMain() now invokes namespace.main instead of bbb.namespace.main.
2013-01-09 15:32:51 +04:00
Evgeny Gerashchenko e03eaf6dde Removed @author javadocs from code. 2012-12-28 17:44:31 +04:00
Evgeny Gerashchenko 862a6ffbbc Moved class object case to namespace comparing test. 2012-12-27 20:46:59 +04:00
Natalia.Ukhorskaya beec5a843e Remove duplicate in GenerateTests 2012-12-27 12:29:07 +04:00
Natalia.Ukhorskaya 808c5abc0f Generate constructor without parameters if primary constructor has only parameters with default values
#KT-3085 Fixed
2012-12-27 12:29:06 +04:00
Natalia.Ukhorskaya 538aa869b4 Constructor with default arguments for inner class
#KT-2852 Fixed
2012-12-27 12:29:01 +04:00
Evgeny Gerashchenko 2daf9a10d0 Renamed test methods. 2012-12-20 19:26:52 +04:00
Evgeny Gerashchenko 1ab555a51b Checking primary flag in constructors loaded from Java. 2012-12-20 18:48:47 +04:00
Evgeny Gerashchenko 1cfc5f366e Extracted DescriptorRenderer interface. 2012-12-17 16:35:59 +04:00
Evgeny Gerashchenko f6e9b0e234 Removed renderTypeWithShortNames from API of DescriptorRenderer. 2012-12-17 16:35:57 +04:00
Evgeny Gerashchenko 8a946c6ef9 Renamed DescriptorRenderer and moved to 'renderer' package.
Moved DescriptorRendererTest to 'renderer' package, as well.
2012-12-17 16:35:56 +04:00
Evgeny Gerashchenko 1092164684 Generating Java to Kotlin method map along with injectors. 2012-12-07 14:41:59 +04:00
Evgeny Gerashchenko 0bbc33755b Migrated CompileJavaAgainstKotlinTest to generated test framework. 2012-12-07 14:41:57 +04:00
Andrey Breslav 74212bd2a4 Generate mockJDK from real JDK 2012-12-07 14:06:59 +04:00
Evgeny Gerashchenko 83d5b1e6a0 Supported propagation for subclass of j.u.Collection and similar classes. 2012-12-07 14:06:59 +04:00
Alexander Udalov c9bdfd2f07 Generate compareTo() properly
Take into account:
1) resolved call to compareTo (instead of always calling Comparable's method)
2) types of both caller and callee, when primitive, to avoid wrong casting
(instead of always using caller's type)

 #KT-3078 Fixed
2012-11-28 17:45:38 +04:00
Evgeny Gerashchenko efc67f3d89 Rewritten CheckLoadVariablesTableTest to test generation framework. 2012-11-28 15:08:57 +04:00
Natalia.Ukhorskaya 961fde3c8a Remove redundant abstract tests. Use AbstractCodegenTest instead 2012-11-20 14:35:58 +04:00
Natalia.Ukhorskaya 3fc2e5d20c Attempt to split long or double on the stack exception
#KT-3042 Fixed
2012-11-20 13:35:30 +04:00
Natalia.Ukhorskaya ba2eab526a Extension properties in class: don't put receiver on stack for GETFIELD/PUTFIELD instruction
#KT-3031 Fixed
2012-11-13 19:03:20 +04:00
Evgeny Gerashchenko 3fce07b83a Arranged generator classes into packages to make it possible to compile GenerateInjectors separately. 2012-11-12 20:40:23 +04:00
Evgeny Gerashchenko 4916921849 Moved & renamed GenerateTuplesAndFunctions. 2012-11-12 20:01:06 +04:00
Evgeny Gerashchenko 666aecf716 Extracted generator of ranges into GenerateRanges class. 2012-11-12 19:54:23 +04:00
Evgeny Gerashchenko 97d749f361 Made GenerateTests even more compact! 2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko 799a986812 Renamed *.jet to *.kt in test data of JetPsiCheckerTest. 2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko 8d7e79c806 Renamed & moved AllInjectorsGenerator. 2012-11-12 19:54:22 +04:00
Evgeny Gerashchenko 7b677d7ff1 Moved test generating code into TestsGenerator, got rid of duplicates. 2012-11-12 18:30:50 +04:00
Evgeny Gerashchenko cdc96225d0 Introduced simplest GenerateTests. 2012-11-12 18:30:50 +04:00