unit-tests: Assert library

This commit is contained in:
Ilya Matveev
2017-09-15 11:45:29 +03:00
committed by ilmat192
parent 74fdfa17f0
commit 02fb8d3eb1
9 changed files with 286 additions and 22 deletions
@@ -532,9 +532,9 @@ internal class TestProcessor (val context: KonanBackendContext): FileLoweringPas
})
}
// TODO: Get tests from Kotlin/JVM
// TODO: Support tests in objects
// TODO: Support beforeTest/afterTest for companions.
// TODO: Check beforeTest/afterTest for companions.
private fun createTestSuites(irFile: IrFile, annotationCollector: AnnotationCollector) {
annotationCollector.testClasses.filter {
it.value.functions.any { it.kind == FunctionKind.TEST }