Igor Chevdar
242e1da191
Removed redundant main from tests
2017-06-07 12:29:22 +03:00
Igor Chevdar
48f5962645
Fixed test
2017-05-24 22:53:18 +03:00
Igor Chevdar
7f012fabc2
Ignored/enabled/fixed some external tests
2017-05-23 11:44:09 +03:00
Igor Chevdar
daa302e233
Enabled some tests on coroutines
2017-05-18 11:56:32 +03:00
Igor Chevdar
e15878bfe9
Fresh box tests
2017-05-15 15:24:58 +03: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
4179b5ddd6
tests: Disable tests that assume that NaN is greater than any value
2017-05-03 16:59:59 +07:00
Ilya Matveev
55c3b79786
tests: Update box tests (1053418:id)
2017-04-27 17:27:39 +07: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
95034225a8
stdlib: Throw NoSuchElementException from array iterators
2017-04-21 16:23:27 +07:00
Ilya Matveev
7878c8fc1b
tests: Remove mistakenly added binaries
2017-04-19 18:27:32 +07:00
Ilya Matveev
7bf9669f57
stdlib: Add clear and remove methods in AbstractMutableCollection
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
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
Ilya Matveev
bc074e6d39
tests: Update external tests (1.1.2-dev-393)
2017-03-13 15:31:46 +03:00
Ilya Matveev
ec52aad146
tests: Update some tests
2017-03-10 11:37:00 +03:00
Svyatoslav Scherbina
06ba63af06
backend/tests/external: Mute tests with java collection inheritance
2017-03-10 15:03:43 +07:00
Svyatoslav Scherbina
7f72c1c037
backend/tests/external: Mute tests depending on Math
2017-03-10 15:03:43 +07:00
Ilya Matveev
853a40b230
tests: Mute tests with '::class'
2017-03-09 18:01:19 +03:00
Ilya Matveev
60bcc50340
tests: Mute tests with java collection inheritance
2017-03-09 18:01:19 +03:00
Ilya Matveev
b6d5dd5a68
backend/tests: Disable coroutines tests
2017-02-22 17:50:06 +03:00
Ilya Matveev
061a8a0b55
Remove main function from some external tests
2017-02-14 11:52:16 +03:00
Igor Chevdar
a856e16d2f
Local declarations and initializers fixes ( #222 )
...
* captured values are stored in corresponding fields before call to super constructor
* preserving the order of initializers
* tests
* refactoring
* - test fix
- workaround of IR bug
* refactoring
* review fix
2017-02-08 14:52:26 +05:00
Igor Chevdar
2f9bde4482
Local objects ( #215 )
...
* bug fix
* bug fix with nested inner classes
* - fixed FixMeInner
- support of inner classes in local classes
- support of object expressions in initializers
* comments
* merged modification
* - review fixes
- tests
* review fixes
* review fixes
2017-02-03 19:41:34 +05:00
Ilya Matveev
7285c57cd8
backend/tests: Generate external test tasks in config stage
...
We generate tasks for external tests group during Gradle's configuration
phase instead of using separate task (regenerate_external_tests)
2017-01-25 17:24:36 +03:00
Vasily Levchenko
99a962df42
TEST:EXTERNAL: run task added
2017-01-25 17:24:36 +03:00
Vasily Levchenko
7cbaa7d6ca
EXTERNAL:TEST: regenerated
2017-01-25 17:24:36 +03:00
Vasily Levchenko
b9b44ebeb4
test: fixed task daily declaration
2017-01-25 17:24:36 +03:00
Nikolay Igotti
c6a4ec2ff4
Add enumeration support. ( #128 )
...
* Add enumeration support.
* Enum classes lowering.
* merge fix
* merge fix
* used arrayOf from irModule
* changed lowering quant from body to file
* refactoring
* review fixes
* lowering for GET_OBJECT in enums
* enabled tests
* added tests
* moved tests to separate dir
* renamed test files
* moved phase up
* review fixes
* reformat
2017-01-25 14:39:36 +05:00
Ilya Matveev
7f911b8085
backend/tests: Ignore binaryOp/compareWithBoxed... tests
2017-01-23 10:33:06 +03:00
Ilya Matveev
48122c8a03
backend/tests: Add test result reporting to run_external task.
...
+ regenerate external tests.
2017-01-20 14:24:35 +03:00
Ilya Matveev
8ec33334a4
backend/tests: Enable some tests in the binaryOp group
2017-01-20 14:24:26 +03:00
Ilya Matveev
2ef49da2fe
backend/tests: Ignore all tests with IGNORE_BACKEND: JS directive
2017-01-20 14:04:04 +03:00
Ilya Matveev
d24f966600
backend/tests: Regenerated external test tasks
2017-01-20 14:04:04 +03:00
Ilya Matveev
ee58c7ee5f
backend/tests: Added autogenerated tasks for external tests
2017-01-20 14:04:04 +03:00
Ilya Matveev
fd44baf2c0
backend/tests: Infrastructure for external test running
2017-01-20 14:04:04 +03:00
Ilya Matveev
1b553ebfaf
backend/tests: Add blackbox tests from Kotlin JVM
...
Added tests from testData/codegen/box directory. There are blackbox tests
in other directories and they are to be added.
2017-01-20 14:04:04 +03:00