Commit Graph

108 Commits

Author SHA1 Message Date
Stepan Koltsov 522083bf5a lang package 2012-03-07 04:08:18 +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 21e6aa7242 Make K2JSTranslator API public
Add TODO
2012-03-06 16:54:29 +04:00
pTalanov 453c0103b3 Make K2JSTranslator#generateProgramCode public
Rename: convertToDotJsFile ->convertFileNameToDoJsFile
2012-03-06 16:09:31 +04:00
pTalanov a12e6b5b29 Fix tests after update 2012-03-06 16:09:30 +04:00
pTalanov 7b75697d6d Fix stream close in JsTestUtils 2012-03-06 16:09:29 +04:00
Svetlana Isakova d5da6e8c23 Interface of 'addDefaultImports' in StandardConfiguration simplified 2012-03-06 16:02:30 +04:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00: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
Andrey Breslav 1078c95bf2 Platform-dependent AnalyzerFacades renamed to reflect platform-dependencies 2012-03-02 18:27:29 +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 4d718a199f Build fix attempt: switched to using previous version of js.jar. 2012-03-01 20:29:22 +04:00
pTalanov 5dcd3c493d Build fix attempt: reverted dropping dependency. 2012-03-01 19:28:26 +04:00
pTalanov bee4704358 Added patch for Web Demo. 2012-03-01 18:08:13 +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 7a64b37468 Examples updated. 2012-03-01 18:08:09 +04:00
pTalanov 30ba240bda Added toDouble() method to support wd examples. 2012-03-01 18:08:07 +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 61b4c1db55 TODO fixes: Operator table and StringTemplateTranslator 2012-03-01 18:08:02 +04:00
pTalanov 827a97f661 Numerous code style fixes. 2012-02-29 23:17:46 +04:00
pTalanov 26a8d18d9e TODO fixes 2012-02-29 23:17:45 +04:00
pTalanov 25c30e0472 Refactor: predefined annotation become represented as enum, all the logic reside in AnnotationUtils. 2012-02-29 20:51:25 +04:00
pTalanov adcffef920 Refactor AnnotationUtils and NameGenerator 2012-02-29 20:51:24 +04:00
pTalanov 191803f3f6 remove ForTranslatorUtils 2012-02-29 20:51:23 +04:00
pTalanov f800b2a697 Remove outdated TODOs 2012-02-29 20:51:23 +04:00
pTalanov 0660140bf6 Refactor PatternTranslator. 2012-02-29 20:51:22 +04:00
pTalanov 83a8c4263f TODO fix: remove outdated commented code 2012-02-29 20:51:21 +04:00
pTalanov cf2f8e162d Refactor expression mutator. 2012-02-29 20:51:21 +04:00
pTalanov 6e27f2ab3d TODO fixes: refactor 2012-02-29 20:51:20 +04:00
pTalanov 2499a3b845 Remove dead code. 2012-02-29 20:51:19 +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 f8673ceb79 TODO fix: Remove dead code.
Use util method in CallType
2012-02-29 17:32:18 +04:00