Commit Graph

721 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 6a4b6d3f5a Typo in ForTestCompileBuiltins. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko a4ab2afa94 Better method names. 2012-07-03 13:35:53 +04:00
Stepan Koltsov cd1211fcb3 repl: multiline 2012-06-28 19:38:44 +04:00
Nikolay Krasko 5ab1c796e0 Same file separators for generation tests on windows 2012-06-27 17:39:45 +04:00
Andrey Breslav f283873988 Generator rerun for added tests 2012-06-26 23:27:27 +02:00
Andrey Breslav 0c910dba8b Supporting (predefined) classifier aliases in Lazy Resolve 2012-06-26 23:23:06 +02:00
Andrey Breslav ac06825f08 jet.Any: modality and constructor straightened 2012-06-26 23:13:53 +02:00
Andrey Breslav a4ffb7c9d9 Fix processing of primary constructor parameters to match existing test data 2012-06-26 18:07:25 +02:00
Andrey Breslav a76e7f6d56 Enum class kinds supported. Assertion for no return type made explicit 2012-06-26 17:51:16 +02:00
Andrey Breslav dea6c452a0 Test classes regenerated with new data 2012-06-26 17:51:16 +02:00
Andrey Breslav 6632c6abfc Inherited visibility resolution fixed 2012-06-26 17:51:15 +02:00
Andrey Breslav b3272feb63 Lazy resolve passes DescriptorRenderer tests except for the Enum case 2012-06-26 17:51:15 +02:00
Andrey Breslav 036981f368 Test renamed, test data moved 2012-06-26 17:51:15 +02:00
Alex Tkachman 744fa1ed2f fix for test broken on windows 2012-06-22 13:01:30 +03:00
Alex Tkachman c1802e2360 breakpoints for multi-file namespaces 2012-06-22 11:55:16 +03:00
Evgeny Gerashchenko aed160e02a Enabled ClassWithTypePExtendsIterableP in ReadJavaBinaryClassTest, disabled attaching jdk-headers in lazy resolve tests. 2012-06-20 20:26:03 +04:00
Evgeny Gerashchenko edb293eca9 Fixed CliTest. 2012-06-20 20:25:18 +04:00
Evgeny Gerashchenko 1d16f46211 Revert "Fixed CliTest."
This reverts commit 43ddf37685.
2012-06-20 20:24:16 +04:00
Evgeny Gerashchenko 43ddf37685 Fixed CliTest. 2012-06-20 20:23:17 +04:00
Evgeny Gerashchenko 4e6291b6ce Fixed CliTest. 2012-06-20 20:07:43 +04:00
Evgeny Gerashchenko 95249099eb KT-2279 Setter generated for abstract var is not abstract
#KT-2279 fixed
2012-06-20 19:15:41 +04:00
Evgeny Gerashchenko 0dd64837c0 Added checking for unresolved templates in CLI. Added test. 2012-06-20 18:58:24 +04:00
Evgeny Gerashchenko ccc8c77526 Renamed JetIdeTemplateExpression to JetIdeTemplate and made not a subtype of JetExpression. Fixed corresponding tests. 2012-06-20 18:58:24 +04:00
Evgeny Gerashchenko 9e727623c2 Fixed accessing namespace private members from inner classes. Added test. 2012-06-19 22:47:58 +04:00
Evgeny Gerashchenko e8f15027e9 Added tests for loading private top-level members from compiled code. 2012-06-19 22:47:58 +04:00
Evgeny Gerashchenko f0430969e0 Updated some tests after supporting private top-level members in backend. 2012-06-19 22:47:58 +04:00
Evgeny Gerashchenko 5ecfd71611 Private outer functions are now accessed via bridge methods. Added tests. 2012-06-19 22:36:03 +04:00
Stepan Koltsov 11f2a98032 revert "DescriptorMatcher" 2012-06-18 20:53:55 +04:00
Evgeny Gerashchenko 86c8e4bf18 Tests for KT-1714 Reference to function is generated with private getter method
#KT-1714 fixed
2012-06-16 19:38:21 +04:00
Evgeny Gerashchenko e45833b213 Test for KT-2197 Reference to function is generated with private getter method
#KT-2197 fixed
2012-06-16 19:38:21 +04:00
Evgeny Gerashchenko 6a56cf04cb Test for KT-2155 Run-time error accessing internal value from other package
#KT-2155 fixed
2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 258623cb5f Added tests cases for internal visibility in ReadKotlinBinaryClass 2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 085b9704b8 Added checking for overridden properties number in NamespaceComparator. 2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 7465e260b6 Disabled some test cases in lazy resolve tests until the latter supports inherited visibility (reported KT-2285). 2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 07109dc8ba Modified NamespaceComparator, so it also checks for visibilities and for getter/setter visibilities. This broke a lot of tests, which will be fixed in next commits. 2012-06-16 15:39:36 +04:00
Evgeny Gerashchenko 221e412ba7 Visibilities of property accessors were not resolved for properties overriding others. They had "internal" visibility after analysis passed. 2012-06-16 14:36:05 +04:00
Stepan Koltsov 3a9f6c0928 DescriptorMatcher 2012-06-16 06:44:15 +04:00
Stepan Koltsov 7116beb95a JetScope.get* return Collection, not Set 2012-06-16 06:44:12 +04:00
Nikolay Krasko 5f3c3d7e2b Fix test for Windows by converting internal line separators too 2012-06-15 17:19:17 +04:00
Nikolay Krasko 3c1fb3951b Move IfNotParsed interface to separate class 2012-06-15 16:20:03 +04:00
Nikolay Krasko c159bc3a8c Stubs - Extract interface for JetElement and JetExpression (Stub psi element should extend StubBasedPsiElementBase but JetElement extended ASTWrapperPsiElement) 2012-06-15 16:07:07 +04:00
Stepan Koltsov 1652d1c009 clean context to analyze next file
so REPL can be reused after error

this patch adds one more ugly hack to REPL
2012-06-14 18:30:49 +04:00
Stepan Koltsov 1c306eefd8 test for repl evaluation exception 2012-06-14 18:30:49 +04:00
Stepan Koltsov 970c2ae1f9 do not exit repl if something went wrong 2012-06-14 18:30:49 +04:00
Natalia.Ukhorskaya 3e777da3ba Fix line separators in tests for windows 2012-06-14 17:39:42 +04:00
Stepan Koltsov a46bd18103 normalize strings in CliTest to fix test on windows 2012-06-14 16:33:44 +04:00
Stepan Koltsov 8c4ca5022d code conventions 2012-06-14 16:33:43 +04:00
Stepan Koltsov d0cd37528a move some cli tests from CompilerSmokeTest to CliTest 2012-06-14 16:05:16 +04:00
Stepan Koltsov 40fe33045d cli test template 2012-06-14 15:29:17 +04:00
Stepan Koltsov 4e99edccaa TmpdirRule
junit4 @Rule to create tmp dir from idea SDK
2012-06-14 15:29:16 +04:00