[ObjCExport] Fix 'MustBeDocumented' annotation missing on non value parameters
This commit is contained in:
committed by
Space Team
parent
885a7dcd8f
commit
1440e66519
+15
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user