Commit Graph

66 Commits

Author SHA1 Message Date
Natalia Ukhorskaya c8abe91c25 Move files to subdirectory before merge them to kotlin/master 2014-04-10 10:25:01 +04:00
Andrey Breslav b5f43dcc2d Don't let the last tests fail 2013-10-14 08:23:19 +04:00
Andrey Breslav e9edc70758 Straighten out exception handling for CCE/NPE thrown by the eval loop and other exceptions thrown by eval itself 2013-10-14 08:23:19 +04:00
Andrey Breslav 48dec7ec17 Rename 2013-10-14 08:23:19 +04:00
Andrey Breslav f64deaac1d Foreign object can't be compared by equals() to local objects 2013-10-14 08:23:19 +04:00
Andrey Breslav e2b0212c34 NewObjectValue is a legitimate value too 2013-10-14 08:23:19 +04:00
Andrey Breslav e13c331e78 Use throwException() instead of manually created instance 2013-10-14 08:23:19 +04:00
Andrey Breslav 9814726f9d JDI-based tests run, many fail 2013-10-14 08:23:19 +04:00
Andrey Breslav 1c07c42b2c better toString() 2013-10-14 08:23:19 +04:00
Andrey Breslav 848a9c56b2 Better remote exception support 2013-10-14 08:23:19 +04:00
Andrey Breslav 88bb113834 Prevent infinite recursion in loadClass() 2013-10-14 08:23:19 +04:00
Andrey Breslav ec43441190 Generic mechanism for creating test suites 2013-10-13 15:12:26 +04:00
Andrey Breslav 517ccf347c Support arrays 2013-10-13 12:39:13 +04:00
Andrey Breslav 205fe325d9 Support constructor calls 2013-10-13 12:39:13 +04:00
Andrey Breslav a5dba2938d Support instance fields and methods 2013-10-13 12:38:49 +04:00
Andrey Breslav 3e26f205b3 Static method calls supported 2013-10-13 12:38:49 +04:00
Andrey Breslav f17fa36791 JDI-based Eval for classes and static fields 2013-10-13 12:38:39 +04:00
Andrey Breslav 4591363c9e JDI-based values 2013-10-13 01:11:58 +04:00
Andrey Breslav 0923be42ff throwException() utility introduced 2013-10-13 00:59:45 +04:00
Andrey Breslav 5ea384a165 ownerType supported on members 2013-10-13 00:54:35 +04:00
Andrey Breslav 6138902481 Useful method moved to values.kt 2013-10-13 00:48:52 +04:00
Andrey Breslav d139856e4c NewObjectValue simply carries a type, the actual object will be created later 2013-10-13 00:44:02 +04:00
Andrey Breslav 94daf4c6bc Interpreter is not needed to create uninitialized values 2013-10-12 23:56:24 +04:00
Andrey Breslav 38e8e6addd Start with initial frame, not from scratch 2013-10-12 23:47:39 +04:00
Andrey Breslav 41d576c108 Support exceptionCaught() handler 2013-10-12 23:40:56 +04:00
Andrey Breslav 2e8ae6b7db TODO removed 2013-10-07 01:46:05 +04:00
Andrey Breslav 00fd00e09b Arrays supported 2013-10-07 01:45:05 +04:00
Andrey Breslav e1e1428f4b Exception handling fixed for the case of inner classes 2013-10-07 01:44:29 +04:00
Andrey Breslav 1dfbbb9f08 Support NPE and exceptions thrown from methods being called 2013-10-07 00:32:34 +04:00
Andrey Breslav 4a7fa6632e Class literals supported 2013-10-07 00:17:52 +04:00
Andrey Breslav 58ad84d4e9 Support try..catch and instanceof/casts 2013-10-07 00:16:09 +04:00
Andrey Breslav 3199a8f690 Support constructor calls 2013-10-06 23:41:20 +04:00
Andrey Breslav e8ac8cd7fa Invoke instance method supported 2013-10-06 22:59:44 +04:00
Andrey Breslav 47fd67a9b0 Get/Put instance field supported 2013-10-06 22:55:49 +04:00
Andrey Breslav 6e597b0438 Unused variable removed 2013-10-06 22:39:13 +04:00
Andrey Breslav 7d7316a077 Reading static fields supported 2013-10-06 18:01:12 +04:00
Andrey Breslav 2e6d523966 Reading static fields supported 2013-10-06 17:59:06 +04:00
Andrey Breslav b7c169fc89 Support static method calls 2013-10-06 17:46:23 +04:00
Andrey Breslav cec2111c29 Coerce object types on return 2013-10-06 17:44:37 +04:00
Andrey Breslav 8d29047204 Run configuration for tests 2013-10-06 17:43:56 +04:00
Andrey Breslav 9b2190e1b9 All objects should be loaded by Eval and not directly 2013-10-06 16:30:30 +04:00
Andrey Breslav c5cddd42cb .gitignore 2013-10-06 15:19:04 +04:00
Andrey Breslav 173e7157ab ReadMe 2013-10-06 15:17:59 +04:00
Andrey Breslav 632adb595c Some tests for loops 2013-10-06 15:17:59 +04:00
Andrey Breslav 55e861e503 Don't forget to pop the condition off the stack 2013-10-06 15:17:59 +04:00
Andrey Breslav c376619790 Allow omitting "public" and "test" 2013-10-06 15:17:59 +04:00
Andrey Breslav e85a6fda39 Support int coercions on return 2013-10-06 15:17:59 +04:00
Andrey Breslav 85ac477b2f assertEquals(): order fixed 2013-10-06 15:17:59 +04:00
Andrey Breslav 5a075b80d5 Testing infrastructure 2013-10-06 15:17:59 +04:00
Andrey Breslav ffca4dd5a0 Setting up equals()/hashCode() for values and results 2013-10-06 15:17:59 +04:00