Commit Graph

10850 Commits

Author SHA1 Message Date
Mikhael Bogdanov 4feb395dcc Test for static 2013-06-17 15:20:41 +04:00
Mikhael Bogdanov be72e096ef Realization of class object fields as static fields of outer class
#KT-2213 Fixed
2013-06-17 15:20:41 +04:00
Mikhael Bogdanov 47fe81471a Synthetic accessors for class object private members
#KT-3338 Fixed
2013-06-17 15:20:34 +04:00
Mikhael Bogdanov 4ef2f997ed Test for not reproduced KT-2700
#KT-2700 Can't Reproduce
2013-06-17 10:39:23 +04:00
Zalim Bashorov 16d71eeeac Added missing file (class). 2013-06-15 16:08:55 +04:00
Zalim Bashorov a69744e6fb Introduced the cache of temporary variables and expressions.
Used the cached temporary variables in SafeCall and SureCall instead create a new temporary variable.
2013-06-15 15:55:10 +04:00
Zalim Bashorov ee5c7c8f5c Added support spread operator in JS-Backend. 2013-06-15 00:52:02 +04:00
Zalim Bashorov 2bae647412 Make nullable check less verbose in JS-backend.
For check what variable is equal null or undefined enough to compare with null (or undefined).
See ECMAScript specification 11.9.1, 11.9.2, 11.9.3
2013-06-15 00:52:02 +04:00
Zalim Bashorov 60a2f4ef08 Added SingleFileTranslationTest#checkFooBoxIsOk without arguments which use test name as filename. 2013-06-15 00:52:00 +04:00
Alexey Sedunov 6f942a21de Move intention-related classes and tests to "intentions" directory 2013-06-13 20:19:38 +04:00
Alexey Sedunov 57252ea491 Add missing tests 2013-06-13 20:19:36 +04:00
Alexey Sedunov 12ea273ac0 Simplify unfolding of properties, fix caret position 2013-06-13 20:19:35 +04:00
Alexey Sedunov 3ab393e460 Implement split/join property declaration 2013-06-13 20:19:34 +04:00
Alexey Sedunov 42910395fc Remove unused utility methods 2013-06-13 20:19:33 +04:00
Alexey Sedunov da2055862e Move common code transformation classes 2013-06-13 20:19:32 +04:00
Alexey Sedunov f9c4606128 Introduce 'when' subject: consider equality right-hand side as subject candidate 2013-06-13 20:19:32 +04:00
Alexey Sedunov e13508c22b Add support of backticks in JetPsiMatcher 2013-06-13 20:19:31 +04:00
Andrey Breslav 6629892dad Convert both strings to \n before comparing 2013-06-13 14:41:27 +04:00
Andrey Breslav 1f45e309d2 Do not dispose environments outside tearDown()
This caused exceptions (write access assertions) when tests with mock application ran after tests with full Application
2013-06-13 12:30:18 +04:00
Zalim Bashorov bca243727c Changed GitHub's authorization method. 2013-06-13 11:39:55 +04:00
Andrey Breslav 88c5aaeaa1 Put validation parameter into Configuration 2013-06-11 22:09:40 +04:00
Andrey Breslav 97fabf5fc2 Allow error types for some Java tests 2013-06-11 22:09:40 +04:00
Andrey Breslav 4756e9fde3 Extract method 2013-06-11 22:09:40 +04:00
Andrey Breslav 23f91e4978 Do not dispose the project before results of its analysis are used 2013-06-11 22:09:39 +04:00
Andrey Breslav 40b2478d3d Validation integrated into NamespaceComparator 2013-06-11 22:09:38 +04:00
Andrey Breslav d4ee6bd781 Account for error types equality 2013-06-11 22:09:37 +04:00
Andrey Breslav 9d2ea86a78 Additional checks in validator 2013-06-11 22:09:37 +04:00
Andrey Breslav f4991fac1e Minor changes: comment & simplify 2013-06-11 22:09:36 +04:00
Andrey Breslav 994691579b Rename 2013-06-11 22:09:36 +04:00
Andrey Breslav dd0e919f8e Deferred types may delegate equals() to their actual implementatinos 2013-06-11 22:09:35 +04:00
Andrey Breslav 325946154b Fix and test RecursiveDescriptorProcessor 2013-06-11 22:09:35 +04:00
Zalim Bashorov 1e0f926d39 Fixed the expected test result for OverrideImplementTest#testFunctionWithTypeParameters. 2013-06-11 15:50:16 +04:00
Zalim Bashorov 9e4f01319b Swapped some CodeStyle options because must first be "... before ..." then "... after..." 2013-06-11 13:59:23 +04:00
Zalim Bashorov 03b039b302 Fixed the default Kotlin CodeStyle.
By default add space before colon when it placed between types (inheritance, type constraint, type parameter).
Added example of inheritance to the Sample.
2013-06-11 13:49:09 +04:00
Zalim Bashorov 6e96ff4b11 Fixed Maven Artifacts Deployment.
Reverted the server configuration changes and added a new server to work with GitHub.
2013-06-11 13:23:54 +04:00
Zalim Bashorov 28244867ee Fixed Api Docs Deployment. 2013-06-10 20:16:02 +04:00
Evgeny Gerashchenko 9b19685ec1 Merge branch master into pr/269 2013-06-10 17:40:37 +04:00
Andrey Breslav 26a6af2765 Revert d494f49 Removing unneeded flag 2013-06-10 16:49:41 +04:00
Andrey Breslav 7171cd4cc5 Path separator must be constant
TeamCity agents have different OS'es, but build parameters are fixed
2013-06-10 15:33:44 +04:00
Andrey Breslav d494f49173 Removing unneeded flag 2013-06-10 15:33:11 +04:00
Andrey Breslav 0d0d1ed300 Allow error types in some cases for lazy resolve tests 2013-06-10 15:33:11 +04:00
Andrey Breslav 77261a5922 Render properties in builtin-classes.txt 2013-06-10 15:33:10 +04:00
Andrey Breslav 3e8031acbd Properly load objects nested into class objects from Java 2013-06-10 15:33:10 +04:00
Andrey Breslav 56f040608a Minor: Reorder declarations 2013-06-10 15:33:10 +04:00
Andrey Breslav aa985242ba Some Java tests deliberately have error types 2013-06-10 15:33:09 +04:00
Andrey Breslav 9d248d5c4a equals() fixed for types 2013-06-10 15:33:09 +04:00
Andrey Breslav a6edc21c49 Validate descriptors loaded in tests 2013-06-10 15:33:09 +04:00
Jack Zhou 8f24d1e18b Create from usage: Removed a redundant check. 2013-06-08 18:48:41 -07:00
Nikolay Krasko d50300dedc Navigate to super for objects 2013-06-07 17:24:19 +04:00
Nikolay Krasko 4e67566e58 Add utility method for getting before and after text 2013-06-07 17:24:19 +04:00