Commit Graph

9 Commits

Author SHA1 Message Date
Ilya Gorbunov f91c01919b kotlin.test: 'fail' returns Nothing, 'assertFails' returns Throwable (not nullable).
Js tests now fail at the first failed assertion.
#KT-10289 Fixed
#KT-10369 Fixed
2016-01-14 06:03:40 +03:00
Denis Zharkov e401a98a2b Replace native with @native in js testData 2015-09-18 10:14:34 +03:00
Ilya Gorbunov ea896bd217 JsTestsAsserter implement Asserter. 2015-09-08 10:26:24 +03:00
Ilya Gorbunov 44f7b6d699 Unit testing API: better mapping on JUnit, proper formatting assertion details when message is not specified
#KT-8929 Fixed
Sensible default message for assertion methods.
#KT-8314 Fixed
Provide assertFailsWith also with KClass and reified type argument.
2015-09-08 10:26:07 +03:00
Zalim Bashorov 1b2aa205ec Introduce assertNotEquals 2014-10-13 21:25:55 +04:00
Zalim Bashorov 9290c3aad7 JS tests: HACK for use JsTestsAsserter in JS tests 2014-10-06 23:18:51 +04:00
Zalim Bashorov 507bfe49aa Minor: "js.noImpl" -> "noImpl" 2014-09-16 19:34:57 +04:00
Zalim Bashorov 838c384672 "js" -> "kotlin.js" 2014-09-16 19:32:37 +04:00
Zalim Bashorov 442215e829 JS backend: testFiles -> testData 2014-03-11 20:04:00 +04:00