Nikolay Krasko
848863ef93
Completion fails with exception "Toplevel class has no fqName" (KT-5119)
...
Groovy scripts files can create PsiClasses with null qualfied names (getQualifiedName()) and names (getName()).
#KT-5119 Fixed
2014-06-02 20:36:42 +04:00
Pavel V. Talanov
b3898cfb0d
Force the user of AstAccessControl to write at least one test violating restriction, implement such tests for existing tests
...
This is needed because the slightest change in the test setup can make the check useless without the client knowing
The solution is ugly but gives at least some protection against this
2014-05-21 15:40:29 +04:00
Pavel V. Talanov
8354233f85
Add multi file test for completion of enum entry
2014-05-21 15:40:14 +04:00
Pavel V. Talanov
4c39886edc
Minor: fix test data
2014-05-21 15:40:13 +04:00
Pavel V. Talanov
fbf2cded0d
Refactor AbstractMultiFileJvmBasicCompletionTest to extend CompletionTestCase
...
Extract common code from JetFixtureCompletionBaseTestCase to CompletionTestUtil.kt
Reason for this change is that I couldn't get the check that prohibits tree loading to work with fixture test case
2014-05-21 15:40:12 +04:00
Pavel V. Talanov
6ba8e4c4b1
Switch JetMultifileBasicCompletionTest to generated approach
2014-04-02 13:37:18 +04:00
Pavel V. Talanov
4c634d5c67
Use common infrastructure for JetMultifileBasicCompletionTest
2014-04-02 13:37:17 +04:00
Nikolay Krasko
287c1f4c71
Test for Complete class names in expression position (KT-2821, KT-3779)
...
#KT-2821 Fixed
#KT-3779 Fixed
2014-03-24 15:19:24 +04:00
Nikolay Krasko
ed250198d8
Revert replacing "NUMBER" to "INVOCATION_COUNT" and replace "TIME" to "INVOCATION_COUNT"
2013-09-24 16:54:25 +04:00
Nikolay Krasko
839df96200
Refactoring: change test data directive
2013-09-16 17:23:28 +04:00
Nikolay Krasko
a15f1c8946
Test are imported functions completed
2013-02-04 14:23:24 +04:00
Nikolay Krasko
5368e8cef3
Process imports for functioncs and properties in creating scope for file
...
during lazy resolve
Fix for "KT-3096 No completion in function literal" and "KT-3102 No
completion/auto-import for an extension method"
#KT-3102 Fixed
#KT-3096 Fixed
2012-12-03 15:17:24 +04:00
Nikolay Krasko
aca747390b
KT-2849 Object that are not imported do not show up in completion
...
#KT-2849 Fixed
2012-11-09 14:49:28 +04:00
Nikolay Krasko
d1dc67c049
Search for function in resolve session with non-physical file
2012-08-14 14:15:13 +04:00
Nikolay Krasko
8d69af87ce
Completion for java inner class names
2012-05-31 19:58:05 +04:00
Nikolay Krasko
84efd8536f
KT-1151 Code completion for not imported extension functions - test for completion not-imported function on nullable type
2012-02-29 17:14:09 +04:00
Nikolay Krasko
a086e3985e
KT-1151 Code completion for not imported extension functions - more tests for extension functions and properties
2012-02-29 17:14:07 +04:00
Nikolay Krasko
67dc9ba6e3
KT-1151 Code completion for not imported extension functions - ignore parameters
2012-02-29 17:14:06 +04:00
Nikolay Krasko
0a669b9c01
KT-1151 Code completion for not imported extension functions - test for completion extension function without params
2012-02-29 17:14:06 +04:00
Nikolay Krasko
bd1bb1f0bd
- Tests for KT-1051, KT-1151 and KT-1100
...
- Icon for java fake class
2012-02-03 16:05:30 +04:00