Commit Graph

325 Commits

Author SHA1 Message Date
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
Stepan Koltsov f21ad2f536 fix couple of bugs in constructor signature serialization/parsing 2012-01-23 22:49:46 +04:00
Stepan Koltsov 8dd62f124a fix testlib test: compile own java classes 2012-01-23 22:49:40 +04:00
Stepan Koltsov a76c1c7f4e temp diag to fix test on TeamCity 2012-01-23 04:12:12 +04:00
Stepan Koltsov 1fc608c900 fix paths in ForTestCompileStdlib 2012-01-23 03:59:14 +04:00
Stepan Koltsov 4767e5c935 split TestlibTest into two tests
* old tests attaches stdlib sources to testlib classpath
* new test compiles stdlib into stdlib.jar and then adds stdlib.jar to testlib classpath
2012-01-23 03:37:09 +04:00
Alex Tkachman 5add400e5e Merge remote branch 'origin/master' 2012-01-20 20:21:25 +01:00
svtk b3eb44e769 removed some string methods from library.jet 2012-01-20 19:32:12 +04:00
Maxim Shafirov f541cce098 Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore. 2012-01-20 19:17:32 +04:00
Alex Tkachman 35a1240dc7 KT-1018: better handling of property visibility 2012-01-20 14:21:38 +01:00
Stepan Koltsov 746279ed56 diagnostics in mkdirs 2012-01-19 20:33:37 +04:00
Stepan Koltsov b360d2ada3 test for bytecode generation of kotlin code against descriptors loaded from binary classes
test is:
1. compile file A
2. compile file B with binary class A in classpath
3. execute some code from file B
2012-01-19 20:16:09 +04:00
Stepan Koltsov 8125a1003e move some tests into "compiler" subpackage 2012-01-19 20:16:05 +04:00
Stepan Koltsov b6590a3814 codegen: fix calls to global functions when loaded from java descriptors 2012-01-19 18:05:00 +04:00
Alex Tkachman 52b81a15e5 KT-998: wrong codegen for labeled continue/break 2012-01-19 00:01:46 +01:00
Alex Tkachman 86a33f8b16 KT-1076 reversed ranges 2012-01-18 20:01:18 +01:00
Alex Tkachman a529ad2ac7 KT-1054 comparison of booleans 2012-01-18 18:10:41 +01:00
Alex Tkachman 01b405c86a KT-1055 wrong identityEquals codegen 2012-01-18 17:34:48 +01:00