Commit Graph

300 Commits

Author SHA1 Message Date
Ilya Matveev 20ffd6d90b tests: Add test for assertion fail 2017-03-13 16:25:48 +03:00
Ilya Matveev a181b0301e Update README.md and HACKING.md 2017-03-13 15:31:46 +03:00
Ilya Matveev bc074e6d39 tests: Update external tests (1.1.2-dev-393) 2017-03-13 15:31:46 +03:00
Ilya Matveev ac56fccb15 tests: Download test data as a teamcity artifact 2017-03-13 15:31:46 +03:00
Svyatoslav Scherbina a41f575f52 backend/tests: add interop_opengl_teapot 2017-03-13 11:00:33 +07:00
Svyatoslav Scherbina 304a9ebd8e build/tests: support declaring tests to be manually executed 2017-03-13 11:00:33 +07:00
Svyatoslav Scherbina 62e678a37a backend/tests: add inline21 2017-03-10 18:08:47 +07:00
Svyatoslav Scherbina 404be59f62 backend/tests: add missing task for inline20 2017-03-10 18:08:47 +07:00
Ilya Matveev ec52aad146 tests: Update some tests 2017-03-10 11:37:00 +03:00
Svyatoslav Scherbina 9e15873d6c backend/testUtils: add assertTrue and assertFalse 2017-03-10 15:30:18 +07: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
Svyatoslav Scherbina 13bbd7af81 runtime: use exitStatus == 1 if main finished with exception
Also update the corresponding test.
2017-03-10 14:34:10 +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
Igor Chevdar bc0772eab1 Test on link stage. 2017-03-07 20:02:20 +03:00
Igor Chevdar 1a8ce13067 Added tests 2017-03-07 18:35:36 +03:00
Igor Chevdar 8c1c9f5660 Turned off lowering of outer class for inner class constructors.
Constructors of inner classes already have access to their outer class
through its dispatch receiver parameter.
2017-03-06 21:08:56 +03:00
Igor Chevdar 0ff306ad3a Rewrote enum lowering to support usage from other modules.
- Split up enum lowering into two stages: descriptors creation and IR creation.
- Added link stage test.
- Enum.valueOf() uses binary search instead of linear.
2017-03-06 14:35:39 +03:00
Igor Chevdar bf65a78a93 Made bridge methods public.
Added test on usage of a bridge method from different module.
Bridge methods must be public in order use them from other modules.
2017-03-06 14:35:39 +03:00
Svyatoslav Scherbina 2d3879ea0d backend/tests: add more tailrec tests 2017-03-06 17:09:05 +07:00
Svyatoslav Scherbina 8427612d59 backend/tests: add trivial tests for tailrec 2017-03-03 20:45:39 +07:00
Konstantin Anisimov c7e4f0f28f New tests added 2017-03-03 18:30:35 +07:00
Igor Chevdar e2f2e31dc1 Added delegated property through map support + tests. 2017-03-01 14:40:10 +03:00
Igor Chevdar 889b28ee87 Added link test, checking correct object field layout. 2017-03-01 14:40:10 +03:00
Igor Chevdar f534616e19 Added tests. 2017-03-01 14:40:10 +03:00
Svyatoslav Scherbina a85d30215d backend/tests: add interop3 (uses callback) 2017-03-01 16:14:17 +07:00
Nikolay Igotti 3cd4f76397 Add startsWith()/endsWith(). (#281) 2017-02-28 17:03:51 +03:00
Ilya Matveev 00e5e070d7 tests: Add a test for list sorting 2017-02-28 10:59:25 +03:00
Ilya Matveev 1cbfa73f67 tests: Use 'prefix' property in run_external task 2017-02-28 10:49:30 +03:00
Svyatoslav Scherbina 925b1fb0b6 backend/tests: add tests for == with Nothing/Nothing? 2017-02-27 13:16:12 +07:00
Ilya Matveev b6d5dd5a68 backend/tests: Disable coroutines tests 2017-02-22 17:50:06 +03:00
Igor Chevdar 9165d65560 Added tests on interface calls of enum class 2017-02-22 15:37:10 +03:00
Igor Chevdar 174b8ee601 Added parameter 'prefix' to task 'run' in order to run subset of tests 2017-02-22 15:37:10 +03:00
Igor Chevdar bb82109ded Added tests on class delegation 2017-02-22 15:35:48 +03:00
Igor Chevdar 4835aa3e74 Added tests on bridges 2017-02-22 15:35:13 +03:00
Svyatoslav Scherbina 90149063c3 backend/tests: add disabled 'vararg_of_literals' 2017-02-22 11:03:37 +07:00
Ilya Matveev 84cb52afed backend/tests: Add test error number reporting to stdout 2017-02-21 18:56:52 +03:00
Vasily Levchenko e59f3c0805 TEST: goldValue: s/<\(null\)>/\1/g 2017-02-21 14:21:49 +03:00
KonstantinAnisimov ab7c879633 Merge pull request #258 from JetBrains/inline3
Inline3
2017-02-21 17:18:41 +07:00
Svyatoslav Scherbina 4e6ad59d9f backend/tests: improve interop_echo_server code 2017-02-21 16:42:14 +07:00
Konstantin Anisimov bf0fc7ec03 Test excluded using "disable" directive 2017-02-21 16:14:30 +07:00
Konstantin Anisimov 3b5c16076e TESTS: New tests added 2017-02-21 16:12:52 +07:00
Ilya Matveev c68c4d3b6d backend: Use simple DFS during closure building.
Now closure builder can contain includes. Includes
are another builders which closures must be added
to the building one.
Includes are:

For function closure:
	call targets (including constructors)
	callable reference targets

For class:
	all children declarations
	call targets (including constructors)
        callable reference targets

For constructor:
	call and callable reference targets
	delegating constructor call target
	constructing class closure
2017-02-17 15:17:46 +03:00
Ilya Matveev 95a9f65afd backend/tests: Add tests for local function closures 2017-02-17 15:17:46 +03:00
Nikolay Igotti 45bb2fdb8b Add some string operations, refactor runtime. (#249) 2017-02-17 14:31:28 +03:00
Nikolay Igotti 38c6b5e9ad More stdlib: sorting, better Appendable, other minor changes. (#245) 2017-02-16 17:00:37 +03:00
Igor Chevdar c746da3ce4 Bridges (#240)
* - bridges building
- bridges support in vtable and methods table

* FunctionDescriptor.signature fix + some assertions

* tests

* refactoring

* refactoring

* removed debug output

* refactoring

* review fixes

* implemented bridge construction for parameters

* tests

* refactoring

* removed custom box/unbox

* added bridge for extension receiver
2017-02-16 15:26:57 +05:00
Konstantin Anisimov 88a794019a Ascape analysis is disabled 2017-02-16 15:49:04 +07:00
Konstantin Anisimov 86cca4488f Workaround for verified args is removed, test is excluded 2017-02-16 15:49:04 +07:00