diff options
author | Szymon Świstun <sswistun@virtuslab.com> | 2020-03-02 11:07:47 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2020-03-04 13:19:17 +0100 |
commit | 9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d (patch) | |
tree | 4c6c0f730c6480f824d6e92949c77940929241a1 /plugins/base/src/test/kotlin/model/ClassesTest.kt | |
parent | ac590359174995a16a116a96dbb9df5dafa042f5 (diff) | |
download | dokka-9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d.tar.gz dokka-9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d.tar.bz2 dokka-9b7a59cdc93a6dcd9ab0623f6f476abf92d9427d.zip |
Add information about modifiers to Documentables' extra properties
Diffstat (limited to 'plugins/base/src/test/kotlin/model/ClassesTest.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/model/ClassesTest.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/model/ClassesTest.kt b/plugins/base/src/test/kotlin/model/ClassesTest.kt index 2332df61..18288442 100644 --- a/plugins/base/src/test/kotlin/model/ClassesTest.kt +++ b/plugins/base/src/test/kotlin/model/ClassesTest.kt @@ -151,7 +151,9 @@ class ClassesTest : AbstractModelTest("/src/main/kotlin/classes/Test.kt", "class with((this / "classes" / "Klass").cast<Class>()) { name equals "Klass" visibility.values allEquals Visibilities.PUBLIC - // TODO data modifier + with(extra[AdditionalModifiers.AdditionalKey].assertNotNull("Extras")) { + content.find{it == ExtraModifiers.DATA}.assertNotNull("data modifier") + } } } } |