Igor Chevdar
48f5962645
Fixed test
2017-05-24 22:53:18 +03:00
Igor Chevdar
6116f24abc
Added test on callable reference to property
2017-05-24 13:56:08 +03:00
Igor Chevdar
7f012fabc2
Ignored/enabled/fixed some external tests
2017-05-23 11:44:09 +03:00
Alexander Gorshenev
85ecce2a9e
Don't use a golden value for a test that don;t run.
2017-05-19 13:52:35 +03:00
Alexander Gorshenev
2283a941b7
Simple sanity check of cross compilation build and compiler execution.
2017-05-19 13:52:35 +03:00
Igor Chevdar
daa302e233
Enabled some tests on coroutines
2017-05-18 11:56:32 +03:00
Alexander Gorshenev
2a246a9a3a
Some tests for inline members.
2017-05-17 22:04:32 +03:00
Igor Chevdar
8a789a9ac4
Added test on function overriding return type with Unit
2017-05-16 16:30:29 +03:00
Igor Chevdar
e15878bfe9
Fresh box tests
2017-05-15 15:24:58 +03:00
Igor Chevdar
39d1b8956d
Test on abstract bridge
2017-05-10 15:44:22 +03:00
SvyatoslavScherbina
88e3c1d05c
Implement parsing additional interop header directly from .def file ( #557 )
2017-05-09 19:48:19 +03:00
Igor Chevdar
e600c93dfa
Enabled tests with finally blocks on coroutines + added tests
2017-05-04 20:44:36 +05:00
Ilya Matveev
717f9ebc74
tests: Don't assume that NaN > any double in coercion test
2017-05-03 16:59:59 +07:00
Ilya Matveev
74bd3256f0
runtime: Correct Float.MIN_VALUE
2017-05-03 16:59:59 +07:00
Ilya Matveev
4179b5ddd6
tests: Disable tests that assume that NaN is greater than any value
2017-05-03 16:59:59 +07:00
Svyatoslav Scherbina
c222eb8f04
Fix conversion between P1.(...)->R and (P1, ...)->R when inlining
2017-05-02 22:18:18 +03:00
Svyatoslav Scherbina
a8ab837035
Add failing test 'inline24'
2017-05-02 22:18:18 +03:00
Igor Chevdar
6aa3493de2
Added some tests on coroutines
2017-04-28 13:45:46 +03:00
Igor Chevdar
8a5659456c
Fixes bug in local declarations lowering + test
2017-04-28 13:45:46 +03:00
Ilya Matveev
55c3b79786
tests: Update box tests (1053418:id)
2017-04-27 17:27:39 +07:00
Svyatoslav Scherbina
8a0b494c2e
Apply interop filtering
...
Also actualize .def files
2017-04-26 20:07:06 +03:00
Ilya Matveev
4a16087a21
stdlib: Add indentation extensions for strings
2017-04-26 17:30:29 +07:00
Ilya Matveev
0553b119b2
stdlib: Fix number parsing
2017-04-26 17:30:29 +07:00
Ilya Matveev
8df15dca5a
tests: Update box tests (1050294:id)
2017-04-25 17:46:02 +07:00
Ilya Matveev
569ceff5f9
tests: Don't remove stdlib tests when update external ones
2017-04-25 17:46:02 +07:00
Svyatoslav Scherbina
ea2d7cbf01
Handle lambda argument of staticCFunction
2017-04-21 14:03:36 +03:00
Ilya Matveev
0cb7e5ba72
stdlib: StringBuilder: insert "null" if the argument is null
...
This patch changes the behaviour of StringBuilder.append and
StringBuilder.insert methods if the argument is null in accordance
with Kotlin JVM.
2017-04-21 16:23:27 +07:00
Ilya Matveev
89270c8108
stdlib: Implement toString with radix in accordance with Kotlin JVM
...
Old Int.toString(radix: Int) and Long.toString(radix: Long)
implementations didn't add sign for negative values. E.g.
-1.toString(16) == "0xff..ff" while JVM returns "-1" in such case.
This patch fixes this behaviour and allow us to use any radix between
2 and 36 as JVM does.
2017-04-21 16:23:27 +07:00
Ilya Matveev
95034225a8
stdlib: Throw NoSuchElementException from array iterators
2017-04-21 16:23:27 +07:00
Ilya Matveev
5eabda0ba4
tests: Move StringBuilder tests into single file
2017-04-21 16:23:27 +07:00
Ilya Matveev
9607033c11
stdlib: Add insert methods in StringBuilder
2017-04-21 16:23:27 +07:00
Ilya Matveev
f9c6b6e6e4
stdlib: Add StringBuilder.reverse method
2017-04-21 16:23:27 +07:00
Ilya Matveev
7878c8fc1b
tests: Remove mistakenly added binaries
2017-04-19 18:27:32 +07:00
Alexander Gorshenev
5654f78cae
Enable deserializer phase.
2017-04-18 13:54:37 +03:00
Ilya Matveev
7bf9669f57
stdlib: Add clear and remove methods in AbstractMutableCollection
2017-04-18 12:48:07 +07:00
Ilya Matveev
321386d95e
stdlib: Improve ArrayList.removeAll implementation.
...
This patch replaces ArrayList.removeAll implementation with a
faster one. It also adds the AbstractMutableCollection class
containing default implementations for addAll, removeAll and
retainAll methods and fixes tests to check if removeAll removes
all occurrences found or not.
2017-04-18 12:48:07 +07:00
Ilya Matveev
64f1cea134
tests: Do not rely on Kotlin JVM impl in sort tests
...
Some sort tests had an order of equal objects in a sorted list
hardcoded. It caused failures because an approach to placing
equal objects differs in Kotlin JVM and Kotlin Native sort
implementations. With this patch we check if all objects in a list
are sorted istead of checking an exact order of them.
2017-04-18 12:48:07 +07:00
Ilya Matveev
7dd27dd16d
stdlib: Provide Collection.toArray() implementation
...
It also modifies the test for this method to make it to not rely on
Kotlin JVM implementation.
2017-04-18 12:48:07 +07:00
Ilya Matveev
ec64fd0477
stdlib: Make toIndex exclusive in sortArrayWith method
...
This patch makes toIndex parameter exclusive in sortArrayWith method
in order to make this method corresponding to the other ones (e.g.
copyOfRange, Array.sortWith extension etc).
It also improves the external sortBy test in order to use it with
different sort algorithms.
2017-04-13 18:27:08 +07:00
Ilya Matveev
bd27d68906
stdlib: Fix contentDeepToString
2017-04-13 18:27:08 +07:00
Svyatoslav Scherbina
2a3450047c
Add interop test for returning struct by value
2017-04-10 17:28:25 +03:00
Alexander Gorshenev
49674d2b1b
Some mangling disambiguation tests.
2017-04-07 13:47:52 +03:00
Ilya Matveev
a69def4254
tests: Generate test tasks for stdlib tests
...
This patch updates the test execution harness to work with the
new stdlib tests. It allows one to execute stdlib tests as
a part of external testing (./gradlew run_external) or separately
(./gradlew run_external -Pprefix=external_stdlib).
2017-04-07 17:21:11 +07:00
Ilya Matveev
85827b4880
tests: Copy stdlib tests from Kotlin/JVM
...
This patch copies Kotlin/JVM stdlib tests (libraries/stdlib/test)
excepting ones with explicit java dependencies. It also transforms
the tests to use them as box-tests.
2017-04-07 17:21:11 +07:00
Vasily Levchenko
461b977cae
TEST: build slack teamcity properties for testing:
...
- NEVER commit if konan-reporter-token contains real token.
2017-04-05 14:27:16 +03:00
Svyatoslav Scherbina
50c3be3fc2
Simplify working with values in interop
...
* Access primitive interop array elements and struct fields without `.value`
* Simplify C*Var* interop types names
2017-03-31 11:44:07 +03:00
Alexander Gorshenev
9fd555471a
A couple of konanc driver tests.
2017-03-31 11:07:01 +03:00
Nikolay Igotti
0cbd34086e
Added JB copyright ( #417 )
2017-03-30 09:51:58 +03:00
Igor Chevdar
8e38e28f89
Added tests
2017-03-29 15:58:36 +03:00
SvyatoslavScherbina
c1d9dc1cbb
Replace CArray by CPointer ( #406 )
...
Also do some cleanup.
2017-03-28 17:44:08 +03:00