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
Stepan Koltsov
9db8a63099
rename test cli.jvm.compiler to jvm.compiler
...
Tests has nothing to do with CLI
TODO: move codegen tests
2012-06-14 14:54:00 +04:00
Stepan Koltsov
13431c0f35
move TestCaseWithTmpdir* into test subpackage
2012-06-14 14:54:00 +04:00
Stepan Koltsov
1d0ef01eea
REPL overload resolution ambiguity
...
Fix overload resolution ambiguity in REPL. Note, resolution for
functions declared in script is very different from regular programs:
in scripts function declared later wins. See
functionOverloadResolutionAnyBeatsString for example.
#KT-2272 Fixed
2012-06-14 14:06:17 +04:00
Stepan Koltsov
441e975323
fix order of parameters in assert in ReplInterpreterTest
2012-06-14 14:06:17 +04:00
Andrey Breslav
a7aff72a4d
Enum test case extracted: testMethod added
2012-06-14 13:01:33 +04:00
Stepan Koltsov
87871d0f91
repl: do not print null is last expression type is unit
2012-06-13 22:43:11 +04:00
Stepan Koltsov
55ffd797a4
test imports work in the following lines of REPL
2012-06-13 22:32:36 +04:00
Andrey Breslav
4d0aad1347
Injector creation pulled up
2012-06-13 20:34:14 +04:00
Andrey Breslav
290a2a0620
AbstractLazyResolveTest extracted
2012-06-13 20:34:13 +04:00
Andrey Breslav
f4ac06a483
Test classes renamed to reflect what's happening in the tests
2012-06-13 16:31:41 +04:00
Andrey Breslav
8c73940808
Lazy resolve passes readJavaBinaryClass tests
2012-06-13 16:08:43 +04:00
Andrey Breslav
af3aa6133e
Customizable includeObjectMembers
2012-06-13 16:08:43 +04:00
Andrey Breslav
8b56d47af5
Generate test suites
2012-06-13 16:08:42 +04:00
Andrey Breslav
70a80e1436
Test generator facility factored out
2012-06-13 13:45:29 +04:00
Andrey Breslav
4d4444e863
Lazy resolve passes readKotlinBinaryClass tests
2012-06-13 13:25:34 +04:00
Stepan Koltsov
8dd1465371
pull script up in cli
2012-06-10 03:44:29 +04:00
Stepan Koltsov
35f1de468f
refactor compiler launcher
...
* method should not modify input
* replace String with File
* add @NotNull and @Nullable annotations
2012-06-10 03:44:29 +04:00
Stepan Koltsov
b0553ff651
properly handle empty lines in REPL
2012-06-09 23:25:41 +04:00
Stepan Koltsov
f11767319a
repl: fix two anonymous functions
2012-06-09 23:25:40 +04:00
Dmitry Jemerov
ba76e1467c
correct argument index for object that has outer this and closure arguments
...
#KT-1737 Fixed
2012-06-09 16:20:11 +02:00
Evgeny Gerashchenko
d5b32ba70e
KT-2206 ClassFormatError on loading class with property inherited from trait
...
#KT-2206 fixed
2012-06-09 17:13:38 +04:00
Evgeny Gerashchenko
208dd4e35d
Revert commit because two commits fixing separate bugs were accidentally stuck together. Will recommit bugfixes separately.
...
Revert "KT-2193 Nullability information lost for functions inherited from traits".
This reverts commit d60818fd3e .
2012-06-09 17:13:38 +04:00