Zalim Bashorov
51724e4b0d
Drop some obsolete TODOs in MapJsTest
2014-12-26 14:20:21 +03:00
Zalim Bashorov
7579471859
JS stdlib: fixed Set::equals.
2014-12-23 20:01:21 +03:00
Ilya Ryzhenkov
4cd2ba1e30
Fix Array<out> variance in stdlib #KT-6482 Fixed
2014-12-23 20:00:01 +03:00
Andrey Breslav
5a7aa65d53
Failing tests temporarily disabled
2014-12-23 15:18:47 +03:00
Andrey Breslav
6728a384e4
KT-4881 Annotation resolved to package should be compile-time error
...
#KT-4881 Fixed
2014-12-23 15:18:47 +03:00
Ilya Ryzhenkov
f4b96a0a1a
Add mapIndexed() function for common case withIndex().map{} #KT-3153 Fixed
2014-12-16 17:33:27 +03:00
Ilya Ryzhenkov
846014b37f
Add missing sum() on Streams.
2014-12-16 17:33:27 +03:00
Ilya Ryzhenkov
053586f481
Make lazy version of assert accept function with Any return value, #KT-6459 Fixed
2014-12-16 17:33:26 +03:00
Ilya Ryzhenkov
be717f48f8
Stop using deprecated APIs
2014-12-16 17:33:24 +03:00
Ilya Ryzhenkov
fbbb7eced1
Collect deprecated code, remove unused private ImmutableArrayList
2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov
31fb24d390
Sort collections/map APIs, improve empty implementations.
2014-12-16 17:33:21 +03:00
Ilya Ryzhenkov
fa0542b801
Clean size/length/first/head/empty properties and functions.
2014-12-16 17:33:21 +03:00
Ilya Ryzhenkov
828ba385ea
Cleanup ordering, improve API
2014-12-16 17:33:20 +03:00
Ilya Ryzhenkov
e890c2ee0d
Deprecate withIndicies(), introduce optimized and fixed withIndex and forEachIndexed()
2014-12-16 17:33:20 +03:00
Zalim Bashorov
eae86e035f
Minor in stdlib: move String.trimLeading and String.trimTrailing to common place.
2014-11-18 15:57:50 +03:00
Denis Zharkov
e768b4e285
stdlib: Introduced filterIsInstance version
...
without class-literal as a parameter
2014-11-13 20:56:10 +03:00
Denis Zharkov
da5164acd8
stdlib: Introduced Array<T>?.orEmpty() in JVM-stdlib
2014-11-13 20:56:10 +03:00
Denis Mekhanikov
80493aa4e6
stdlib: improve tests
2014-11-07 17:14:57 +03:00
Zalim Bashorov
624f5c4c34
Minor: moved test for check the iterating over String to common place.
...
#KT-3617 Fixed
2014-11-07 16:30:50 +03:00
Ilya Ryzhenkov
8fc550f3b1
Fix split invocation in js tests.
2014-11-06 17:13:17 +03:00
Ilya Ryzhenkov
2e154b73de
Support componentN for arrays and lists #KT-5538 Fixed
2014-11-06 16:45:57 +03:00
Ilya Ryzhenkov
24ee79aa2d
Replace ArrayList<Any>() with stdlib_emptyListClass() and fix test. #KT-6013 Fixed
2014-11-06 16:45:56 +03:00
Nikolay Krasko
8d86951a3b
Refactoring: junit.framework.Assert -> org.junit.Assert
2014-10-27 12:47:43 +04:00
Michael Nedzelsky
edac2dd3bd
JS backend: tests for KT-2468
2014-10-14 16:45:54 +04:00
Zalim Bashorov
f202ad9f98
Stdlib: run all stdlib tests with JS backend(as possible).
2014-10-13 21:25:56 +04:00
Michael Nedzelsky
2db1d128a0
JS backend: add ArrayList(Collection) into javautilCode.kt
2014-10-07 08:37:01 +04:00
Ilya Ryzhenkov
3e4cc87c87
Add more tests on streams and move relevant code from old iterators tests.
2014-09-26 01:33:51 +04:00
Ilya Ryzhenkov
c074b4317e
Cleanup concurrent
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
3ab1901f06
Rename Serializable test file
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
7b77229638
Cleanup Serializable test
2014-09-24 17:39:47 +04:00
Ilya Ryzhenkov
f2b9b370e1
Clean Dom and Dom tests.
2014-09-24 17:39:46 +04:00
Natalia Ukhorskaya
655682ac97
Move regression tests from stdlib to compiler
...
#KT-5770 FIxed
2014-09-17 13:59:52 +04:00
Zalim Bashorov
30208d5532
Minor: drop semicolon in package declaration everywhere.
2014-09-16 19:32:37 +04:00
Evgeny Gerashchenko
90b065e82b
+= tests fix
2014-07-29 12:06:36 +04:00
Denis Zharkov
48ca1bd453
Assignment operations test fix:
...
type infered for these vals are MutableIterator, but there is no plus (returning MutableIterator)
nor plusAssign operator for them, so I casted them explicitly to Iterator
2014-07-28 22:00:15 +04:00
Alexander Udalov
a79398fa00
Don't load Object as a supertype for Java classes
...
#KT-4890 In Progress
#KT-5002 Fixed
2014-07-25 21:19:37 +04:00
Ilya Ryzhenkov
3980664049
Tests for map functions.
2014-07-16 21:35:12 +04:00
Zalim Bashorov
14ab3c4de1
JS stdlib: allowed use null as key and value in Map implementations. Added tests for using null in Set and Map implementations.
2014-07-16 21:35:11 +04:00
Zalim Bashorov
9b081fd254
Minor: assert -> assertTrue
2014-07-16 21:35:10 +04:00
Ilya Ryzhenkov
4ea62071b5
Split tests into platform-independent and JVM.
2014-07-16 21:35:09 +04:00
Ilya Ryzhenkov
a9da7cfeea
Use LinkedHashMap everywhere to preserve order.
2014-07-16 21:35:09 +04:00
Ilya Ryzhenkov
cb17f0c635
Remove map iteration from ListSpecificTest - JS fails, but it is irrelevant to test.
2014-07-16 21:35:08 +04:00
Ilya Ryzhenkov
3491c88793
Recover test for mutable List variable and move it to ListSpecificTests
2014-07-16 21:35:07 +04:00
Ilya Ryzhenkov
295ce5fdf8
Unify substringBefore/After and related functions, so that they always return receiver in case of missing delimiter by default.
2014-07-16 21:10:32 +04:00
Ilya Ryzhenkov
2b6fcc0b7c
singleOrNull methods should never throw exception #KT-5424 Fixed
2014-07-16 21:10:32 +04:00
Zalim Bashorov
28228d23b1
JS stdlib: added missed constructors for HashSet, LinkedHashSet, HashMap and LinkedHashMap.
2014-06-26 16:33:14 +04:00
Ilya Ryzhenkov
ca7c3d7999
Set operations (distinct, union, intersect, subtract)
2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov
65da4cb2fb
Generalize zip(..) to merge(..) { t1, t2 -> ... }, add merge for maps.
2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov
f94b79fac3
Minor. Update reference to issue.
2014-06-24 23:49:15 +04:00
Ilya Ryzhenkov
4e4d0b448c
Minor. Cleanup test.
2014-06-24 23:49:15 +04:00