Commit Graph

342 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 30fc19ad82 ForTestCompileStdlib now is invoked in separate process to avoid substituting JarFileSystem and other global components with other incompatible components. 2012-02-13 18:38:41 +04:00
Alex Tkachman 845e873296 KT-1159 test for obsolete issue 2012-02-13 09:54:12 +02:00
Alex Tkachman ace34b01bc KT-1202 object construction fix 2012-02-13 08:34:10 +02:00
Alex Tkachman 9f4ef7fb6a KT-1186 test added 2012-02-11 13:04:26 +02:00
Alex Tkachman a2b602a440 KT-694 - support for simple enums 2012-02-11 13:00:28 +02:00
Alex Tkachman d81ca43b6e KT-1047 - obsolete. test added 2012-02-11 11:48:50 +02:00
Alex Tkachman 8d9434548f KT-1199 - test and fix for erased case 2012-02-11 11:09:02 +02:00
Stepan Koltsov 9b6e051dc1 split SuperGenTest.enclosed 2012-02-09 23:40:51 +04:00
Stepan Koltsov 5c8fb3febf split FunctionGenTest.defaultArgs 2012-02-09 22:25:19 +04:00
Stepan Koltsov 7ad452109f split SuperGenTest.basicmethod 2012-02-09 18:39:10 +04:00
Stepan Koltsov 02eb0201ea do not compile stdlib more then once for tests
if stdlib compilation fails then next test starts compilation again,
so all tests execute too long
2012-02-09 17:12:35 +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
Maxim Shafirov 9e7581c856 Give up on cleaning loader properly 2012-02-06 16:19:41 +04:00
Maxim Shafirov f80ad4c35a Yet another attempt to fix tests 2012-02-06 15:01:54 +04:00
Maxim Shafirov 87f3b649e6 Yet another attempt to fix tests 2012-02-06 14:15:37 +04:00
Alex Tkachman 3578d51cb1 Initial support for annotations 2012-02-05 11:29:04 +02:00
Maxim Shafirov a0ea7ba2b3 Yet another attempt to fix tests 2012-02-03 22:05:06 +04:00
Maxim Shafirov 91da7e4e16 Hopefully, fix tests (they needn't to be executed actually) 2012-02-03 19:39:13 +04:00
Andrey Breslav 35fb5faad8 Trying to fix the test 2012-02-03 15:05:55 +04:00
Maxim Shafirov 04b0699cd5 Fix memory leak by disposing a classloader. The real issue though is located in TypeInfoParser, that has WeakHashMap with values referencing keys. 2012-02-02 20:35:15 +04:00
Alefas c8b4e5ec74 Introduce Variable feature (in pre-alpha quality).
Problems:
1. Still problems with containers, due to new for me JetContainerNode.
2. Needs name suggester
3. Needs name validator
4. Needs type annotation adding
5. Needs changing to var and checking write access of usages
6. Needs final modifier adding
7. Some problems on class and file level. Should be fixed. Problems with inplace rename on this positions. Additionally possibly should be added proper work with expressions on class body level and namespace/file level. It parsed as error now.
8. Needs much more tests than just 6.
2012-02-01 19:42:06 +04:00
Andrey Breslav b9ab6d1af2 Fix resolve tests: now the results are checked against alt-headers 2012-01-31 15:43:56 +04:00
Alex Tkachman 27425c5851 support for volatile 2012-01-31 12:21:18 +02:00
Andrey Breslav bc62708fe9 Apology added to a bad test. 2012-01-31 11:48:33 +04:00
Alex Tkachman c62bbdc5df local functions 2012-01-29 16:20:05 +03:00
Alex Tkachman b3279a6ad5 test for KT-1170 2012-01-28 02:53:06 +03:00
Alex Tkachman 4b4d84d485 KT-1168 don't use direct fields from non-final properties 2012-01-28 00:56:05 +03:00
Alex Tkachman c83d70b856 KT-1165 right type for default property setter 2012-01-27 23:59:59 +03:00
Alex Tkachman 686d4cae3c postfix part of KT-471 2012-01-27 23:11:14 +03:00
Alex Tkachman 51e4fc986a KT-1157 class object instance access from constructor of class object 2012-01-27 15:40:17 +03:00
Stepan Koltsov 13e8995d80 outdated comment 2012-01-27 14:25:55 +04:00
Stepan Koltsov bfb1b6e7b5 read kotlin supertypes in JavaDescriptorResolver
+ tests
+ remove jet.Any from supers
2012-01-27 14:25:55 +04:00
Stepan Koltsov 9b2e4c7d16 refactoring JavaDescriptorResolver and Java*Scope 2012-01-26 14:37:25 +04:00
Andrey Breslav a5bd1c069f KT-913 Weird errors attempting to declare ArrayList of function type
KT-507  Wrong parsing of generic constructor calls with qualified names and functions
2012-01-25 18:50:44 +04:00
Maxim Shafirov 25b71cd6c9 suite.addTestSuite(class) won't work if passed TestCase instance has TestCase.class loaded by different classloader. It does so very silently (this is a note to reified generics haters) 2012-01-25 17:00:43 +04:00
Maxim Shafirov 20920f0a0b Temp directories, which reside under project root replaced with java.io.tmpdir based ones. 2012-01-25 15:51:12 +04:00
Alex Tkachman 02c2e9d5e6 Merge remote branch 'origin/master' 2012-01-25 13:30:06 +02:00
Alex Tkachman 4633e1c7f4 KT-1136 proper generation of accessors 2012-01-25 13:29:16 +02:00
Maxim Shafirov e79041e680 Don't shut down VM if the test that calls main() directly fails. 2012-01-25 14:17:47 +04:00
Maxim Shafirov 33f66ab292 no need to copy jar 2012-01-25 13:15:44 +04:00
Maxim Shafirov 4c4aafd2d3 Delete temporary directories on exit 2012-01-25 12:57:08 +04:00
Alex Tkachman 3c13a2cd98 KT-968 String should provide an iterator() method 2012-01-25 09:36:55 +02:00
Maxim Shafirov 745759861d Use dedicated temp directory, make sure we're safe in multithreaded tests execution. 2012-01-24 22:46:09 +04:00
Alex Tkachman cedec38b8e test for obsolete KT-1093 2012-01-24 18:57:29 +02:00
Alex Tkachman 855a0097a0 test for unreproducable KT-1134 2012-01-24 18:36:38 +02:00
Alex Tkachman 7359388725 KT-1113 proper typeinfo(javaClass) 2012-01-24 18:11:29 +02:00
Maxim Shafirov 81ef081a87 Finally drop attaching stdlib sources everywhere 2012-01-24 17:20:19 +04:00
Maxim Shafirov 00667b14e7 Simplify rt.jar discovery 2012-01-24 17:18:33 +04:00
Alex Tkachman e61a9f62ba crazy bug with constructing object of the same class as calling class 2012-01-24 13:30:38 +02:00