From 7cf644f064868934fe8dcb46ab150f25fab8e8c8 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Mon, 1 Mar 2021 13:50:17 +0100 Subject: Add ability to suppress obvious functions like equals, toString... (#1758) * Add ability to suppress obvious functions like equals, toString... * Add ability to suppress obvious functions like equals, toString... --- .../src/test/kotlin/transformers/HideTagDocumentableFilterTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/android-documentation/src/test') diff --git a/plugins/android-documentation/src/test/kotlin/transformers/HideTagDocumentableFilterTest.kt b/plugins/android-documentation/src/test/kotlin/transformers/HideTagDocumentableFilterTest.kt index 01a802bf..82375201 100644 --- a/plugins/android-documentation/src/test/kotlin/transformers/HideTagDocumentableFilterTest.kt +++ b/plugins/android-documentation/src/test/kotlin/transformers/HideTagDocumentableFilterTest.kt @@ -30,7 +30,7 @@ class HideTagDocumentableFilterTest : BaseAbstractTest() { |} """.trimIndent(), configuration ) { - documentablesFirstTransformationStep = { modules -> + preMergeDocumentablesTransformationStage = { modules -> val testingClass = modules.flatMap { it.packages }.flatMap { it.classlikes }.single() as DClass assertEquals(0, testingClass.functions.size) } @@ -60,7 +60,7 @@ class HideTagDocumentableFilterTest : BaseAbstractTest() { |} """.trimIndent(), configuration ) { - documentablesFirstTransformationStep = { modules -> + preMergeDocumentablesTransformationStage = { modules -> val classes = modules.flatMap { it.packages }.flatMap { it.classlikes }.map { it.name } assertEquals(listOf("Visible"), classes) } -- cgit