Commit Graph

61 Commits

Author SHA1 Message Date
Alexander Udalov dadc97d29f Fix maven build
Do not create class objects for classes which come from Java.
2012-09-20 18:10:19 +04:00
Svetlana Isakova b081615e59 added tests for collections 2012-09-20 14:42:39 +04:00
Evgeny Gerashchenko 5d8de8fbd2 KT-2596 Can't use iterator in for-loop
#KT-2596 fixed
2012-08-09 19:14:31 +04:00
Alex Tkachman 7f80deeb9a test for obsolete KT-2246 2012-08-09 14:27:33 +03:00
Alexander Udalov f5e9786ffc fix javaClass function and property
#KT-2318 Fixed
 #KT-2593 Fixed
2012-08-08 22:25:15 +04:00
Evgeny Gerashchenko a4031225d0 Changed usages of upto/downto in test to rangeTo and downTo, respectively.
#KT-2519 in progress
2012-08-08 14:48:04 +04:00
Alex Tkachman fcab204459 KT-2210: Array<Array<T>> type mapping 2012-08-04 22:52:02 +03:00
Alex Tkachman 186807a6d7 KT-1779: test for obsolete issue 2012-08-04 21:41:25 +03:00
Alex Tkachman bf7bf194e6 KT-1733 test for obsolete issue 2012-08-04 21:29:28 +03:00
Alex Tkachman 34a0b0dcd4 KT-2334 partly fix: boolean to object coercion 2012-08-04 12:46:49 +03:00
Pavel V. Talanov 1efd02effe KT-789 Code generation fails: size property of collections.
Only test.

#KT-789 Fixed
2012-07-25 14:00:01 +04:00
Evgeny Gerashchenko 7f12dcbc24 Got rid of post-init adding classpath in all tests. 2012-07-23 17:38:20 +04:00
Evgeny Gerashchenko a9564e7580 KT-2414 for (x in 0 downto 0) makes no steps
#KT-2414 fixed
2012-07-21 20:34:25 +04:00
Svetlana Isakova 83ec7d9c68 old constraint system is not removed for a while 2012-07-20 19:34:51 +04:00
Dmitry Jemerov c9125d3f59 correctly call properties on annotation classes
#KT-1932 Fixed
2012-06-09 14:48:04 +02:00
Alex Tkachman 03c4e755fa preparations to multi-file compilation 2012-06-06 11:12:39 +03:00
Stepan Koltsov 9a71cb5e72 CodeGenTest: check result and print code in any blackbox
... and fix test
2012-06-05 22:56:25 +04:00
Stepan Koltsov 9402262e7c CodegenTestFile 2012-05-28 20:19:23 +04:00
Stepan Koltsov ded824468a replace String with JvmClassName 2012-05-11 01:08:33 +04:00
Stepan Koltsov 9908791094 KT-1829 NoClassDefFoundError when using java inner classes
#KT-1829 Fixed
2012-05-11 01:08:30 +04:00
Andrey Breslav 4da91ee3d6 CompileEnvironment removed
What used to be CompileEnvironment, now is split into data (in CompileEnvironmentConfiguration) and utility methods (in CompileEnvironmentUtil).
CompilerDependencies should be removed later.
All the relevant stuff sits in the JetCoreEnvironment class
2012-04-20 11:52:02 +04:00
Stepan Koltsov 10dd366216 CompilerDependencies
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.

Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)

Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
Stepan Koltsov 4125a508ec create forTestCompile package 2012-04-09 00:07:52 +04:00
Stepan Koltsov d74c217936 rename stdlib to runtime 2012-04-08 23:31:29 +04:00
Alex Tkachman 9d752561eb almost full support for annotations 2012-04-01 21:50:01 +03:00
Alex Tkachman 0cb26b0566 more annotations 2012-03-31 16:14:32 +03:00
James Strachan e740c47e29 removed some of the cruft and redundant copies of junit.jar 2012-03-21 09:09:09 +00:00
Alex Tkachman 6ff783e79b KT-1592 don't write default values for annotations 2012-03-16 15:48:49 +02:00
Alex Tkachman c870eccc4f fix for KT-1515 wrong loading of annotations 2012-03-13 12:28:35 +02:00
Alex Tkachman 9aa992c209 fix for KT-1568 1.javaClass 2012-03-13 09:36:15 +02:00
Andrey Breslav cefd9d5ca2 KT-627 Drop Predicate expression 2012-02-27 12:58:23 +04:00
Alex Tkachman 6146ec4268 KT-1406 wrong generation of receiver for ext.fun called inside closure 2012-02-24 16:24:16 +02:00
Alex Tkachman 4f67177aa2 Revert "ability to compile text and small refactoring"
This reverts commit 4ddf101397.
2012-02-23 17:01:33 +02:00
Alex Tkachman 4ddf101397 ability to compile text and small refactoring 2012-02-23 14:12:28 +02:00
Alex Tkachman 53bba59a4f dbl -> toDouble 2012-02-22 13:14:41 +02:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Alex Tkachman bb3ca16203 Speeding up codegen tests 2012-02-07 19:10:47 +02:00
Alex Tkachman adfce7e22d KT-274 Enumeration.iterator() 2012-02-07 16:41:11 +02:00
Alex Tkachman 3c13a2cd98 KT-968 String should provide an iterator() method 2012-01-25 09:36:55 +02:00
Maxim Shafirov 81ef081a87 Finally drop attaching stdlib sources everywhere 2012-01-24 17:20:19 +04:00
svtk b3eb44e769 removed some string methods from library.jet 2012-01-20 19:32:12 +04:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Alex Tkachman 472ec42b19 testing stdlib as part of the build. separate class 2012-01-08 22:32:38 +02:00
Alex Tkachman 5bb56a8abd testing stdlib as part of the build 2012-01-08 16:47:26 +02:00
Alex Tkachman ebe2c375cd KT-274 stdlib part and commented test. Still require frontend test 2012-01-05 00:16:25 +02:00
Alex Tkachman 15fde646c1 KT-864 wrong namespace class name generation 2012-01-04 12:12:02 +02:00
Alex Tkachman b2593b268e KT-715. T.javaClass & TypeInfo.javaClassForType 2012-01-04 10:17:40 +02:00
Stepan Koltsov 07281691b5 fix error reporting in CodegenTestCase 2011-12-31 00:53:32 +04:00
Maxim Shafirov b8590ada4f Move close to other stdlib tests 2011-12-30 19:29:29 +04:00
Maxim Shafirov 87748bb0c7 Make sure we write output for the files even if they're in std.* package 2011-12-30 14:28:59 +04:00