Commit Graph

455 Commits

Author SHA1 Message Date
Yan Zhulanow ef08110354 Evaluator: Render inline class values using its toString() implementation (KT-27414) 2018-12-12 21:40:46 +09:00
Yan Zhulanow 9ec321b918 Update debugger test data, fix the current behavior 2018-12-12 21:40:45 +09:00
Yan Zhulanow e6643ef2b7 Fix quick evaluation for array expressions (KT-13268) 2018-12-12 21:40:44 +09:00
Yan Zhulanow 4b4d8dd660 Fix breakpoints for the same inline function nested calls (KT-22366)
This commit changes the format of the synthetic local variables for inline functions.
2018-12-12 21:40:44 +09:00
Yan Zhulanow e12af0e2d1 Fix evaluation for captured inline classes (KT-28487) 2018-12-12 21:40:44 +09:00
Yan Zhulanow 27ea02929a Fix evaluation for static interface methods declared in Java (KT-23585) 2018-12-12 21:40:43 +09:00
Yan Zhulanow 3d7b503cd6 Fix source mapping for stepping into package facades from libraries (KT-28028) 2018-12-12 21:40:43 +09:00
Yan Zhulanow c88d8a5e0d Evaluate: Support synthetic 'field' variable evaluation (KT-28342) 2018-12-12 21:40:43 +09:00
Yan Zhulanow ada71ce3cd Evaluate: Use '<name>_field' syntax for field value evaluation (KT-14075) 2018-12-12 21:40:42 +09:00
Nikolay Krasko 6198641cb7 Fix test after adding line with force ranking directive 2018-11-01 12:24:03 +03:00
Nikolay Krasko 7009b261d6 Don't rank local classes (KT-27712)
Allow enable ranking even for single source file in tests

 #KT-27712
2018-10-26 18:02:36 +03:00
Nikolay Krasko 8d7829be31 Allow to assert rank value in ranking test
Update test data for lambdas.kt because of same rank check bug fixed.
2018-10-26 18:02:36 +03:00
Yan Zhulanow b8c756a4e8 Debugger: Remove false-positive assertion (KT-24343) 2018-10-24 20:12:25 +03:00
Yan Zhulanow 713dc589e0 Debugger: Allow to evaluate private properties from companion objects (KT-26795) 2018-10-24 20:12:24 +03:00
Yan Zhulanow fee0cfcecb Debugger: Add a stepping test for inline classes (KT-26798) 2018-10-24 20:12:23 +03:00
Stanislav Erokhin 4ca0c60066 Temporary specify type explicitly for sequence method in debugger tests. 2018-09-19 15:46:24 +03:00
Ilya Gorbunov 1b889c976a Use new sequence builders in tests
Coroutine tests will fail when LV=1.2 because there're no such builders
in kotlin.coroutines.experimental.

#KT-26678
2018-09-16 23:30:36 +03:00
Yan Zhulanow 64e85e8a0c Support new $this_<label> field naming convention in debugger 2018-09-11 16:41:21 +03:00
Roman Elizarov e2713501ce Rename SuccessOrFailure to Result and hide Failure from ABI
* The members of Result are isSuccess, isFailure, exceptionOrNull, getOrNull
* The rest of API is implemented via inline-only extensions
* There are two internal functions to hide detailed mechanics of an internal
  Result.Failure class: createFailure and throwOnFailure
* Result.toString is explicit: either Success(v) or Failure(x)

See KT-26538
2018-09-09 11:34:31 +03:00
Alexey Tsvetkov 49bddcd220 Use release coroutines in evaluate tests 2018-08-30 14:57:12 +03:00
Ilya Gorbunov d57e1bb68b Migrate stepping and evaluation tests to the new coroutine API 2018-08-30 14:50:31 +03:00
Vitaliy.Bibaev 568a664491 Move test classes into 'streams' package in the tiny app 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev d4795c0e5d Add generated tests for collections/java streams 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev cf2c2ed802 Move sequence test data into 'debugger/tinyApp/src/streams/sequence' 2018-08-20 05:18:01 +03:00
Vitaliy.Bibaev 895e78d180 Move test data to tinyApp directory 2018-08-20 05:18:00 +03:00
Vitaliy.Bibaev fbc2a5d9a7 EA-114349 Fix bug when trace collecting for large int values throws NPE 2018-08-20 05:17:59 +03:00
Vitaliy.Bibaev 7cd1baff9d Fix bug when chain is not detected if method expression is used 2018-08-20 05:17:59 +03:00
Vitaliy.Bibaev da731b9bae Do not set redundant space in string representation of lambdas 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev 89abcb82e4 Support distinctBy intermediate call 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev 0cc5e924a7 Fix bug then Map.contains is not an expression 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev bfced7dd1e Support filterIsInstance with generic parameter 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev e9d8398573 Minor: update test data 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev 914a631322 Add tests & test data for all terminal operations 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev bf82cd9b40 Fix test dsl/mapComputeIfAbsent 2018-08-20 05:17:58 +03:00
Vitaliy.Bibaev bde34b45e7 Add 'asSequence' operation support 2018-08-20 05:17:57 +03:00
Vitaliy.Bibaev 8f807f441b Add two more tests for windowed operation support 2018-08-20 05:17:57 +03:00
Vitaliy.Bibaev 449fa8f3ec Support 'windowed' intermediate call 2018-08-20 05:17:57 +03:00
Vitaliy.Bibaev cc549d3ae5 Support chunked operation 2018-08-20 05:17:57 +03:00
Vitaliy.Bibaev 85d83309ae Support mapNotNull intermediate operation 2018-08-20 05:17:57 +03:00
Vitaliy.Bibaev eaee6697f2 Make zipWithNext work & add test 2018-08-20 05:17:56 +03:00
Vitaliy.Bibaev d8bc73367f Add tests for misc operations 2018-08-20 05:17:56 +03:00
Vitaliy.Bibaev 53209eaeec Add tests for appending values to sequence operation 2018-08-20 05:17:56 +03:00
Vitaliy.Bibaev d30a3b2495 Add tests for distinct operations 2018-08-20 05:17:56 +03:00
Vitaliy.Bibaev fd17d9959a Add tests for sorting operations 2018-08-20 05:17:56 +03:00
Vitaliy.Bibaev 3114691a02 Remove redundant copyright header in test data 2018-08-20 05:17:55 +03:00
Vitaliy.Bibaev 42aba80eb7 Add tests for flat-mapping operations 2018-08-20 05:17:55 +03:00
Vitaliy.Bibaev a4e72067a9 Add tests outputs for mapping operation tests 2018-08-20 05:17:55 +03:00
Vitaliy.Bibaev b31db50ba1 Add tests for mapping operations 2018-08-20 05:17:55 +03:00
Vitaliy.Bibaev 5383ec50d2 Add tests on filtering operations 2018-08-20 05:17:55 +03:00
Vitaliy.Bibaev 9d69b701c1 Add tests for type inference for items in the chain 2018-08-20 05:17:54 +03:00