Commit Graph

240 Commits

Author SHA1 Message Date
Alexey Sedunov 9f5ee13c20 Implement "Merge when" intention 2013-11-20 20:55:58 +04:00
Nikolay Krasko 8f12db341e Remastering of documentation provider
- Remove whole file resolve
- Take already resolved element
- Get kotlin element behind the wrapper directly
- Remove outdated isKotlinDeclaration method
- More tests
2013-11-15 19:41:16 +04:00
Alexander Udalov f75c399128 Minor, use headless mode in BuiltInsSerializer 2013-11-14 19:11:19 +04:00
Alexander Udalov a35f285bcf Disable "UseOfSystemOutOrSystemErr" inspection in tests 2013-11-14 19:11:18 +04:00
Andrey Breslav c4ecb9663a Basic utility for rendering DataFlowValues 2013-11-13 14:36:34 +04:00
Valentin Kipyatkov a7f11e6852 Very initial implementation of smart completion 2013-11-11 21:46:05 +04:00
Nikolay Krasko fa0c3e52c5 Generate out of block modification tests 2013-11-08 18:41:23 +04:00
Alexey Sedunov 60022ddb56 Rename FindUsagesTest 2013-11-06 14:26:35 +04:00
Alexey Sedunov a0e90f38a2 "Find Usages": add tests for Kotlin usages of Java declarations 2013-11-06 14:26:30 +04:00
Mikhael Bogdanov 88a43fac5f Injectors regenerated 2013-10-24 14:14:49 +04:00
Svetlana Isakova 4af0e1a4fc added DiagnosticMessageTest to generator 2013-10-16 20:41:23 +04:00
Andrey Breslav 5b04783ee2 Using Disposer.newDisposable() instead of an anonymous class 2013-10-15 15:28:29 +04:00
Andrey Breslav 1d540181b0 Produciton code uses a shared application between many projects.
Tests always dispose the application together with JetCoreEnvironment
2013-10-15 15:28:28 +04:00
Alexander Udalov 102ced153c Remove binary test data from completion tests
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00
Alexander Udalov 47ce2f7fe8 Remove binary test data for tests with broken jars 2013-10-10 20:28:22 +04:00
Alexander Udalov 475551f54a Remove binary test data for some tests
Launch CLICompiler instead to compile it
2013-10-10 20:28:22 +04:00
Alexander Udalov 1d93ab41d2 Merge two tests with almost the same logic 2013-10-10 20:28:22 +04:00
Alexander Udalov f8201c6aa9 Refactor TopLevelMembersInvocationTest
Compile library dependencies in the test instead of storing them as jars in the
repository. Reuse MockLibraryUtil, move it from idea tests to compiler-tests
2013-10-10 20:28:21 +04:00
Alexander Udalov a2c74d4324 Refactor OverrideImplementWithLibTest
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00
Mikhael Bogdanov d4b84a8809 ScriptCodegen refactoring: unsingleton 2013-10-10 16:17:10 +04:00
Andrey Breslav 31c14c33e0 WriteSignatureTest is now generated 2013-10-08 21:13:29 +04:00
Alexander Udalov 1578d891cb Remove PsiClassFinder
Inline the implementation into JavaClassFinderImpl
2013-10-04 18:32:38 +04:00
Alexander Udalov 7fa39eb41b Delete InjectorForJDR.getPsiClassFinder()
Replace its usages by getJavaClassFinder(). Remove code duplication in
AnalyzerFacadeForJVM/LazyResolveTestUtil
2013-10-04 18:32:38 +04:00
Nikolay Krasko f09ba64234 Refactoring: Use generators for highlighting tests
- Store options for test in file
- Change default for namesHighlightingTest
- Combine highlighting and deprecated tests
2013-10-03 23:35:53 +04:00
Alexander Udalov 7eff1292f0 Make an abstraction over VirtualFileFinder
Java descriptor loader now can work with KotlinClassFinder, which finds
abstract KotlinJvmBinaryClass'es: they are based on VirtualFile in the
compiler/IDE and will be based on j.l.Class in the reflection
2013-10-02 17:05:50 +04:00
Evgeny Gerashchenko eb5455e89f Got rid of "jet" file extension. 2013-10-01 19:32:38 +04:00
Evgeny Gerashchenko 2c877f080e Introduced CompositeExtension (to pass several of them). 2013-10-01 15:06:57 +04:00
Alexander Udalov 5fa489b7d3 Add 'topLevelMemberInvocation.twoModules' test to CompileBinaryTestData 2013-09-30 22:43:18 +04:00
Alexander Udalov ee92ebe941 Move Kotlin descriptor loading to kotlin/ package 2013-09-30 22:43:17 +04:00
Pavel V. Talanov 10797db588 Create test for resolving with compiled kotlin dependency
Test for resolving fake overrides from binaries
2013-09-30 20:54:35 +04:00
Alexey Sedunov 41ea7da1e3 Implement call hierarchy 2013-09-27 19:20:44 +04:00
Andrey Breslav 4b991f7254 Test that built-in binaries are up to date 2013-09-26 09:04:59 -07:00
Andrey Breslav c94f97bf57 Properly disposing the environment in GenerateJavaToKotlinMethodMap 2013-09-24 13:07:46 -07:00
Alexander Udalov da1325f5cc Add a script to regenerate binary test data (jars) 2013-09-24 20:33:00 +04:00
Andrey Breslav 8952365ae3 Formatter test is generated now 2013-09-24 06:58:40 -07:00
Andrey Breslav 1f340e3a7a Don't compile and run generators in build.xml 2013-09-24 06:45:26 -07:00
Andrey Breslav 587189433b Test that GenerateJavaToKotlinMethodMap has run correctly 2013-09-24 06:45:25 -07:00
Andrey Breslav 651cc26e5e Test that injectors are properly generated 2013-09-24 06:45:25 -07:00
Andrey Breslav 09da73da1b Log what test classes were regenerated 2013-09-24 06:45:25 -07:00
Andrey Breslav ade544a8b7 Test generator moved to the 'generators' module 2013-09-24 06:45:25 -07:00
Natalia.Ukhorskaya 5021bf3cd7 Fix line separators 2013-09-20 16:04:09 +04:00
Alexander Udalov 5119afae52 Extract 'descriptors' module 2013-09-18 18:45:34 +04:00
Alexander Udalov 8e59e789dc Extract util.runtime module out of util
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.

Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Alexander Udalov 15efeaba22 Use 'generators' module and its dependencies for 'All Tests' 2013-09-18 17:21:11 +04:00
Alexander Udalov c029cbdf62 Do not escape AS_SAFE,NOT_IN,NOT_IS in DescriptorRenderer 2013-09-18 17:20:45 +04:00
Alexander Udalov 3da06ee110 Generate keyword strings for DescriptorRenderer
This is done in order to kill dependency of DescriptorRendererImpl on JetTokens
2013-09-18 17:01:41 +04:00
Alexander Udalov df875b892f Move generators sources to generators/src/ 2013-09-18 17:01:41 +04:00
Alexander Udalov 8400d2b8cf Refactor OverridingUtil.resolveUnknownVisibilities
Get rid of dependency on BindingTrace, move the corresponding error reporting
logic to OverrideResolver
2013-09-18 16:40:35 +04:00
Evgeny Gerashchenko e338cda06d Changed extension in parsing test data (jet -> kt) 2013-09-17 18:10:00 +04:00
Evgeny Gerashchenko 5ed75cffd5 Made parsing test generated. 2013-09-17 18:10:00 +04:00