Commit Graph

302 Commits

Author SHA1 Message Date
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
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
svtk 04b1a4937c Merge remote-tracking branch 'origin/master' 2012-01-18 13:31:52 +04:00
svtk becd713111 KT-234 Force when() expressions to have an 'else' branch
KT-973 Unreachable code
2012-01-18 13:31:42 +04:00
Stepan Koltsov b8496fd2f6 ReadKotlinBinaryClassTest: check reified 2012-01-18 12:08:36 +04:00
Stepan Koltsov e7daae8804 fix ext prop type param output of ReadKotlinClassDataTest 2012-01-18 12:04:16 +04:00
Stepan Koltsov 106846e868 ReadKotlinBinaryClassTest: nullability 2012-01-18 12:03:58 +04:00
Stepan Koltsov c18a5009a4 test for function type 2012-01-18 11:56:27 +04:00
Stepan Koltsov 1fc0d9b0f4 ReadKotlinModelFromJavaBinaryClasses 2012-01-17 19:32:50 +04:00
Stepan Koltsov 49dbcaa728 rename ReadClassDataTest 2012-01-17 19:32:18 +04:00
svtk 94e3cc9976 Merge remote-tracking branch 'origin/master' 2012-01-17 15:43:17 +04:00
svtk 3a634417b9 KT-776 Wrong detection of unreachable code
KT-1001 Argument 2 for @NotNull parameter of JetFlowInformationProvider.checkIsInitialized must not be null
2012-01-17 15:27:54 +04:00
Maxim Shafirov d51c030803 New module script DSL 2012-01-16 20:59:17 +04:00
Stepan Koltsov 3ce345b06b fix inner class serialization in ReadClassDataTest 2012-01-15 18:56:42 +04:00
Stepan Koltsov 6603a431fa read class data: hide methods
hide inherited Object and jet.JetObject methods, and special static methods
2012-01-13 23:56:08 +04:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Stepan Koltsov de3ba203a6 test TypeParameterDescriptor index in ReadClassDataTest
(and fix index parsing)
2012-01-13 03:55:12 +04:00
Stepan Koltsov a8ff7e5aaf assert ReadClassDataTest works with non-empty set 2012-01-13 03:55:11 +04:00
Stepan Koltsov de337df53e better output in ReaderClassDataTest.compareNamespaces 2012-01-13 03:55:11 +04:00
Stepan Koltsov b0dcbad365 fix ReadClassDataTest type parameters output 2012-01-13 03:55:10 +04:00
Stepan Koltsov 200fd78574 ReadClassDataTest: extension properties 2012-01-12 01:25:47 +04:00
Stepan Koltsov f4bf59ff32 NamedFunctionDescriptor 2012-01-12 01:25:42 +04:00
Stepan Koltsov 6198fb90f3 fix ValueParameterDescriptor.index read from class files
(ReadClassDataTest now also checks for indices)
2012-01-12 01:25:39 +04:00
Alex Tkachman c318191f5d KT-935 resolved call used on += 2012-01-10 21:14:22 +02:00
Alex Tkachman 2e0b1863cd KT-940 proper calculation of bridge methods 2012-01-10 19:50:13 +02:00