[ObjCExport] Support naming of nested classes
^KT-65204 Fixed
This commit is contained in:
committed by
Space Team
parent
f1fd84f539
commit
4b6624c920
+15
-5
@@ -70,15 +70,26 @@ class ObjCExportHeaderGeneratorTest(private val generator: HeaderGenerator) {
|
||||
doTest(headersTestDataDir.resolve("sameClassNameInDifferentPackage"))
|
||||
}
|
||||
|
||||
/**
|
||||
* Naming of nested classes: KT-65633
|
||||
*/
|
||||
@Test
|
||||
@TodoAnalysisApi
|
||||
fun `test - nestedClass`() {
|
||||
doTest(headersTestDataDir.resolve("nestedClass"))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `test - nestedClassWithFrameworkName`() {
|
||||
doTest(headersTestDataDir.resolve("nestedClassWithFrameworkName"), Configuration(frameworkName = "Shared"))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `test - nestedGenericClass`() {
|
||||
doTest(headersTestDataDir.resolve("nestedGenericClass"))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `test - nestedInterface`() {
|
||||
doTest(headersTestDataDir.resolve("nestedInterface"))
|
||||
}
|
||||
|
||||
@Test
|
||||
@TodoAnalysisApi
|
||||
fun `test - samePropertyAndFunctionName`() {
|
||||
@@ -97,7 +108,6 @@ class ObjCExportHeaderGeneratorTest(private val generator: HeaderGenerator) {
|
||||
}
|
||||
|
||||
@Test
|
||||
@TodoAnalysisApi
|
||||
fun `test - classWithObjCNameAnnotation`() {
|
||||
doTest(headersTestDataDir.resolve("classWithObjCNameAnnotation"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user