Commit Graph

49 Commits

Author SHA1 Message Date
pTalanov e30a22b778 Add a hacky solution to loop parameter capture problem. 2012-03-14 13:19:01 +04:00
pTalanov e331f27483 Introduce BackingFieldAccessTranslator.
Refactor AccessTranslationUtils, ReferenceTranslator.
Add test for namespace properties.
2012-03-14 13:19:01 +04:00
pTalanov b3e306ac32 KT-740
Turn on KT-740-3.kt test.
Fix a typo.
2012-03-14 13:19:00 +04:00
pTalanov af690fb02a KT-817 Wrong code on prefix increment operators. 2012-03-14 13:18:59 +04:00
Stepan Koltsov 9cdcc7b4f2 diagnostics 2012-03-13 23:25:07 +04:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
pTalanov df2d9769fa KT-1359 Cannot declare object inheriting from a trait or class. 2012-03-13 15:50:09 +04:00
pTalanov 8b984551c1 KT-1519: Error calling native extension function from user defined extension function. 2012-03-13 15:50:08 +04:00
pTalanov 15437cbbf6 KT-1361: "this" is not treated correctly when object is created. 2012-03-13 15:50:07 +04:00
pTalanov d69988382b KT-1052: Infix calls do not work. 2012-03-13 13:48:53 +04:00
unknown 26a5ff3a2f Add disabled test. Depends on KT-1198 2012-03-09 19:22:14 +04:00
unknown beff2f9b1e KT-740: Make sure that assign and increment operations compute receiver only once:
- Array operations.
2012-03-09 19:22:13 +04:00
unknown 295b38bf32 KT-740: Make sure that assign and increment operations compute receiver only once:
- Increment operation on property.
2012-03-09 19:22:12 +04:00
unknown eced7048e3 Fix semicolon being on the wrong line in "use strict" expression 2012-03-09 19:22:10 +04:00
unknown 253b92a44d KT-1052: Add support for function calls (and, or, xor, not) on Boolean 2012-03-09 19:22:10 +04:00
pTalanov 566f53d9d0 Build fix attempt: got rid of SuiteBuilder class 2012-03-06 21:12:24 +04:00
pTalanov f6ad975269 Build fix attempt: reorganised test inheritance. 2012-03-06 20:44:43 +04:00
pTalanov e890cc7750 Add "use strict" to generated test files and to kotlin_lib.js 2012-03-06 20:24:17 +04:00
pTalanov 453c0103b3 Make K2JSTranslator#generateProgramCode public
Rename: convertToDotJsFile ->convertFileNameToDoJsFile
2012-03-06 16:09:31 +04:00
pTalanov 7b75697d6d Fix stream close in JsTestUtils 2012-03-06 16:09:29 +04:00
pTalanov ab3cdb9bd8 Add simple tests for interop with native code. 2012-03-02 20:05:16 +04:00
pTalanov 320ed18134 Hide string constant TEST_FILES. 2012-03-02 20:05:15 +04:00
pTalanov c38bf0bc86 Use minimal optimisation to slightly speed up the tests. 2012-03-02 20:05:14 +04:00
pTalanov c9cc2a385a Move TestConfig under test package 2012-03-02 20:05:13 +04:00
pTalanov 853b03efd2 Split TranslationTest into SingleFileTranslationTest and MultipleFilesTranslationTest 2012-03-02 20:05:13 +04:00
pTalanov 14eab2357d Fixed access level of TranslationTest. 2012-03-02 20:05:12 +04:00
pTalanov d3e3f599ae Moved most of the test into subpackage. 2012-03-02 20:05:11 +04:00
pTalanov aa7b8cb7df Reorganised Test classes hierarchy. Pushed up most of the TranslationTest methods. 2012-03-02 16:11:22 +04:00
pTalanov 36b5d761a2 Rename: SingleFileTest -> SuiteBuilder 2012-03-02 16:11:21 +04:00
pTalanov 90de7f6ced Massive test refactoring. 2012-03-02 16:11:20 +04:00
pTalanov 037eeae08d Refactoring intrinsics.
Remove JetTestUtils.
Comment out failing tests.
2012-03-02 16:11:20 +04:00
pTalanov 9c7cf6c69e Refactoring tests: Extracted SafeCallTest 2012-03-02 16:11:19 +04:00
pTalanov f9063ee137 Refactoring tests. 2012-03-02 16:11:18 +04:00
pTalanov c1b9efa8bf Remove patch.
Refactor tests.
2012-03-02 16:11:17 +04:00
pTalanov 5dcd3c493d Build fix attempt: reverted dropping dependency. 2012-03-01 19:28:26 +04:00
pTalanov a43ff45c45 Changes before creating patch for Web Demo 2012-03-01 18:08:11 +04:00
pTalanov 146eb941d0 Config refactoring. 2012-03-01 18:08:10 +04:00
pTalanov 256b813edb Test and fix for abstract var overriding. 2012-03-01 18:08:05 +04:00
pTalanov 60732c734d Removed js.jar dependency. 2012-03-01 18:08:04 +04:00
pTalanov 26a8d18d9e TODO fixes 2012-02-29 23:17:45 +04:00
pTalanov 35ea508f4c Fix tests to work in a clean environment.
Share javascript backend tests.
2012-02-29 17:32:23 +04:00
pTalanov 5862ea00f0 Fix name for tests. 2012-02-29 17:32:21 +04:00
pTalanov ee27415bf7 Make test create and delete out directories. 2012-02-29 17:32:19 +04:00
pTalanov fe9bb67970 Refactor js.tests. 2012-02-28 21:19:10 +04:00
pTalanov 57c9de776e Move TestConfig to js.tests module. Remove K2JSTranslationUtils. Remove core.Dummy class. TestConfig references library files using project file structure instead of getResourceAsStream. 2012-02-28 15:18:16 +04:00
pTalanov 645a3a9f2f Got rid of Junit assertion error in Suite 2012-02-27 20:45:35 +04:00
pTalanov 953c33a846 Project structure fixed 2012-02-27 19:07:59 +04:00
pTalanov 8d6525f23f initial changes 2012-02-27 15:30:52 +04:00
Pavel Talanov 6646278a60 before merge 2012-02-24 17:20:23 +04:00