diff options
author | Aurimas Liutikas <aurimas@google.com> | 2020-01-29 11:52:22 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2020-01-29 15:17:28 -0800 |
commit | adf8cd7d913a55cd2b080967e3a6dee7168b1736 (patch) | |
tree | 894976de1ee282275e25a4177fa81995c3773446 /core/src/test/kotlin/format | |
parent | 5291d504c5d5192df860c62564b5f5c1ce741cb6 (diff) | |
download | dokka-adf8cd7d913a55cd2b080967e3a6dee7168b1736.tar.gz |
Start showing visibility modifiers in full method details.
This matches how doclava and koltin html output handles it.
The logic closely matches KotlinLanguageService#renderFunction
Bug: 146661040
Test: Modified test data for DacAsJavaFormatTest to match
the new expectation of having new visibility modifiers in
the method description.
Alsod added a new test to test all method visibilities
Change-Id: Ie2e15fa9f915f20b2b1ff9b72b2e1e55f60d2f17
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/DacAsJavaFormatTest.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/DacAsJavaFormatTest.kt b/core/src/test/kotlin/format/DacAsJavaFormatTest.kt index e47240fda..7c625c9b2 100644 --- a/core/src/test/kotlin/format/DacAsJavaFormatTest.kt +++ b/core/src/test/kotlin/format/DacAsJavaFormatTest.kt @@ -31,4 +31,8 @@ class DacAsJavaFormatTest: DacFormatTestCase() { @Test fun javaDefaultConstructor() { verifyJavaHtmlNode("javaDefaultConstructor") } + + @Test fun javaMethodVisibilities() { + verifyJavaHtmlNode("javaMethodVisibilities") + } }
\ No newline at end of file |