Andrey Breslav
|
5eaa5b396b
|
Removing usages of tuples from test data
(KT-2358 Drop tuples)
#KT-2358 In progress
|
2012-09-18 20:27:09 +04:00 |
|
Evgeny Gerashchenko
|
ffc4792071
|
Replaced sure() invocations with '!!' operator in JS tests.
|
2012-09-17 18:00:21 +04:00 |
|
Svetlana Isakova
|
e622be8a2d
|
changed js tests/library after collections mapping
|
2012-09-05 18:55:17 +04:00 |
|
Svetlana Isakova
|
a3194e9a46
|
removed unnecessary import jet.Iterator
|
2012-09-05 18:55:16 +04:00 |
|
Andrey Breslav
|
1b65ba644e
|
JS Back-end does not handle complex patterns any more
#KT-2359 In Progress
|
2012-09-05 14:18:40 +04:00 |
|
Pavel V. Talanov
|
04da2f453a
|
Test for KT-2281.
#KT-2281 fixed
|
2012-08-31 14:35:54 +04:00 |
|
Pavel V. Talanov
|
e6e6f7e598
|
Object's constructor is private from frontend point of view.
Test data changed.
Js-backend test objectInObject turned off.
Public constructors for objects hard-coded in jvm-backend.
|
2012-08-29 15:58:27 +04:00 |
|
James Strachan
|
cbde1e1e46
|
added a little test case to see if using $ variables works in kotlin for JS generation (e.g. for angularjs support)
|
2012-08-22 16:17:40 +01:00 |
|
Svetlana Isakova
|
f817eba7aa
|
removed check for 'hasNext' val in frontend
|
2012-08-20 16:05:16 +04:00 |
|
Pavel V. Talanov
|
52a933e179
|
Iterating over iterator.
|
2012-08-16 20:24:57 +04:00 |
|
Pavel V. Talanov
|
e184bf7a8f
|
Remove Iterator#get_hasNext since val hasNext convention is dropped.
|
2012-08-16 20:24:37 +04:00 |
|
Svetlana Isakova
|
ec556e2abc
|
val hasNext changed to fun in test
|
2012-08-16 18:39:24 +04:00 |
|
Svetlana Isakova
|
f3146a9697
|
hasNext changes to fun in js tests
|
2012-08-16 18:39:24 +04:00 |
|
Pavel V. Talanov
|
b0856cb364
|
Do not translate library (marked by annotation) declarations.
|
2012-08-14 18:48:24 +04:00 |
|
Pavel V. Talanov
|
954c1ee29f
|
Fix test file name.
|
2012-08-14 14:01:27 +04:00 |
|
Pavel V. Talanov
|
9dce8a9f33
|
Merge remote-tracking branch 'origin/master'
Conflicts:
js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/factories/RangesFIF.java
js/js.translator/src/org/jetbrains/k2js/translate/intrinsic/functions/patterns/NamePredicate.java
|
2012-08-14 13:04:38 +04:00 |
|
Pavel V. Talanov
|
d633722cdb
|
Remove localFunction test since it was not really supported.
|
2012-08-14 12:44:50 +04:00 |
|
Pavel V. Talanov
|
554b43df68
|
Use jshint instead instead of jslint in js.tests.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
|
2012-08-14 12:44:48 +04:00 |
|
Pavel V. Talanov
|
310d926747
|
Test for KT-2388: if function passed as setTimeout callback, all "this" references will be point to HTML window instead of real object.
#KT-2388 fixed
|
2012-08-14 12:44:44 +04:00 |
|
Pavel V. Talanov
|
de3ebf9baa
|
Tests:ObjectInheritingFromATrait test enhanced, ObjectInheritingFromClass test added.
|
2012-08-14 12:44:40 +04:00 |
|
Pavel V. Talanov
|
6febebc7b3
|
Tests: drop EcmaVersions usage, add test inheritFromJetIterator.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
|
2012-08-14 12:44:39 +04:00 |
|
Pavel V. Talanov
|
0a002bcc53
|
Test for calling functions in initializers.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
|
2012-08-14 12:44:38 +04:00 |
|
Pavel V. Talanov
|
d734cbb5b5
|
Enhanced test data: KT-1361-1, toArray.kt, objectDeclaration.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
|
2012-08-14 12:44:37 +04:00 |
|
Pavel V. Talanov
|
c48e1d6319
|
Tests: added package declaration in hexademicalConstant, enclosingThis tests.
|
2012-08-14 12:44:36 +04:00 |
|
Pavel V. Talanov
|
d0d08b16be
|
Changes to js_libs.js:
Extract maps into separate file.
Straight forward solution for "JS_TESTS" hack.
Numerous optimizations.
|
2012-08-14 12:44:35 +04:00 |
|
Pavel V. Talanov
|
7a22ad099a
|
Fix formatting in some of test data files.
Adapted from https://github.com/develar/kotlin/commit/a9e0a42fb1347fa8e21c86b5a073ef8a7c873da0.
|
2012-08-10 14:06:23 +04:00 |
|
Pavel V. Talanov
|
6300220983
|
Changes to kotlin lib js.
Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
|
2012-08-09 19:25:18 +04:00 |
|
Evgeny Gerashchenko
|
4f68b926fb
|
Fixed RangeTest.
|
2012-08-08 15:37:58 +04:00 |
|
Evgeny Gerashchenko
|
a4031225d0
|
Changed usages of upto/downto in test to rangeTo and downTo, respectively.
#KT-2519 in progress
|
2012-08-08 14:48:04 +04:00 |
|
Evgeny Gerashchenko
|
e14a612699
|
Removed downto cases from JS backend tests (to be restored, see KT-2586)
|
2012-08-08 14:48:04 +04:00 |
|
Pavel V. Talanov
|
0f8113b345
|
Adopt tests for classes and nameclashes from codegen.
|
2012-08-01 16:26:08 +04:00 |
|
Pavel V. Talanov
|
b883bf6ef5
|
Adopt more tests for functions from codegen tests.
Create test for KT-2565.
|
2012-07-31 18:51:13 +04:00 |
|
Pavel V. Talanov
|
0710efdc16
|
Add tests for newly discovered issue with ECMA5 and top level vars in root scope.
|
2012-07-31 18:51:12 +04:00 |
|
Pavel V. Talanov
|
957a494c53
|
Adapt some tests from codegen for k2js translator.
Tests for default arguments.
|
2012-07-31 13:18:25 +04:00 |
|
Pavel V. Talanov
|
49e51220d7
|
Correct equals for tuples.
|
2012-07-31 13:18:24 +04:00 |
|
Pavel V. Talanov
|
e0ff877b47
|
Fix for a bug that caused invalid code generated for calling extension from another extension.
|
2012-07-31 13:18:24 +04:00 |
|
Pavel V. Talanov
|
f37fae6e29
|
KT-2310: js: !! translated incorrectly (syntax ok, but logic not).
#KT-2310 Fixed
|
2012-07-27 18:00:03 +04:00 |
|
Pavel V. Talanov
|
04d9b4685b
|
KT-2177: object literal as initializer value for class/object property — undefined variable generated.
Just test.
#KT-2177 Fixed
|
2012-07-27 17:36:11 +04:00 |
|
Pavel V. Talanov
|
b234294863
|
Better message for long constants.
|
2012-07-27 17:36:11 +04:00 |
|
James Strachan
|
eeb2e024ad
|
added a test case for KT-2507
|
2012-07-25 04:57:10 -04:00 |
|
James Strachan
|
2cf411eaea
|
added a test case for KT-2515
|
2012-07-25 04:05:28 -04:00 |
|
James Strachan
|
6fd3cd0bf0
|
added support for java.io.Closeable as a standard interface
|
2012-07-24 11:28:19 +01:00 |
|
Pavel V. Talanov
|
7de982ba2f
|
Fix for converting negative floating point to integer values.
|
2012-07-23 19:50:47 +04:00 |
|
Pavel V. Talanov
|
3ce9022f6b
|
KT-2342: Type mismatch on Int division.
# KT-2342 Fixed
|
2012-07-23 19:50:47 +04:00 |
|
Pavel V. Talanov
|
39edcda317
|
KT-2227 Call to toString missing when interpolating string literal.
Test only.
#KT-2227
|
2012-07-20 18:57:37 +04:00 |
|
Pavel V. Talanov
|
d3933bcc3f
|
KT-2370: foo.equals(bar) doesn't compile in JS.
Only test.
#KT-2370
|
2012-07-20 18:50:32 +04:00 |
|
Pavel V. Talanov
|
0b4499a4b7
|
For with Int#downto, Int#upto do not iterate on empty ranges.
|
2012-07-20 14:18:41 +04:00 |
|
Pavel V. Talanov
|
8eb0fb31ca
|
Int#downto
|
2012-07-20 14:18:40 +04:00 |
|
Pavel V. Talanov
|
ad94786555
|
Int#upto
|
2012-07-20 14:18:39 +04:00 |
|
James Strachan
|
3ef4ff690c
|
avoid failure on equals() call passing in null/undefined and updated the issues for failing JS unit tests
|
2012-07-20 07:14:20 +01:00 |
|