[ObjCExport] Fix 'MustBeDocumented' annotation missing on non value parameters

This commit is contained in:
Sebastian Sellmair
2023-12-07 13:05:12 +01:00
committed by Space Team
parent 885a7dcd8f
commit 1440e66519
10 changed files with 139 additions and 4 deletions
@@ -115,6 +115,21 @@ class ObjCExportHeaderGeneratorTest(val generator: HeaderGenerator) {
doTest(headersTestDataDir.resolve("kdocWithBlockTags"))
}
@Test
fun `test - functionWithMustBeDocumentedAnnotation`() {
doTest(headersTestDataDir.resolve("functionWithMustBeDocumentedAnnotation"))
}
@Test
fun `test - parameterWithMustBeDocumentedAnnotation`() {
doTest(headersTestDataDir.resolve("parameterWithMustBeDocumentedAnnotation"))
}
@Test
fun `test - receiverWithMustBeDocumentedAnnotation`() {
doTest(headersTestDataDir.resolve("receiverWithMustBeDocumentedAnnotation"))
}
fun interface HeaderGenerator {
fun generateHeaders(root: File): String
}